#include <qt_ros_slider.h>
Public Slots | |
void | conversion (int value) |
double | convert (int value) |
void | onValueChange (int value) |
void | setRange (int minValue, int maxValue) |
void | setText (const QString &text) |
void | setValue (double value) |
Signals | |
void | valueChanged (int newValue) |
Public Member Functions | |
void | addGripperPublisher (ros::Publisher _pub) |
QtRosSlider (const QString &text, QWidget *_parent=0) | |
void | setCallback (actionlib::SimpleActionClient< pr2_controllers_msgs::SingleJointPositionAction > *_ac) |
QString | text () const |
int | value () const |
Public Attributes | |
int | max_int |
double | max_value |
int | min_int |
double | min_value |
Private Member Functions | |
void | initGripperCommander () |
void | initTorsoCommander () |
Private Attributes | |
actionlib::SimpleActionClient < pr2_controllers_msgs::SingleJointPositionAction > * | ac |
std::vector< ros::Publisher > | base_publishers |
std::vector< ros::Publisher > | gripper_publishers |
QLabel * | label |
QLCDNumber * | lcd |
QSlider * | slider |
Definition at line 43 of file qt_ros_slider.h.
QtRosSlider::QtRosSlider | ( | const QString & | text, |
QWidget * | _parent = 0 |
||
) |
Definition at line 32 of file qt_ros_slider.cpp.
void QtRosSlider::addGripperPublisher | ( | ros::Publisher | _pub | ) |
Definition at line 106 of file qt_ros_slider.cpp.
void QtRosSlider::conversion | ( | int | value | ) | [slot] |
Definition at line 143 of file qt_ros_slider.cpp.
double QtRosSlider::convert | ( | int | value | ) | [slot] |
Definition at line 138 of file qt_ros_slider.cpp.
void QtRosSlider::initGripperCommander | ( | ) | [private] |
Definition at line 74 of file qt_ros_slider.cpp.
void QtRosSlider::initTorsoCommander | ( | ) | [private] |
Definition at line 48 of file qt_ros_slider.cpp.
void QtRosSlider::onValueChange | ( | int | value | ) | [slot] |
Definition at line 112 of file qt_ros_slider.cpp.
void QtRosSlider::setCallback | ( | actionlib::SimpleActionClient< pr2_controllers_msgs::SingleJointPositionAction > * | _ac | ) |
Definition at line 100 of file qt_ros_slider.cpp.
void QtRosSlider::setRange | ( | int | minValue, |
int | maxValue | ||
) | [slot] |
Definition at line 159 of file qt_ros_slider.cpp.
void QtRosSlider::setText | ( | const QString & | text | ) | [slot] |
Definition at line 171 of file qt_ros_slider.cpp.
void QtRosSlider::setValue | ( | double | value | ) | [slot] |
Definition at line 153 of file qt_ros_slider.cpp.
QString QtRosSlider::text | ( | ) | const |
Definition at line 148 of file qt_ros_slider.cpp.
int QtRosSlider::value | ( | ) | const |
Definition at line 133 of file qt_ros_slider.cpp.
void QtRosSlider::valueChanged | ( | int | newValue | ) | [signal] |
actionlib::SimpleActionClient<pr2_controllers_msgs::SingleJointPositionAction>* QtRosSlider::ac [private] |
Definition at line 77 of file qt_ros_slider.h.
std::vector<ros::Publisher> QtRosSlider::base_publishers [private] |
Definition at line 79 of file qt_ros_slider.h.
std::vector<ros::Publisher> QtRosSlider::gripper_publishers [private] |
Definition at line 78 of file qt_ros_slider.h.
QLabel* QtRosSlider::label [private] |
Definition at line 76 of file qt_ros_slider.h.
QLCDNumber* QtRosSlider::lcd [private] |
Definition at line 74 of file qt_ros_slider.h.
Definition at line 57 of file qt_ros_slider.h.
double QtRosSlider::max_value |
Definition at line 59 of file qt_ros_slider.h.
Definition at line 56 of file qt_ros_slider.h.
double QtRosSlider::min_value |
Definition at line 58 of file qt_ros_slider.h.
QSlider* QtRosSlider::slider [private] |
Definition at line 75 of file qt_ros_slider.h.