#include <cstdlib>#include <cstdio>#include <unistd.h>#include <math.h>#include <fcntl.h>#include "ros/ros.h"#include "joy/Joy.h"#include "geometry_msgs/Twist.h"#include <string>#include <vector>#include <ostream>#include "ros/serialization.h"#include "ros/builtin_message_traits.h"#include "ros/message_operations.h"#include "ros/message.h"#include "ros/time.h"#include "geometry_msgs/Vector3.h"#include "std_msgs/Header.h"#include "trajectory_msgs/JointTrajectoryPoint.h"#include "ros/service_traits.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.