Bell UH-1

Everything in connection with developing aircraft for FlightGear
User avatar
IAHM-COL
Posts: 6455
Joined: Sat Sep 12, 2015 3:43 pm
Location: Homey, NV (KXTA) - U.S.A
Contact:

Re: Bell UH-1

Postby IAHM-COL » Fri Nov 20, 2020 7:59 pm

bomber wrote:If that was all we had to do....

We have to stop the joystick from operating the actual throttle as well.


Not what I've said

My idea is:
1Let the joystick/kboard operate the throttle
Connect throttle to a new inverted parameter; that is inversed throtle; aka collective
https://raw.githubusercontent.com/IAHM-COL/gpg-pubkey/master/pubkey.asc

R.M.S.
If we gave everybody in the World free software today, but we failed to teach them about the four freedoms, five years from now, would they still have it?

bomber
Posts: 1379
Joined: Mon Nov 30, 2015 3:40 pm

Re: Bell UH-1

Postby bomber » Fri Nov 20, 2020 8:12 pm

So no hotas collective ?
"If anyone ever tells you anything about an aeroplane which is so bloody complicated you can't understand it, take it from me - it's all balls" - R J Mitchell

bomber
Posts: 1379
Joined: Mon Nov 30, 2015 3:40 pm

Re: Bell UH-1

Postby bomber » Fri Nov 20, 2020 9:13 pm

so the only way I've managed to get my joystick working is by copying the joystick file into the -set.xml

Code: Select all

    <input include="keyboard-T4T.xml">
      <joysticks>
         <js>
   
          <name>Saitek X52</name>
          <name>Saitek X52 Flight Controller USB</name>
          <name>Saitek X52 Flight Controller</name>
          <name>Saitek X52 Flight Control Stick </name>
          <name>Saitek X52 Flight Stick (USB)</name>
          <name>Saitek X52 Flight Control System</name>
          <name>Saitek Saitek X52</name>
          <name>Saitek Saitek X52 Flight Stick (USB)</name>
          <name>Saitek Saitek X52 Flight Control Stick</name>
          <name>Saitek Saitek X52 Flight Control System</name>

         <axis>   <!-- 0/0/0 -->
           <desc>Aileron</desc>
           <number>
            <unix>0</unix>
            <mac>0</mac>
            <windows>0</windows>
           </number>
           <binding>
            <command>property-scale</command>
            <property>/controls/flight/aileron</property>
           </binding>
         </axis>

         <axis>  <!-- 1/1/1 -->
           <desc>Elevator</desc>
           <number>
            <unix>1</unix>
            <mac>1</mac>
            <windows>1</windows>
           </number>
           <binding>
            <command>property-scale</command>
            <property>/controls/flight/elevator</property>
            <factor type="double">-1.0</factor>
           </binding>
         </axis>

         <axis>  <!-- 2/2/2 -->
           <desc>Throttle</desc>
           <number>
            <unix>2</unix>
            <mac>2</mac>
            <windows>2</windows>
           </number>
            <binding>
               <command>property-scale</command>
               <property>fdm/jsbsim/fcs/collective-cmd-norm</property>
            </binding>
         </axis>   
   .      
   .      
   .
   .
   .
   .
   .
            </js>
      </joysticks>   
      </input>
         


What I can tell you is that with a joystick it's harder to fly... I've got to work the trim out

Simon
"If anyone ever tells you anything about an aeroplane which is so bloody complicated you can't understand it, take it from me - it's all balls" - R J Mitchell

bomber
Posts: 1379
Joined: Mon Nov 30, 2015 3:40 pm

Re: Bell UH-1

Postby bomber » Sun Nov 22, 2020 9:45 pm

Trims almost worked out....

Can I take it you don't think it's a good solution to have a plane specific joystick.
"If anyone ever tells you anything about an aeroplane which is so bloody complicated you can't understand it, take it from me - it's all balls" - R J Mitchell

User avatar
IAHM-COL
Posts: 6455
Joined: Sat Sep 12, 2015 3:43 pm
Location: Homey, NV (KXTA) - U.S.A
Contact:

Re: Bell UH-1

Postby IAHM-COL » Sun Nov 22, 2020 10:22 pm

not exactly.

If its a workable solution, where you can add modifiers that apply to joystick, and work well regardless of what joystick setting any user has (such as your original intention) -- I think that would work

But if ever user has to modify the set-xml to add their own joystick spec
That's less scalable solution.

I had not even tried how my joystick behaves with your specification
https://raw.githubusercontent.com/IAHM-COL/gpg-pubkey/master/pubkey.asc

R.M.S.
If we gave everybody in the World free software today, but we failed to teach them about the four freedoms, five years from now, would they still have it?

bomber
Posts: 1379
Joined: Mon Nov 30, 2015 3:40 pm

Re: Bell UH-1

Postby bomber » Sun Nov 22, 2020 11:12 pm

I think with just the two of us, scalability isn't going to be too high a hurdle
"If anyone ever tells you anything about an aeroplane which is so bloody complicated you can't understand it, take it from me - it's all balls" - R J Mitchell

User avatar
IAHM-COL
Posts: 6455
Joined: Sat Sep 12, 2015 3:43 pm
Location: Homey, NV (KXTA) - U.S.A
Contact:

Re: Bell UH-1

Postby IAHM-COL » Mon Nov 23, 2020 1:27 am

LOL
You made me laugh.
The way you put it, right.

However, the idea of posting on FGMEMBERS-NONGPL is, at least theoretically, to expand the user-base

I'll test the Joystick set tomorrow and let you know
IH
https://raw.githubusercontent.com/IAHM-COL/gpg-pubkey/master/pubkey.asc

R.M.S.
If we gave everybody in the World free software today, but we failed to teach them about the four freedoms, five years from now, would they still have it?

User avatar
IAHM-COL
Posts: 6455
Joined: Sat Sep 12, 2015 3:43 pm
Location: Homey, NV (KXTA) - U.S.A
Contact:

Re: Bell UH-1

Postby IAHM-COL » Mon Nov 23, 2020 5:43 am

bomber wrote:so the only way I've managed to get my joystick working is by copying the joystick file into the -set.xml

Code: Select all

    <input include="keyboard-T4T.xml">
      <joysticks>
         <js>
   ETC
            </js>
      </joysticks>   
      </input>
         




I dont know if you've pasted the whole js spec here, but it works for me on all axis, except collective. I have no control on it whatsoevr.
https://raw.githubusercontent.com/IAHM-COL/gpg-pubkey/master/pubkey.asc

R.M.S.
If we gave everybody in the World free software today, but we failed to teach them about the four freedoms, five years from now, would they still have it?

bomber
Posts: 1379
Joined: Mon Nov 30, 2015 3:40 pm

Re: Bell UH-1

Postby bomber » Mon Nov 23, 2020 12:40 pm

No the js code was just an example of where and how I placed the saitek js code that I pulled out of the folder data/input/joystick/saitek

You need to add it all, so as to keep your present joystick configurations but modify axis 2 as below.

<axis> <!-- 2/2/2 -->
<desc>Throttle</desc>
<number>
<unix>2</unix>
<mac>2</mac>
<windows>2</windows>
</number>
<binding>
<command>property-scale</command>
<property>fdm/jsbsim/fcs/collective-cmd-norm</property>
</binding>
</axis>
"If anyone ever tells you anything about an aeroplane which is so bloody complicated you can't understand it, take it from me - it's all balls" - R J Mitchell

User avatar
IAHM-COL
Posts: 6455
Joined: Sat Sep 12, 2015 3:43 pm
Location: Homey, NV (KXTA) - U.S.A
Contact:

Re: Bell UH-1

Postby IAHM-COL » Mon Nov 23, 2020 4:50 pm

Hi @bomber

This strategy did not work for me
I did:

1. Try using all the SaitekX52 spec. No collective on the joy. [stick]
2. Try using all of my joystick spec. No collective on the Joy. [stick]
https://raw.githubusercontent.com/IAHM-COL/gpg-pubkey/master/pubkey.asc

R.M.S.
If we gave everybody in the World free software today, but we failed to teach them about the four freedoms, five years from now, would they still have it?


Return to “Aircraft Development”

Who is online

Users browsing this forum: No registered users and 124 guests