#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.
|
int | main (int argc, char **argv) |
|
#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.
- Author
- Kevin Watts
Definition at line 50 of file teleop_pr2.cpp.
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
const int PUBLISH_FREQ = 20 |