Hi Bill,

why not using aileron, elevator and throttle input for your heli fdm? I 
think there is no need to rename them to *collective.

Which xml file is used for your joystick can be found in the property 
tree: /input/joysticks/js[n]/source

Maik

Bill Galbraith schrieb am 25.01.2007 16:30:
> I have started working on what might one day be a JSBSim helicopter 
> model. I would like to redefine the joystick axes for just this model 
> as following:
>  
>     axis 0 - lateral-collective, not aileron
>     axis 1 - longitudinal-collective, not elevator
>     axis 2 - collective, not throttle
>  
> I don't want to do this redefinition in the \Input\Joysticks\*.xml 
> files for all the possible joysticks because it would destroy the 
> ability to fly fixed-wing aircraft, so I'd like to do it locally in 
> the helicopter configuration. My attempts to slog through this have 
> failed, and a scan of the archives didn't show anything promising, so 
> I'm asking for a little help.
>  
> I've tried something that looks like this in my GenHel-set.xml file:
>
>     <input>
>        <axis n="0">
>           <desc>Lateral Cyclic</desc>
>           <binding>
>                <command>property-scale</command>
>                <property>/controls/flight/cyclic-lat</property>
>                <power type="double">2</power>
>           </binding>
>        </axis>
>      
>     <!-- ...other inputs removed -->
>      
>     </input>
>
> This doesn't work, and the joystick still changes the aileron value. 
> What am I doing wrong, and am I actually allowed to do this, or do I 
> have to live with the definitions that come from the joystick xml files?
>  
> Thanks,
> Bill
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ------------------------------------------------------------------------
>
> _______________________________________________
> Flightgear-users mailing list
> Flightgear-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/flightgear-users
>   


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Flightgear-users mailing list
Flightgear-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-users

Reply via email to