Skip to content

Commit

Permalink
add config
Browse files Browse the repository at this point in the history
Signed-off-by: Jakub Delicat <[email protected]>
  • Loading branch information
delihus committed Jul 23, 2024
1 parent adf863b commit 120b714
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions joy2twist/config/joy2twist_stamped.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/**:
ros__parameters:
cmd_vel.use_stamped: true

linear_velocity_factor:
fast: 1.0
regular: 0.5
slow: 0.2

angular_velocity_factor:
fast: 1.0
regular: 0.5
slow: 0.2

# This button mapping should be adjusted to the specific controller
# The following map is suited for Logitech F710
button_index_map:
axis:
angular_z: 2 # Right joystick
linear_x: 1 # Left joystick
linear_y: 0 # Left joystick
dead_man_switch: 4 # LB
fast_mode: 7 # RT
slow_mode: 5 # RB

0 comments on commit 120b714

Please sign in to comment.