#include <cstdlib>#include <cstdio>#include <unistd.h>#include <math.h>#include <fcntl.h>#include "ros/ros.h"#include "sensor_msgs/Joy.h"#include "geometry_msgs/Twist.h"#include "sensor_msgs/JointState.h"#include "trajectory_msgs/JointTrajectory.h"#include "pr2_controllers_msgs/JointTrajectoryControllerState.h"#include "topic_tools/MuxSelect.h"#include "std_msgs/String.h"#include "std_msgs/Float64.h"
Go to the source code of this file.
Classes | |
| class | TeleopPR2 |
Defines | |
| #define | HEAD_TOPIC "head_traj_controller/command" |
| #define | TORSO_TOPIC "torso_controller/command" |
| Converts joystick commands on /joy to commands to PR2 base, spine, head. | |
Functions | |
| int | main (int argc, char **argv) |
Variables | |
| const int | PUBLISH_FREQ = 20 |
| #define HEAD_TOPIC "head_traj_controller/command" |
Definition at line 51 of file teleop_pr2.cpp.
| #define TORSO_TOPIC "torso_controller/command" |
Converts joystick commands on /joy to commands to PR2 base, spine, head.
Definition at line 50 of file teleop_pr2.cpp.
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 387 of file teleop_pr2.cpp.
| const int PUBLISH_FREQ = 20 |
Definition at line 52 of file teleop_pr2.cpp.