Skip to content

Commit

Permalink
extras: launch: Add teleop launch script.
Browse files Browse the repository at this point in the history
  • Loading branch information
vooon committed Aug 29, 2014
1 parent 1528644 commit 289fa6c
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
16 changes: 16 additions & 0 deletions mavros_extras/launch/f710_joy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Joystic configuration for Logitech F710 gamepad
# TODO: check scale, button map
axes_map:
roll: 3
pitch: 4
yaw: 0
throttle: 1
axes_scale:
poll: 1.0

This comment has been minimized.

Copy link
@TSC21

TSC21 Aug 29, 2014

Member

should be "roll"

pitch: 1.0
yaw: 1.0
throttle: 1.0
button_map:
takeoff: 0
land: 1
enable: 2
16 changes: 16 additions & 0 deletions mavros_extras/launch/teleop.launch
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<launch>
<!-- vim: ft=roslaunch -->
<!-- mavteleop example launch script -->

<!-- <include file="$(find mavros)/launch/px4.launch" /> -->

<arg name="teleop_args" default="-att" />

<node pkg="joy" type="joy_node" name="joy" required="True">
<param name="autorepeat_rate" value="5" /> <!-- Minimal update rate, Hz -->
</node>

<node pkg="mavros_extras" type="mavteleop" name="mavteleop" args="$(arg teleop_args)" required="True" output="screen">
<rosparam command="load" file="$(find mavros_extras)/launch/f710_joy.yaml" />
</node>
</launch>

0 comments on commit 289fa6c

Please sign in to comment.