[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Paparazzi-devel] Joystick question
From: |
Chris |
Subject: |
[Paparazzi-devel] Joystick question |
Date: |
Sat, 05 Nov 2011 11:57:05 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.23) Gecko/20110921 Thunderbird/3.1.15 |
Hi.
Although i had it working in the past it seems that i am getting old and
forget things.
I am trying to make the joystick control the plane in a new installation
and although everything else is working fine and i can change blocks and
variables from the joystick buttons, the axis message seems dead (RC_4CH).
I cannot control pitch, roll etc it almost looks like the message is not
transmitted or processed.
Running ivyprobe shows that the Joystick is sending the message but i
can't understand if this is
passed to the simulator.
Any ideas of what i am doing wrong?
(i promise to write instruction in the wiki about joystick usage)
Below is part of my airframe showing that datalink is selected as radio
control type
<target name="ap" board="twog_1.0"/>
<target name="sim" board="pc"/>
<define name="GPS_LED" value="2"/>
<define name="AGR_CLIMB"/>
<define name="LOITER_TRIM"/>
<define name="WIND_INFO"/>
<define name="WIND_INFO_RET"/>
<define name="STRONG_WIND"/>
<define name="ALT_KALMAN"/>
<define name="USE_GROUNDSPEED_CONTROL"/>
<define name="USE_ADC_3"/>
<define name="USE_I2C0"/>
<!-- <define name="USE_MAGNETOMETER" /> -->
<!--
<configure name="PERIODIC_FREQUENCY" value="120"/>
<configure name="AHRS_PROPAGATE_FREQUENCY" value="100"/>
<configure name="AHRS_CORRECT_FREQUENCY" value="100"/>
<define name="AHRS_TRIGGERED_ATTITUDE_LOOP" />
-->
<configure name="AHRS_ALIGNER_LED" value="3"/>
<configure name="CPU_LED" value="3"/>
<subsystem name="radio_control" type="datalink"/>
<subsystem name="telemetry" type="transparent"> <configure
name="MODEM_BAUD" value="B115200"/> </subsystem>
<subsystem name="control" />
<subsystem name="gps" type="ublox"> <configure name="GPS_BAUD"
value="B38400"/> </subsystem>
<subsystem name="navigation" />
<subsystem name="imu" type="ppzuav"/>
<subsystem name="ahrs" type="float_dcm"/>
</firmware>
Also a part of ivyprobe's output:
address@hidden:~/paparazzi/sw/ground_segment/joystick$ ivyprobe
'(.*)'
Broadcasting on network 127.255.255.255, port 2010
Paparazzi server connected from localhost
Paparazzi sim 1 connected from localhost
Paparazzi server sent 'READY'
Paparazzi joystick connected from localhost
Paparazzi sim 1 sent 'READY'
Paparazzi GCS connected from localhost
Paparazzi joystick sent 'READY'
Paparazzi GCS sent 'READY'
Paparazzi joystick sent 'input2ivy RC_4CH 1 0 0 0 0 0'
Paparazzi joystick sent 'input2ivy RC_4CH 1 0 0 0 0 0'
Paparazzi joystick sent 'input2ivy RC_4CH 1 0 0 0 0 0'
Paparazzi joystick sent 'input2ivy RC_4CH 1 0 0 0 0 0'
Paparazzi sim 1 sent '1 NAVIGATION 2 5 0.500000 0.500000 0.000000
0.000000 0 0 '
Paparazzi sim 1 sent '1 CAM 0 90 0 0 0 0 '
Paparazzi joystick sent 'input2ivy RC_4CH 1 0 0 0 0 0'
Paparazzi joystick sent 'input2ivy RC_4CH 1 0 0 0 0 0'
Paparazzi sim 1 sent '1 DL_VALUE 9 80.000000 '
Paparazzi joystick sent 'input2ivy RC_4CH 1 0 0 0 0 0'
Paparazzi joystick sent 'input2ivy RC_4CH 1 0 0 0 0 0'
Paparazzi sim 1 sent '1 ESTIMATOR 142.029404 0.032247 '
Paparazzi sim 1 sent '1 MAXSONAR 0.000000 '
Paparazzi server sent 'ground FLIGHT_PARAM 1 3.000007 0.000000 0.000000
38.024073 23.303594 0.000000 89.9 142.029404 0.032247 0.014587
1320486606.027351 553821959'
Paparazzi server sent 'ground NAV_STATUS 1 2 5 1 0 38.024077 23.303599
0.000000 192.000000 0.000000 0.000000'
Paparazzi server sent 'ground ENGINE_STATUS 1 0.0 0.0 0.0 0.000000
12.000000 0.000000 0'
Paparazzi server sent 'ground AP_STATUS 1 AUTO2 MANUAL WAYPOINT MANUAL
3D OFF 0 UNKNOWN'
Paparazzi server sent 'ground INFLIGH_CALIB 1 OFF 0.000000 0.000000'
Paparazzi server sent 'ground FLY_BY_WIRE 1 NONE AUTO 0'
Paparazzi server sent 'ground SVSINFO 1 592
0,8,9,10,11,12,13,0,0,0,0,0,0,0,0,0, 0,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0,
0,1,2,3,4,5,6,0,0,0,0,0,0,0,0,0, 0,41,43,44,45,46,47,0,0,0,0,0,0,0,0,0,
0,66,21,0,22,68,89,0,0,0,0,0,0,0,0,0,
0,50,101,152,202,253,304,0,0,0,0,0,0,0,0,0,
12,12,11,10,9,8,6,12,12,12,12,12,12,12,12,12,'
Paparazzi server sent 'ground SURVEY_STATUS 1 4.200000 4.200000
4.200000 4.200000'
Paparazzi server sent 'ground DL_VALUES 1
42.000000,0.000000,2.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,80.000000,'
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Paparazzi-devel] Joystick question,
Chris <=