31 #ifndef GPIOPULSECONFIGURATOR_H 32 #define GPIOPULSECONFIGURATOR_H 36 #include <roboteq_control/RoboteqPulseInputConfig.h> 37 #include <dynamic_reconfigure/server.h> 80 std::vector<roboteq::Motor *>
_motor;
83 dynamic_reconfigure::Server<roboteq_control::RoboteqPulseInputConfig> *
ds_param;
89 void reconfigureCBParam(roboteq_control::RoboteqPulseInputConfig &config, uint32_t level);
100 #endif // GPIOPULSECONFIGURATOR_H void getParamFromRoboteq()
getParamFromRoboteq Load parameters from Roboteq board
void reconfigureCBParam(roboteq_control::RoboteqPulseInputConfig &config, uint32_t level)
reconfigureCBParam when the dynamic reconfigurator change some values start this method ...
bool setup_param
Setup variable.
double getConversion(double reduction)
getConversion Get conversion from pulse value to real value
roboteq::serial_controller * mSerial
Serial port.
dynamic_reconfigure::Server< roboteq_control::RoboteqPulseInputConfig > * ds_param
Dynamic reconfigure parameters.
ros::NodeHandle nh_
Private namespace.
std::vector< roboteq::Motor * > _motor
void initConfigurator(bool load_from_board)
initConfigurator Initialize all parameter and syncronize parameters between ros and roboteq board ...
string mName
Associate name space.
roboteq_control::RoboteqPulseInputConfig default_param_config
roboteq_control::RoboteqPulseInputConfig _last_param_config
GPIOPulseConfigurator(const ros::NodeHandle &nh, roboteq::serial_controller *serial, std::vector< roboteq::Motor * > motor, string name, unsigned int number)
GPIOPulseConfigurator.
unsigned int mNumber
Number motor.