Skip to content

Commit

Permalink
Merge pull request #1 from alliander-opensource/refactor_launch_files
Browse files Browse the repository at this point in the history
Add gamepad support.
  • Loading branch information
Jelmerdw authored Oct 4, 2024
2 parents e9757cd + 64b36dd commit 78d0983
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
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

0 comments on commit 78d0983

Please sign in to comment.