Wiki

  Show EOL distros: 

cob_apps: cob_2dnav | cob_2dslam | cob_arm_navigation | cob_bringup | cob_component_test | cob_dashboard | cob_generic_states | cob_mmcontroller | cob_script_server | cob_simpledrive | cob_simpletrajectories | cob_tactiletools | cob_teleop | cob_webportal

Package Summary

This Package enables remote controll of Care-O-bot via a joystick or keyboard. Currently tray, torso, arm and base are supported.

cob_command_tools: cob_command_gui | cob_dashboard | cob_interactive_teleop | cob_script_server | cob_teleop

Package Summary

This Package enables remote controll of Care-O-bot via a joystick or keyboard. Currently tray, torso, arm and base are supported.

cob_command_tools: cob_command_gui | cob_dashboard | cob_interactive_teleop | cob_script_server | cob_teleop

Package Summary

This Package enables remote controll of Care-O-bot via a joystick or keyboard. Currently tray, torso, arm and base are supported.

cob_command_tools: cob_command_gui | cob_dashboard | cob_interactive_teleop | cob_script_server | cob_teleop

Package Summary

This Package enables remote controll of Care-O-bot via a joystick or keyboard. Currently tray, torso, arm and base are supported.

cob_command_tools: cob_command_gui | cob_dashboard | cob_interactive_teleop | cob_script_server | cob_teleop

Package Summary

This Package enables remote controll of Care-O-bot via a joystick or keyboard. Currently tray, torso, arm and base are supported.

cob_command_tools: cob_command_gui | cob_dashboard | cob_helper_tools | cob_interactive_teleop | cob_monitoring | cob_script_server | cob_teleop

Package Summary

Teleop node

cob_command_tools: cob_command_gui | cob_dashboard | cob_helper_tools | cob_interactive_teleop | cob_monitoring | cob_script_server | cob_teleop

Package Summary

Teleop node

cob_command_tools: cob_command_gui | cob_dashboard | cob_helper_tools | cob_interactive_teleop | cob_monitoring | cob_script_server | cob_teleop

Package Summary

Teleop node

cob_command_tools: cob_command_gui | cob_dashboard | cob_helper_tools | cob_monitoring | cob_script_server | cob_teleop

Package Summary

Teleop node

Hardware Requirements

This package uses a joystick or keyboard for teleoperation of Care-O-bot. To use this package you need either a real Care-O-bot or a simulated one (see cob_gazebo).

ROS API

The cob_teleop package provides both, a configurable node for teleoperation by joystick or by keyboard.

cob_teleop

The cob_teleop node takes in sensor_msgs/Joy messages and send direct commands to the hardware.

Subscribed Topics

joy (sensor_msgs/Joy) /joint_states (sensor_msgs/JointState)

Published Topics

arm_controller/command (trajectory_msgs/JointTrajectory) torso_controller/command (trajectory_msgs/JointTrajectory) tray_controller/command (trajectory_msgs/JointTrajectory) base_controller/command (geometry_msgs/Twist)

Parameters

~run_factor (float, default: 1.5) ~lower_neck_button (int, default: 6) ~upper_neck_button (int, default: 4) ~tray_button (int, default: 3) ~arm_joint12_button (int, default: 0) ~arm_joint34_button (int, default: 1) ~arm_joint56_button (int, default: 2) ~arm_joint7_button (int, default: 3) ~deadman_button (int, default: 5) ~run_button (int, default: 7) ~axis_vx (int, default: 1) ~axis_vy (int, default: 0) ~axis_vth (int, default: 2) ~lower_tilt_step (float, default: 0.05) ~lower_pan_step (float, default: 0.05) ~upper_tilt_step (float, default: 0.075) ~upper_pan_step (float, default: 0.075) ~tray_step (float, default: 0.1) ~arm_left_right_step (float, default: 0.1) ~arm_up_down_step (float, default: 0.1) ~max_vx (float, default: 0.3) ~max_vy (float, default: 0.2) ~max_vth (float, default: 0.3) ~max_ax (float, default: 0.5) ~max_ay (float, default: 0.5) ~max_ath (float, default: 0.5)

Usage/Examples

Starting teleoperation node

For starting the teleoperation with joystick

roslaunch cob_bringup teleop.launch

For including the teleoperation in your overall launch file use

<include file="$(find cob_bringup)/tools/teleop.launch" />

If you haven't got joystick you can move the base of the robot using the keyboard:

roslaunch cob_teleop teleop_keyboard.launch

Move components

To be able to use the joystick the deadman_button has to be pressed all the time, as soon as the button is released a stop will be send to all hardware components. Have a look at the following image to see which buttons command which components. teleop.png

For moving the base: Hold the deadman button and use the base rotation and translation axis to move the base.

For moving the torso: Hold the deadman button and the upper or lower neck button, then use the up_down or left_right axis to move the torso.

For moving the tray: Hold the deadman button and the tray button, then use the up_down axis to move the tray.

For moving the arm: Hold the deadman button and one of the arm buttons, then use the up_down or left_right axis to move the selected arm joints.

Parameter file

A sample parameter file could look like this

# common params
run_factor: 2.0

# buttons
lower_neck_button: 6
upper_neck_button: 4
tray_button: 3
arm_joint12_button: 0
arm_joint34_button: 1
arm_joint56_button: 2
arm_joint7_button: 3
deadman_button: 5
run_button: 7

# axes
axis_vx: 1
axis_vy: 0
axis_vth: 2
up_down: 5 #tray--up/down; tilt--front/back, here we just name up_down
left_right: 4 #pan--left/right

# velocities in rad/sec, m/sec
lower_tilt_step: 0.05
lower_pan_step: 0.05
upper_tilt_step: 0.075
upper_pan_step: 0.075
tray_step: 0.15
arm_left_right_step: 0.1
arm_up_down_step: 0.1
max_vx: 0.3
max_ax: 0.5
max_vy: 0.2
max_ay: 0.5
max_vth: 0.3
max_ath: 0.7

Wiki: cob_teleop (last edited 2014-12-28 05:09:15 by IsaacSaito)