mirror of
https://github.com/bjoernellens1/cps_rmp220_support.git
synced 2025-01-18 15:46:59 +00:00
update
This commit is contained in:
parent
701e0d420f
commit
b14081ff85
@ -2,6 +2,7 @@
|
||||
<!-- Launch the joy node to read input from the Xbox controller -->
|
||||
<node name="joy_node" pkg="joy" type="joy_node" output="screen">
|
||||
<param name="dev" value="/dev/input/js0" />
|
||||
<param name="autorepeat_rate" value="50.0" />
|
||||
</node>
|
||||
|
||||
<!-- Launch the teleop_twist_joy node to map the joystick inputs to robot movement -->
|
||||
@ -12,6 +13,8 @@
|
||||
<param name="axis_angular" value="0" /> <!-- Left stick left/right for angular velocity -->
|
||||
<param name="scale_angular" value="1.0" /> <!-- Scale factor for angular velocity -->
|
||||
<param name="scale_linear" value="0.5" /> <!-- Scale factor for linear velocity -->
|
||||
|
||||
<!-- Remap /cmd_vel to /joy_vel -->
|
||||
<remap from="/cmd_vel" to="/joy_vel" />
|
||||
</node>
|
||||
|
||||
</launch>
|
||||
|
Loading…
Reference in New Issue
Block a user