#include <signal.h>
#include <webots_ros/sensor_set.h>
#include "ros/ros.h"
#include <webots_ros/set_float.h>
#include <webots_ros/set_int.h>
#include <std_msgs/Float64.h>
#include <std_msgs/Float64MultiArray.h>
#include <std_msgs/String.h>
Go to the source code of this file.
Macros | |
#define | ACCELERATION 10 |
#define | FWD_SPEED 3. |
#define | ROTATE_SPEED 6 |
#define | TIME_STEP 32 |
Functions | |
void | controllerNameCallback (const std_msgs::String::ConstPtr &name) |
void | fllWheelCallback (const std_msgs::Float64::ConstPtr &value) |
void | flRotationCallback (const std_msgs::Float64::ConstPtr &value) |
void | imuCallback (const std_msgs::Float64MultiArray::ConstPtr &values) |
void | lBumperCallback (const std_msgs::Float64::ConstPtr &value) |
void | llFingerCallback (const std_msgs::Float64::ConstPtr &value) |
void | lShoulderCallback (const std_msgs::Float64::ConstPtr &value) |
int | main (int argc, char **argv) |
void | move (double speed) |
void | quit (int sig) |
void | rBumperCallback (const std_msgs::Float64::ConstPtr &value) |
void | rotate (double speed) |
void | rotate_wheels (double angle) |
void | rrFingerCallback (const std_msgs::Float64::ConstPtr &value) |
void | rShoulderCallback (const std_msgs::Float64::ConstPtr &value) |
void | torsoCallback (const std_msgs::Float64::ConstPtr &value) |
#define ACCELERATION 10 |
Definition at line 31 of file pr2_beer.cpp.
#define FWD_SPEED 3. |
Definition at line 32 of file pr2_beer.cpp.
#define ROTATE_SPEED 6 |
Definition at line 33 of file pr2_beer.cpp.
#define TIME_STEP 32 |
Definition at line 30 of file pr2_beer.cpp.
void controllerNameCallback | ( | const std_msgs::String::ConstPtr & | name | ) |
Definition at line 263 of file pr2_beer.cpp.
void fllWheelCallback | ( | const std_msgs::Float64::ConstPtr & | value | ) |
Definition at line 98 of file pr2_beer.cpp.
void flRotationCallback | ( | const std_msgs::Float64::ConstPtr & | value | ) |
Definition at line 104 of file pr2_beer.cpp.
void imuCallback | ( | const std_msgs::Float64MultiArray::ConstPtr & | values | ) |
Definition at line 125 of file pr2_beer.cpp.
void lBumperCallback | ( | const std_msgs::Float64::ConstPtr & | value | ) |
Definition at line 119 of file pr2_beer.cpp.
void llFingerCallback | ( | const std_msgs::Float64::ConstPtr & | value | ) |
Definition at line 113 of file pr2_beer.cpp.
void lShoulderCallback | ( | const std_msgs::Float64::ConstPtr & | value | ) |
Definition at line 107 of file pr2_beer.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 277 of file pr2_beer.cpp.
void move | ( | double | speed | ) |
Definition at line 133 of file pr2_beer.cpp.
void quit | ( | int | sig | ) |
Definition at line 269 of file pr2_beer.cpp.
void rBumperCallback | ( | const std_msgs::Float64::ConstPtr & | value | ) |
Definition at line 122 of file pr2_beer.cpp.
void rotate | ( | double | speed | ) |
Definition at line 171 of file pr2_beer.cpp.
void rotate_wheels | ( | double | angle | ) |
Definition at line 209 of file pr2_beer.cpp.
void rrFingerCallback | ( | const std_msgs::Float64::ConstPtr & | value | ) |
Definition at line 116 of file pr2_beer.cpp.
void rShoulderCallback | ( | const std_msgs::Float64::ConstPtr & | value | ) |
Definition at line 110 of file pr2_beer.cpp.
void torsoCallback | ( | const std_msgs::Float64::ConstPtr & | value | ) |
Definition at line 101 of file pr2_beer.cpp.
ros::ServiceClient bllWheelPositionClient |
Definition at line 56 of file pr2_beer.cpp.
webots_ros::set_float bllWheelPositionSrv |
Definition at line 65 of file pr2_beer.cpp.
ros::ServiceClient bllWheelSpeedClient |
Definition at line 74 of file pr2_beer.cpp.
webots_ros::set_float bllWheelSpeedSrv |
Definition at line 83 of file pr2_beer.cpp.
ros::ServiceClient blRotationClient |
Definition at line 90 of file pr2_beer.cpp.
webots_ros::set_float blRotationSrv |
Definition at line 95 of file pr2_beer.cpp.
ros::ServiceClient blrWheelPositionClient |
Definition at line 57 of file pr2_beer.cpp.
webots_ros::set_float blrWheelPositionSrv |
Definition at line 66 of file pr2_beer.cpp.
ros::ServiceClient blrWheelSpeedClient |
Definition at line 75 of file pr2_beer.cpp.
webots_ros::set_float blrWheelSpeedSrv |
Definition at line 84 of file pr2_beer.cpp.
ros::ServiceClient brlWheelPositionClient |
Definition at line 58 of file pr2_beer.cpp.
webots_ros::set_float brlWheelPositionSrv |
Definition at line 67 of file pr2_beer.cpp.
ros::ServiceClient brlWheelSpeedClient |
Definition at line 76 of file pr2_beer.cpp.
webots_ros::set_float brlWheelSpeedSrv |
Definition at line 85 of file pr2_beer.cpp.
ros::ServiceClient brRotationClient |
Definition at line 91 of file pr2_beer.cpp.
webots_ros::set_float brRotationSrv |
Definition at line 96 of file pr2_beer.cpp.
ros::ServiceClient brrWheelPositionClient |
Definition at line 59 of file pr2_beer.cpp.
webots_ros::set_float brrWheelPositionSrv |
Definition at line 68 of file pr2_beer.cpp.
ros::ServiceClient brrWheelSpeedClient |
Definition at line 77 of file pr2_beer.cpp.
webots_ros::set_float brrWheelSpeedSrv |
Definition at line 86 of file pr2_beer.cpp.
|
static |
Definition at line 35 of file pr2_beer.cpp.
|
static |
Definition at line 36 of file pr2_beer.cpp.
|
static |
Definition at line 37 of file pr2_beer.cpp.
ros::ServiceClient fllWheelPositionClient |
Definition at line 52 of file pr2_beer.cpp.
webots_ros::set_float fllWheelPositionSrv |
Definition at line 61 of file pr2_beer.cpp.
ros::ServiceClient fllWheelSpeedClient |
Definition at line 70 of file pr2_beer.cpp.
webots_ros::set_float fllWheelSpeedSrv |
Definition at line 79 of file pr2_beer.cpp.
ros::ServiceClient flRotationClient |
Definition at line 88 of file pr2_beer.cpp.
webots_ros::set_float flRotationSrv |
Definition at line 93 of file pr2_beer.cpp.
ros::ServiceClient flrWheelPositionClient |
Definition at line 53 of file pr2_beer.cpp.
webots_ros::set_float flrWheelPositionSrv |
Definition at line 62 of file pr2_beer.cpp.
ros::ServiceClient flrWheelSpeedClient |
Definition at line 71 of file pr2_beer.cpp.
webots_ros::set_float flrWheelSpeedSrv |
Definition at line 80 of file pr2_beer.cpp.
ros::ServiceClient frlWheelPositionClient |
Definition at line 54 of file pr2_beer.cpp.
webots_ros::set_float frlWheelPositionSrv |
Definition at line 63 of file pr2_beer.cpp.
ros::ServiceClient frlWheelSpeedClient |
Definition at line 72 of file pr2_beer.cpp.
webots_ros::set_float frlWheelSpeedSrv |
Definition at line 81 of file pr2_beer.cpp.
ros::ServiceClient frRotationClient |
Definition at line 89 of file pr2_beer.cpp.
webots_ros::set_float frRotationSrv |
Definition at line 94 of file pr2_beer.cpp.
ros::ServiceClient frrWheelPositionClient |
Definition at line 55 of file pr2_beer.cpp.
webots_ros::set_float frrWheelPositionSrv |
Definition at line 64 of file pr2_beer.cpp.
ros::ServiceClient frrWheelSpeedClient |
Definition at line 73 of file pr2_beer.cpp.
webots_ros::set_float frrWheelSpeedSrv |
Definition at line 82 of file pr2_beer.cpp.
|
static |
Definition at line 47 of file pr2_beer.cpp.
|
static |
Definition at line 45 of file pr2_beer.cpp.
|
static |
Definition at line 43 of file pr2_beer.cpp.
|
static |
Definition at line 41 of file pr2_beer.cpp.
|
static |
Definition at line 46 of file pr2_beer.cpp.
|
static |
Definition at line 40 of file pr2_beer.cpp.
|
static |
Definition at line 44 of file pr2_beer.cpp.
|
static |
Definition at line 42 of file pr2_beer.cpp.
ros::ServiceClient timeStepClient |
Definition at line 49 of file pr2_beer.cpp.
webots_ros::set_int timeStepSrv |
Definition at line 50 of file pr2_beer.cpp.
|
static |
Definition at line 39 of file pr2_beer.cpp.
|
static |
Definition at line 38 of file pr2_beer.cpp.