#include <Ros.h>
Public Slots | |
void | currentCameraTabChanged (int index) |
bool | decrease_speed () |
bool | increase_backward_speed () |
bool | increase_speed () |
bool | motor_stop () |
void | moveElbowArm (double elbow) |
void | moveGripper (bool state) |
void | moveShoulderArm (double shoulder) |
void | Pan_control (int value) |
void | ResetArm () |
void | rotateArm (double angle) |
void | setSpeedFast (bool toggled) |
void | setSpeedModerate (bool toggled) |
void | setSpeedSlow (bool toggled) |
bool | stop_turn () |
void | Tilt_control (int value) |
bool | turn_left () |
bool | turn_right () |
void | turnWrist (float angle) |
Signals | |
void | angleWristReal (double angle) |
void | arm_model (bool arm_al5a, bool arm_pincher, bool arm_reactor, bool arm_old_corobot) |
void | battery_percent (int value) |
void | battery_volts (double volts) |
void | bumper_update (int bumper1, int bumper2, int bumper3, int bumper4) |
void | gps_coord (double lat, double lon) |
void | gps_lat (double lat) |
void | gps_lon (double lon) |
void | hokuyo_update (Hokuyo_Points *hokuyo_points) |
void | imu_data (double acc_x, double acc_y, double acc_z, double ang_x, double ang_y, double ang_z) |
void | irData (double ir01, double ir02) |
void | magnetic_data (double mag_x, double mag_y, double mag_z) |
void | posArmReal (double x, double y) |
void | save_image (bool save) |
void | update_kinectDepthcam (QImage image) |
void | update_kinectRGBcam (QImage image) |
void | update_mapimage (QImage image) |
void | update_ptzcam (QImage image) |
void | update_rearcam (QImage image) |
void | velocity_info (double linear, double angular) |
Public Member Functions | |
void | bumperCallback (const corobot_msgs::SensorMsg::ConstPtr &msg) |
void | closeGripper () |
void | gpsCallback (const sensor_msgs::NavSatFix::ConstPtr &msg) |
void | imuCallback (const sensor_msgs::Imu::ConstPtr &msg) |
void | init (int argc, char *argv[]) |
void | init (int argc, char *argv[], const std::string &master, const std::string &host) |
void | irCallback (const corobot_msgs::SensorMsg::ConstPtr &msg) |
void | kinectdepthCallback (const sensor_msgs::Image::ConstPtr &msg) |
void | kinectrgbCallback (const sensor_msgs::CompressedImage::ConstPtr &msg) |
void | magCallback (const sensor_msgs::MagneticField::ConstPtr &msg) |
void | mapCallback (const sensor_msgs::CompressedImage::ConstPtr &msg) |
void | openGripper () |
void | powerCallback (const corobot_msgs::PowerMsgConstPtr &msg) |
void | ptz_camCallback (const sensor_msgs::Image::ConstPtr &msg) |
void | ptz_camCallback_compressed (const sensor_msgs::CompressedImage::ConstPtr &msg) |
void | rear_camCallback (const sensor_msgs::Image::ConstPtr &msg) |
void | rear_camCallback_compressed (const sensor_msgs::CompressedImage::ConstPtr &msg) |
void | resetArm () |
bool | resetOdom () |
Ros () | |
void | run () |
void | scanCallback (const sensor_msgs::LaserScan::ConstPtr &msg) |
bool | setOdom (float x, float y) |
void | subscribe () |
void | takepicCallback (const corobot_msgs::takepic::ConstPtr &msg) |
void | velocityCallback (const nav_msgs::Odometry::ConstPtr &msg) |
~Ros () | |
Public Attributes | |
Hokuyo_Points * | hokuyo_points_ |
int | move_speed_level |
int | pan |
ros::Publisher | pan_tilt_control |
int | tilt |
int | turning_speed_level |
Private Member Functions | |
void | timerCallback (const ros::TimerEvent &event) |
Private Attributes | |
ros::Subscriber | arm |
bool | arm_al5a |
bool | arm_old_phidget |
bool | arm_old_ssc32 |
bool | arm_pincher |
float | arm_px |
float | arm_py |
bool | arm_reactor |
ros::Subscriber | bumper |
int | bumper_data [4] |
bool | cameraFront_jpeg_compression |
ros::Subscriber | cameraImage |
ros::Subscriber | cameraInfo |
bool | cameraRear_jpeg_compression |
bool | Corobot |
ros::Publisher | driveControl_pub |
ros::Subscriber | gps |
ros::Subscriber | imu |
bool | initialized |
ros::Subscriber | ir |
double | ir01 |
double | ir02 |
ros::Subscriber | kinect_depth |
ros::Subscriber | kinect_rgb |
bool | kinect_selected |
ros::Subscriber | kinect_skel |
ros::Subscriber | magnetic |
ros::Subscriber | map_image |
ros::Publisher | moveArm_pub |
ros::Subscriber | phidget_info_sub |
ros::Subscriber | power |
ros::Subscriber | ptz |
ros::Subscriber | ptz_cam |
ros::Subscriber | rear_cam |
ros::Subscriber | scan |
ros::ServiceClient | setOdom_client |
float | speed_a |
float | speed_left |
float | speed_right |
int | speed_value |
float | speed_x |
ros::Subscriber | ssc32_info_sub |
ros::Subscriber | takepic_sub |
ros::Timer | timer |
bool | turningLeft |
bool | turningRight |
ros::Subscriber | velocity |
ros::Publisher | velocityValue_pub |
void Ros::angleWristReal | ( | double | angle | ) | [signal] |
void Ros::arm_model | ( | bool | arm_al5a, |
bool | arm_pincher, | ||
bool | arm_reactor, | ||
bool | arm_old_corobot | ||
) | [signal] |
void Ros::battery_percent | ( | int | value | ) | [signal] |
void Ros::battery_volts | ( | double | volts | ) | [signal] |
void Ros::bumper_update | ( | int | bumper1, |
int | bumper2, | ||
int | bumper3, | ||
int | bumper4 | ||
) | [signal] |
void Ros::bumperCallback | ( | const corobot_msgs::SensorMsg::ConstPtr & | msg | ) |
void Ros::closeGripper | ( | ) |
void Ros::currentCameraTabChanged | ( | int | index | ) | [slot] |
bool Ros::decrease_speed | ( | ) | [slot] |
void Ros::gps_coord | ( | double | lat, |
double | lon | ||
) | [signal] |
void Ros::gps_lat | ( | double | lat | ) | [signal] |
void Ros::gps_lon | ( | double | lon | ) | [signal] |
void Ros::gpsCallback | ( | const sensor_msgs::NavSatFix::ConstPtr & | msg | ) |
void Ros::hokuyo_update | ( | Hokuyo_Points * | hokuyo_points | ) | [signal] |
void Ros::imu_data | ( | double | acc_x, |
double | acc_y, | ||
double | acc_z, | ||
double | ang_x, | ||
double | ang_y, | ||
double | ang_z | ||
) | [signal] |
void Ros::imuCallback | ( | const sensor_msgs::Imu::ConstPtr & | msg | ) |
bool Ros::increase_backward_speed | ( | ) | [slot] |
bool Ros::increase_speed | ( | ) | [slot] |
void Ros::init | ( | int | argc, |
char * | argv[], | ||
const std::string & | master, | ||
const std::string & | host | ||
) |
void Ros::irCallback | ( | const corobot_msgs::SensorMsg::ConstPtr & | msg | ) |
void Ros::irData | ( | double | ir01, |
double | ir02 | ||
) | [signal] |
void Ros::kinectdepthCallback | ( | const sensor_msgs::Image::ConstPtr & | msg | ) |
void Ros::kinectrgbCallback | ( | const sensor_msgs::CompressedImage::ConstPtr & | msg | ) |
void Ros::magCallback | ( | const sensor_msgs::MagneticField::ConstPtr & | msg | ) |
void Ros::magnetic_data | ( | double | mag_x, |
double | mag_y, | ||
double | mag_z | ||
) | [signal] |
void Ros::mapCallback | ( | const sensor_msgs::CompressedImage::ConstPtr & | msg | ) |
bool Ros::motor_stop | ( | ) | [slot] |
void Ros::moveElbowArm | ( | double | elbow | ) | [slot] |
void Ros::moveGripper | ( | bool | state | ) | [slot] |
void Ros::moveShoulderArm | ( | double | shoulder | ) | [slot] |
void Ros::openGripper | ( | ) |
void Ros::Pan_control | ( | int | value | ) | [slot] |
void Ros::posArmReal | ( | double | x, |
double | y | ||
) | [signal] |
void Ros::powerCallback | ( | const corobot_msgs::PowerMsgConstPtr & | msg | ) |
void Ros::ptz_camCallback | ( | const sensor_msgs::Image::ConstPtr & | msg | ) |
void Ros::ptz_camCallback_compressed | ( | const sensor_msgs::CompressedImage::ConstPtr & | msg | ) |
void Ros::rear_camCallback | ( | const sensor_msgs::Image::ConstPtr & | msg | ) |
void Ros::rear_camCallback_compressed | ( | const sensor_msgs::CompressedImage::ConstPtr & | msg | ) |
void Ros::ResetArm | ( | ) | [slot] |
void Ros::resetArm | ( | ) |
bool Ros::resetOdom | ( | ) |
void Ros::rotateArm | ( | double | angle | ) | [slot] |
void Ros::save_image | ( | bool | save | ) | [signal] |
void Ros::scanCallback | ( | const sensor_msgs::LaserScan::ConstPtr & | msg | ) |
bool Ros::setOdom | ( | float | x, |
float | y | ||
) |
void Ros::setSpeedFast | ( | bool | toggled | ) | [slot] |
void Ros::setSpeedModerate | ( | bool | toggled | ) | [slot] |
void Ros::setSpeedSlow | ( | bool | toggled | ) | [slot] |
bool Ros::stop_turn | ( | ) | [slot] |
void Ros::subscribe | ( | ) |
void Ros::takepicCallback | ( | const corobot_msgs::takepic::ConstPtr & | msg | ) |
void Ros::Tilt_control | ( | int | value | ) | [slot] |
void Ros::timerCallback | ( | const ros::TimerEvent & | event | ) | [private] |
bool Ros::turn_left | ( | ) | [slot] |
bool Ros::turn_right | ( | ) | [slot] |
void Ros::turnWrist | ( | float | angle | ) | [slot] |
void Ros::update_kinectDepthcam | ( | QImage | image | ) | [signal] |
void Ros::update_kinectRGBcam | ( | QImage | image | ) | [signal] |
void Ros::update_mapimage | ( | QImage | image | ) | [signal] |
void Ros::update_ptzcam | ( | QImage | image | ) | [signal] |
void Ros::update_rearcam | ( | QImage | image | ) | [signal] |
void Ros::velocity_info | ( | double | linear, |
double | angular | ||
) | [signal] |
void Ros::velocityCallback | ( | const nav_msgs::Odometry::ConstPtr & | msg | ) |
ros::Subscriber Ros::arm [private] |
bool Ros::arm_al5a [private] |
bool Ros::arm_old_phidget [private] |
bool Ros::arm_old_ssc32 [private] |
bool Ros::arm_pincher [private] |
float Ros::arm_px [private] |
float Ros::arm_py [private] |
bool Ros::arm_reactor [private] |
ros::Subscriber Ros::bumper [private] |
int Ros::bumper_data[4] [private] |
bool Ros::cameraFront_jpeg_compression [private] |
ros::Subscriber Ros::cameraImage [private] |
ros::Subscriber Ros::cameraInfo [private] |
bool Ros::cameraRear_jpeg_compression [private] |
bool Ros::Corobot [private] |
ros::Publisher Ros::driveControl_pub [private] |
ros::Subscriber Ros::gps [private] |
ros::Subscriber Ros::imu [private] |
bool Ros::initialized [private] |
ros::Subscriber Ros::ir [private] |
ros::Subscriber Ros::kinect_depth [private] |
ros::Subscriber Ros::kinect_rgb [private] |
bool Ros::kinect_selected [private] |
ros::Subscriber Ros::kinect_skel [private] |
ros::Subscriber Ros::magnetic [private] |
ros::Subscriber Ros::map_image [private] |
ros::Publisher Ros::moveArm_pub [private] |
ros::Subscriber Ros::phidget_info_sub [private] |
ros::Subscriber Ros::power [private] |
ros::Subscriber Ros::ptz [private] |
ros::Subscriber Ros::ptz_cam [private] |
ros::Subscriber Ros::rear_cam [private] |
ros::Subscriber Ros::scan [private] |
ros::ServiceClient Ros::setOdom_client [private] |
float Ros::speed_a [private] |
float Ros::speed_left [private] |
float Ros::speed_right [private] |
int Ros::speed_value [private] |
float Ros::speed_x [private] |
ros::Subscriber Ros::ssc32_info_sub [private] |
ros::Subscriber Ros::takepic_sub [private] |
ros::Timer Ros::timer [private] |
bool Ros::turningLeft [private] |
bool Ros::turningRight [private] |
ros::Subscriber Ros::velocity [private] |
ros::Publisher Ros::velocityValue_pub [private] |