-
Notifications
You must be signed in to change notification settings - Fork 986
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
extras: launch: Add teleop launch script.
- Loading branch information
Showing
2 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
Sorry, something went wrong. |
||
pitch: 1.0 | ||
yaw: 1.0 | ||
throttle: 1.0 | ||
button_map: | ||
takeoff: 0 | ||
land: 1 | ||
enable: 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
should be "roll"