This is what I´ve written in the RC-Joystick.xml file:


<?xml version="1.0"?>

<!--
************************************************************************
* Bindings for RC-Joystick .
*
*
* Axis 0:                         ailerons
* Axis 1:                         elevator
* Axis 2:                         rudder
* Axis 3:                         throttle
* Axis 4:                         -
* Axes 5:                         -
*
* Todos los botones inactivos ...
*
* In game Name:                   Action:             Button name on 
Joystick:    Value:
* Button 0 (trigger):             all brakes                                 
      0001
* Button 1:                       view-cylce                                 
      0002
* Button 2:                       elevator trim up                           
      0004
* Button 3:                       elevator trim down                         
      0008
* Button 4:                       flaps up            Button B               
      0020
* Button 5:                       flap down           Button A               
      0010
* Button 6:                       left brake only     Button C               
      0040
* Button 7:                       right brake only    Button D               
      0080
* Button 8(Unix)/9(Win):          gear toggle         Shift Button           
      0100(unix), 0200(Win)
************************************************************************

-->

<PropertyList>

<name>RC-Joystick</name>


<axis n="5">
  <desc>Flap</desc>
  <binding>
   <command>property-scale</command>
   <property>/controls/flight/flap</property>
   <factor type="double">1.</factor>
  </binding>
</axis>


<axis n="3">
  <desc>Aileron</desc>
  <binding>
   <command>property-scale</command>
   <property>/controls/flight/aileron</property>
   <factor type="double">1.</factor>
  </binding>
</axis>

<axis n="1">
  <desc>Elevator</desc>
  <binding>
   <command>property-scale</command>
   <property>/controls/flight/elevator</property>
   <factor type="double">1.</factor>
  </binding>
</axis>

<axis>
  <desc>Rudder</desc>
  <number>
   <unix>2</unix>
   <mac>2</mac>
   <windows>0</windows>
  </number>
  <binding>
   <command>property-scale</command>
   <property>/controls/flight/rudder</property>
   <offset type="double">0.0</offset>
   <factor type="double">1.</factor>
  </binding>
</axis>

<axis>
  <desc>Throttle</desc>
  <number>
   <unix>3</unix>
   <mac>3</mac>
   <windows>2</windows>
  </number>
  <binding>
   <command>nasal</command>
   <factor type="double">1.</factor>
   <script>controls.throttleAxis()</script>
  </binding>
</axis>


<button n="2">
  <desc>Elevator trim up</desc>
  <repeatable type="bool">true</repeatable>
  <binding>
   <command>property-adjust</command>
   <property>/controls/flight/elevator-trim</property>
   <step type="double">0.00</step>
  </binding>
</button>

<button n="3">
  <desc>Elevator trim down</desc>
  <repeatable type="bool">true</repeatable>
  <binding>
   <command>property-adjust</command>
   <property>/controls/flight/elevator-trim</property>
   <step type="double">-0.00</step>
  </binding>
</button>


</PropertyList>

and when I chek it when the js_demo.exe, it responds. But when I run FG and 
then I check the JSB.out file, i can see that the flaps don´t work and don´t 
respond correctly.

Do you know what´s the problem with my model?

Thanks.
María.





>From: "Jon S. Berndt" <[EMAIL PROTECTED]>
>Reply-To: FlightGear user discussions 
><[email protected]>
>To: "FlightGear user discussions" <[email protected]>
>Subject: Re: [Flightgear-users] RC FLAPS.
>Date: Tue, 8 Aug 2006 08:22:46 -0500
>
>How do they respond? What do you want them to do?
>
>Jon
>
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Behalf Of
> > Maria Vega Ramirez
> > Sent: Tuesday, August 08, 2006 6:57 AM
> > To: [EMAIL PROTECTED];
> > [EMAIL PROTECTED];
> > [email protected]
> > Subject: [Flightgear-users] RC FLAPS.
> >
> >
> > Hi,
> > I´m trying to fly my jsb uav model with a RC, but I don´t know exactly 
>how
> > to introduce the Flaps in order they  response correctly.
> > Can anybody help me please?
> >
> > Thanks in advance for your help.
> >
> > _________________________________________________________________
> > Moda para esta temporada. Ponte al día de todas las tendencias.
> > http://www.msn.es/Mujer/moda/default.asp
> >
> >
> > 
>-------------------------------------------------------------------------
> > 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
> > [email protected]
> > 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
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/flightgear-users

_________________________________________________________________
Moda para esta temporada. Ponte al día de todas las tendencias. 
http://www.msn.es/Mujer/moda/default.asp


-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-users

Reply via email to