Skip to content

Commit

Permalink
fix(joy_controller): joy_type is only set from the param.yaml file
Browse files Browse the repository at this point in the history
Signed-off-by: M. Fatih Cırıt <[email protected]>
  • Loading branch information
M. Fatih Cırıt committed Feb 26, 2024
1 parent b86a00d commit cfdee85
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion control/joy_controller/config/joy_controller.param.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**:
ros__parameters:
joy_type: $(var joy_type)
joy_type: DS4 # DS4, G29, P65, XBOX
update_rate: 10.0
accel_ratio: 3.0
brake_ratio: 5.0
Expand Down
1 change: 0 additions & 1 deletion control/joy_controller/launch/joy_controller.launch.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<launch>
<arg name="joy_type" default="DS4" description="options: DS4, G29, P65, XBOX"/>
<arg name="external_cmd_source" default="remote" description="options: local, remote"/>

<arg name="input_joy" default="/joy"/>
Expand Down

0 comments on commit cfdee85

Please sign in to comment.