-
Notifications
You must be signed in to change notification settings - Fork 168
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
All the links are updated in the README file to point to the correct API documentation and repository for Foxy. Additionally, the CLI argument formatting was fixed to adapt with the ROS2 syntax where arguments are passed using the format "joy_config:=xbox360" instead of using square brackets "[joy_config:=xbox360]"
- Loading branch information
1 parent
b294396
commit f9dac8e
Showing
2 changed files
with
96 additions
and
51 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
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,45 @@ | ||
# DualShock 4 controller | ||
# Check Dualshock 4 mapping table for corresponding number for each button | ||
# Deadman is enable button | ||
/joy_teleop: | ||
ros__parameters: | ||
slow: | ||
type: topic | ||
topic_name: cmd_vel | ||
interface_type: geometry_msgs/msg/Twist | ||
deadman_buttons: [6] # L2 as Button | ||
axis_mappings: | ||
angular-z: | ||
axis: 0 | ||
offset: 0 | ||
scale: 1.2 | ||
linear-x: | ||
axis: 1 | ||
offset: 0 | ||
scale: 0.2 | ||
fast: | ||
type: topic | ||
topic_name: cmd_vel | ||
interface_type: geometry_msgs/msg/Twist | ||
deadman_buttons: [7] # R2 as Button | ||
axis_mappings: | ||
angular-z: | ||
axis: 0 | ||
offset: 0 | ||
scale: 2.4 | ||
linear-x: | ||
axis: 1 | ||
offset: 0 | ||
scale: 0.4 | ||
dock: | ||
type: topic | ||
topic_name: dock | ||
interface_type: std_msgs/msg/Empty | ||
deadman_buttons: [8] # Share Button | ||
message_value: [] | ||
undock: | ||
type: topic | ||
topic_name: undock | ||
interface_type: std_msgs/msg/Empty | ||
deadman_buttons: [9] # Option Button | ||
message_value: [] |