Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add gamepad support. #1

Merged
merged 1 commit into from
Oct 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion rcdt_panther/config/ros_controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ diff_drive_controller:
wheel_separation: 0.697
wheel_radius: 0.1825

use_stamped_vel: false
use_stamped_vel: true
6 changes: 6 additions & 0 deletions rcdt_panther/launch/panther.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ def launch_setup(context: LaunchContext) -> None:
launch_arguments={"rviz_frame": "odom"}.items(),
)

gamepad = Node(
package="rcdt_utilities",
executable="gamepad_node.py",
)

skip = LaunchDescriptionEntity()
return [
SetParameter(name="use_sim_time", value=True),
Expand All @@ -53,6 +58,7 @@ def launch_setup(context: LaunchContext) -> None:
joint_state_broadcaster,
controllers,
rviz if run_rviz_arg.value(context) else skip,
gamepad,
]


Expand Down
Loading