-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from a-ichikura/add-codesigned-robot-demos
Update README.md
- Loading branch information
Showing
4 changed files
with
90 additions
and
2 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
17 changes: 17 additions & 0 deletions
17
jsk_2023_12_codesign/config/dualshock3_teleop_twist_joy.yaml
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,17 @@ | ||
axis_linear: | ||
x: 1 | ||
y: 0 | ||
scale_linear: | ||
x: 0.5 | ||
y: 0.3 | ||
scale_linear_turbo: | ||
x: 1.2 | ||
y: 0.3 | ||
axis_angular: | ||
yaw: 3 | ||
scale_angular: | ||
yaw: 0.5 | ||
scale_angular_turbo: | ||
yaw: 0.7 | ||
enable_button: 4 | ||
enable_turbo_button: 7 |
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
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,24 @@ | ||
<launch> | ||
|
||
<arg name="joy_topic" default="/joy" /> | ||
<arg name="cmd_vel_topic" default="/diff_drive_controller/cmd_vel" /> | ||
|
||
<arg name="teleop_twist_joy_param_file" default="$(find jsk_2023_12_codesign)/config/dualshock3_teleop_twist_joy.yaml" /> | ||
|
||
<node name="joy_node" | ||
pkg="joy" type="joy_node" | ||
respawn="true"> | ||
<remap from="joy" to="joy"/> | ||
<param name="dev" value="/dev/input/js0" /> | ||
<param name="deadzone" value="0.1" /> | ||
<param name="autorepeat_rate" value="10" /> | ||
</node> | ||
|
||
<node name="teleop_twist_joy" | ||
pkg="teleop_twist_joy" type="teleop_node" > | ||
<remap from="joy" to="$(arg joy_topic)" /> | ||
<remap from="cmd_vel" to="$(arg cmd_vel_topic)" /> | ||
<rosparam command="load" file="$(arg teleop_twist_joy_param_file)" /> | ||
</node> | ||
|
||
</launch> |