29 #include <std_srvs/Empty.h> 30 #include <boost/thread/recursive_mutex.hpp> 31 #include <boost/thread.hpp> 57 boost::function<
bool()> isPreemptRequested);
60 virtual bool moveJoint(
int jointIndex,
double turningAngle);
77 short round(
const double x);
91 bool switchMotorsOff(std_srvs::Empty::Request &request, std_srvs::Empty::Response &response);
92 bool switchMotorsOn(std_srvs::Empty::Request &request, std_srvs::Empty::Response &response);
93 bool testSpeedSrv(std_srvs::Empty::Request &request, std_srvs::Empty::Response &response);
virtual bool executeTrajectory(boost::shared_ptr< SpecifiedTrajectory > traj, boost::function< bool()> isPreemptRequested)
ros::ServiceServer switch_motors_off_srv_
virtual void freezeRobot()
boost::recursive_mutex kni_mutex
virtual void refreshMotorStatus()
ros::ServiceServer switch_motors_on_srv_
virtual void setLimits(void)
ros::Time last_encoder_update_
std::vector< TMotStsFlg > motor_status_
bool switchMotorsOn(std_srvs::Empty::Request &request, std_srvs::Empty::Response &response)
ros::ServiceServer test_speed_srv_
bool switchMotorsOff(std_srvs::Empty::Request &request, std_srvs::Empty::Response &response)
boost::shared_ptr< CLMBase > kni
virtual bool moveJoint(int jointIndex, double turningAngle)
Wrapper class around the KNI (Katana Native Library).
virtual bool allMotorsReady()
virtual bool allJointsReady()
virtual bool someMotorCrashed()
bool testSpeedSrv(std_srvs::Empty::Request &request, std_srvs::Empty::Response &response)
short round(const double x)