mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-09 14:18:00 +08:00
cf7c8b3797
* updated distance measurement script. - automatically shows which ids are available - filter out big jumps - plot_summary.py shows distance over time with recording regions * Adding config file for radiomaster pocket joystick ble/usb (#108) * added radiomaster tx16s xml (#123) Co-authored-by: Wiebe van der Knaap <wkvanderknaap@tudelft.nl> * Fix joystick device argument parsed as single token in control panel sessions (#118) The `-d 0` joystick device flag was passed as a single `flag` attribute, causing the joystick program to receive it as one token instead of two separate arguments. This prevented the device number from being recognized, breaking joystick input in the Simulation - Gazebo and Flight UDP sessions. Fixed by splitting into `<arg flag="-d" constant="0"/>`. Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com> * fixed names of variables and resolution bugs, added documentation (#113) Co-authored-by: macoman <macoman@student.tudelft.nl> * Update Gazebo Models: Gate, Plants, Logo * Added some (math) tests (#114) * added a test for paparazzi's math librarie's int sqrt function and int quaternion normalization function * Keep essential tests Reduced the number of tests planned from 9 to 6 and removed tests for int32_sqrt. --------- Co-authored-by: LSSchef <l.s.scheffer@student.tudelft.nl> Co-authored-by: AniketBehura <aniketbehura1023@gmail.com> Co-authored-by: diaa <D.abbasi@student.tudelft.nl> * Feat: readme update for submodule installation (#115) * feat: readme update for submodule installation * Rename README to README.md --------- Co-authored-by: Christophe De Wagter <dewagter@gmail.com> --------- Co-authored-by: robinferede <robinferede@tudelft.nl> Co-authored-by: Robin Euger <robin.euger@gmail.com> Co-authored-by: Wiebe van der Knaap <wkvanderknaap@tudelft.nl> Co-authored-by: EAbbenhuis <113993394+EAbbenhuis@users.noreply.github.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com> Co-authored-by: Mihai Coman <127535163+miki133@users.noreply.github.com> Co-authored-by: macoman <macoman@student.tudelft.nl> Co-authored-by: Swayam Kuckreja <110131770+swayamkuckreja@users.noreply.github.com> Co-authored-by: LSSchef <l.s.scheffer@student.tudelft.nl> Co-authored-by: AniketBehura <aniketbehura1023@gmail.com> Co-authored-by: diaa <D.abbasi@student.tudelft.nl> Co-authored-by: Douwe-Rijs <Douwe@standofl.nl>
42 lines
1.6 KiB
XML
42 lines
1.6 KiB
XML
<!--
|
|
RadioMaster pocket Transmitter - Used as Bluetooth Joystick
|
|
|
|
The RadioMaster Pocket is a versatile 32CH radio transmitter with Bluetooth capability.
|
|
This configuration assumes no modification were done with jstest-gtk
|
|
|
|
In this file we will use it as a 6CH joystick to control a UAS.
|
|
- The left stick vertical axis will be used for throttle
|
|
- The right stick horizontal axis will be used for roll
|
|
- The right stick vertical axis will be used for pitch
|
|
- The left stick horizontal axis will be used for yaw
|
|
- The VRA axis will be used for arming (left top switch)
|
|
- The VRC axis will be used for mode switch (right top switch)
|
|
|
|
If you want to fly your UAS via the joystick add this to your session:
|
|
|
|
/home/username/paparazzi/sw/ground_segment/joystick/input2ivy -d 0 -ac yourairframe_name radiomaster_pocket_ble.xml
|
|
|
|
Where -d 0 must be -d 1 if you have a laptop with accelerometer installed
|
|
|
|
The basis of steering is the standard signs of aerospace convention
|
|
-->
|
|
|
|
<joystick>
|
|
<input>
|
|
<axis index="4" name="LeftStickHorizontal"/>
|
|
<axis index="3" name="LeftStickVertical"/>
|
|
<axis index="0" name="RightStickHorizontal"/>
|
|
<axis index="1" name="RightStickVertical"/>
|
|
<!-- VRA is SA and VRC is SC switch -->
|
|
<axis index="2" name="VRA"/>
|
|
<axis index="6" name="VRC"/>
|
|
</input>
|
|
|
|
<!-- Follow the order of rc_datalink.h -->
|
|
<messages period="0.05">
|
|
<message class="datalink" name="RC_UP" send_always="true">
|
|
<field name="channels" value="RightStickHorizontal;-RightStickVertical;LeftStickHorizontal;Fit(LeftStickVertical,-127,127,0,127);VRC;VRA"/>
|
|
</message>
|
|
</messages>
|
|
|
|
</joystick> |