paparazzi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Paparazzi-devel] Possible FTDI Fixes (Felix)


From: Felix Ruess
Subject: Re: [Paparazzi-devel] Possible FTDI Fixes (Felix)
Date: Fri, 19 Feb 2010 00:41:22 +0100

Hi Stephen,

I just commited some fixes for the joystick. You don't need
sw/ground_segment/joystick.
Your joystick should automatically be mapped to /dev/input/js0
Although which axes are mapped to which input channel is still
hardcoded. So you could have inverted axes or different assignments.
It works for me.

But just as a disclaimer: The sim is not meant to be used as a flight
trainer or anything like that. Joystick for the sim is not really of
any practical use.

Cheers, Felix

On Mon, Jan 18, 2010 at 10:22 AM, Stephen L Hulme <address@hidden> wrote:
> Hi Felix
>
> I gave it my best shot with out success.
>
> I compiled "~/sw ground_segment/joystick"
>
> Placed "xbox_booz__nav.xml" in "~/conf"
>
> Executed "./sw/ground_ segment/joystick/main_stick"
>
> The terminal output confirmed  "/dev/input/event6"  and then 5 after another
> attempt
>
> I addded this to your original instruction ie
>
> LD_LIBRARY_PATH=/opt/jsbsim/lib ./var/BOOZ2_A1/sim/simsitl --js_dev
> /dev/input/js0
>
> Then executed:  LD_LIBRARY_PATH=/opt/jsbsim/lib ./var/BOOZ2_A1/sim/simsitl
> --fg_host 127.0.0.1 --js_dev /dev/input/event6
>
> The Quadrotor lost control in flight gear, the screen went blank and the
> "./sw/ground_segment/tmtc/server"
> terminal window printed multiple long/lat /utm error reports.
>
> Am I most probably attempting something way beyond my capability or is there
> an error that can be addressed?
>
>
> Regards.
> Stephen
>
>
>
> Stephen L Hulme wrote, on Tue, 12 Jan 2010 07:21:55 +1300
>
>
> Dear Felix
>
> Thank you, I will give it a shot.
>
> Regards
>
> Stephen
>
> Felix Ruess wrote, on  Mon, 11 Jan 2010 09:56:51 +0100
>
> Hi Stephen,
>
> I currently don't have a joystick here (and never tested it before),
> but do give it a try:
> Just start the sim with the additional joystick option, something like this:
>
> LD_LIBRARY_PATH=/opt/jsbsim/lib ./var/BOOZ2_A1/sim/simsitl --js_dev
> /dev/input/js0
>
> Depending on your joystick it might be mapped to some different device
> (check with dmesg) or have a look in /dev/input/by-id/<your-joystick>
>
> Regards, Felix
>
> On Mon, Jan 11, 2010 at 4:31 AM, Stephen L Hulme <address@hidden> wrote:
>> Dear Felix
>>
>> Thank you very much for your response.
>>
>> Unfortunately I am no wiser after much file searching
>> and premature balding.
>>
>> Is there any chance of a 'HOW TO', much like the one
>> already posted in the Booz section of the WikiÂfor the
>> --js_dev <joystick device>?
>>
>> Regards
>>
>> Stephen
>>
>>
>> Felix Ruess, wrote on Mon, 11 Jan 2010 00:04:41 +0100
>>
>> Hi Stephen,
>>
>> currently the booz sim does not use the flight plans but rc_scripts as
>> control inputs. That is convenient for testing control and filters.
>> You can also control it by joystick using the --js_dev <joystick
>> device> option of the simulator.
>>
>> Cheers, Felix
>>
>> On Sun, Jan 10, 2010 at 8:59 AM, Stephen L Hulme <address@hidden> wrote:
>>> Dear Felix
>>>
>>> I have no problems compiling: "make AIRCRAFT=BOOZ2_A1 clean_ac sim" as
>>> detailed here:
>>> http://paparazzi.enac.fr/wiki/Booz&#xC2; and following the instructions
>>> to
>>> view
>>> the tuning changes in flightgear.
>>>
>>> Noticeably, the instruction set works well when the flight plan for
>>> /sw/conf/conf.xml/~BOOZ2_A1Ãis dummy.xml.
>>>
>>> And yet I now see the default flight plan setting is booz_test_2.xml for
>>> AC:
>>> BOOZ2_A1.
>>>
>>> Can I run thisÃflight plan conf set up in flightgear with a joystick
>>> ifÃcertain instruction parameters are changed?
>>>
>>> Regards
>>>
>>> Stephen
>>>
>>>
>>>
>>>
>>> Felix Ruess wrote: Sat, 9 Jan 2010 17:36:58 +0100
>>>
>>> Hi Mohammed,
>>>
>>> seems like the signal definitions are not found. I included signal.h
>>> in nps_main.c wich was missing (strangely it still worked for me).
>>> Please do a svn update to get the latest code and let me know if it
>>> works.
>>>
>>> Cheers, Felix
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
> Paparazzi-devel mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]