ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hey Jeff,

In my experience, you should use the code shown in the turotial Writing a Teleoperation Node for a Linux-Supported Joystick.

It creates a very handy joystick teleop system. You can easily associate on axis with one velocity command and set its output range directly from the launch file:

<launch>
...
 <!-- Axes -->
  <param name="axis_linear" value="1" type="int"/>
  <param name="axis_angular" value="0" type="int"/>
  <param name="scale_linear" value="2" type="double"/>
  <param name="scale_angular" value="2" type="double"/>

  <node pkg="turtle_teleop" type="turtle_teleop_joy" name="teleop"/>

</launch>

Raph

Hey Jeff,

In my experience, you should use the code shown in the turotial Writing a Teleoperation Node for a Linux-Supported Joystick.

It creates a very handy joystick teleop system. You can easily associate on one axis with one velocity command and set its output range directly from the launch file:

<launch>
...
 <!-- Axes -->
  <param name="axis_linear" value="1" type="int"/>
  <param name="axis_angular" value="0" type="int"/>
  <param name="scale_linear" value="2" type="double"/>
  <param name="scale_angular" value="2" type="double"/>

  <node pkg="turtle_teleop" type="turtle_teleop_joy" name="teleop"/>

</launch>

Raph

Hey Jeff,

In my experience, you should use the code shown in the turotial Writing a Teleoperation Node for a Linux-Supported Joystick.

It creates a very handy joystick teleop system. You can easily associate one axis with one velocity command type and set its output range directly from the launch file:

<launch>
...
 <!-- Axes -->
  <param name="axis_linear" value="1" type="int"/>
  <param name="axis_angular" value="0" type="int"/>
  <param name="scale_linear" value="2" type="double"/>
  <param name="scale_angular" value="2" type="double"/>

  <node pkg="turtle_teleop" type="turtle_teleop_joy" name="teleop"/>

</launch>

Raph

Hey Jeff,

In my experience, you should use the code shown in the turotial Writing a Teleoperation Node for a Linux-Supported Joystick.

It creates a very handy joystick teleop system. You can easily associate one axis with one velocity command type and set its output range directly from the launch file:

<launch>
...
 <!-- Axes -->
  <param name="axis_linear" value="1" type="int"/>
  <param name="axis_angular" value="0" type="int"/>
  <param name="scale_linear" value="2" type="double"/>
  <param name="scale_angular" value="2" type="double"/>

  <node pkg="turtle_teleop" type="turtle_teleop_joy" name="teleop"/>

</launch>

Still, as Chad said, you need to make the node output a cmd_vel twist message.

Raph