Only released in EOL distros:
Allows keyboard/joystick control of any robot by means of geometry_msgs::Twist messages
- Maintainer status: maintained
- Maintainer: v01d <v01d AT todo DOT todo>
- License: TODO
- Source: git https://github.com/lrse/ros-universal-teleop.git (branch: 0.1.0)
DOCUMENTATION IN PROGRESS
This package allows you to control any robot that accepts geometry_msgs::Twist messages (usually, in a cmd_vel topic). It can use either (or both) keyboard and joystick as input. Besides controlling the robot, the input sources generate events (universal_teleop/Event) which are user-defined text-based commands.
While this node allows you to tele-operate a robot, it is intended to be used together with other nodes that autonomously control the robot. The universal_teleop node is designed so that, by default, it will not control the robot unless specified. This is done by mapping a keyboard key or joystick button to a special "override" event. When this key/button is pressed, the universal_teleop node will then start sending geometry_msgs::Twist messages to the robot. At the same time, this "override" event should be received by node that controls the robot autonomously so that it can stop controlling the robot.
Keyboard/joystick mappings and linear/angular velocity scales can be configured by means of standard ROS parameters. Configuration can be simplified by writing all values directly in YAML in a separate file. Please check the supplied .launch and .yml files.
universal_teleopSubscribes to input sources and generates event and control messages
Subscribed Topicsjoy (sensor_msgs/Joy)
- button and axis messages used for generating events
- key-presses used for generating events
Published Topicsrobot/cmd_vel (geometry_msgs/Twist)
- velocity commands sent to robot when "override" is enabled
- events generated when a key/button is pressed/de-pressed
- control commands (joystick axis-motions)