31 #ifndef GPIOPARAMCONFIGURATOR_H 32 #define GPIOPARAMCONFIGURATOR_H 36 #include <roboteq_control/RoboteqParameterConfig.h> 37 #include <roboteq_control/RoboteqEncoderConfig.h> 38 #include <roboteq_control/RoboteqPIDtypeConfig.h> 39 #include <dynamic_reconfigure/server.h> 88 dynamic_reconfigure::Server<roboteq_control::RoboteqParameterConfig> *
ds_param;
94 void reconfigureCBParam(roboteq_control::RoboteqParameterConfig &config, uint32_t level);
97 dynamic_reconfigure::Server<roboteq_control::RoboteqPIDtypeConfig> *
ds_pid_type;
116 #endif // GPIOPARAMCONFIGURATOR_H
void reconfigureCBParam(roboteq_control::RoboteqParameterConfig &config, uint32_t level)
reconfigureCBParam when the dynamic reconfigurator change some values start this method ...
void setOperativeMode(int type)
setOperativeMode Reference in page 321 - MMOD
void reconfigureCBPIDtype(roboteq_control::RoboteqPIDtypeConfig &config, uint32_t level)
reconfigureCBEncoder when the dynamic reconfigurator change some values start this method ...
void initConfigurator(bool load_from_board)
initConfigurator Initialize all parameter and syncronize parameters between ros and roboteq board ...
roboteq_control::RoboteqParameterConfig default_param_config
unsigned int mNumber
Number motor.
MotorParamConfigurator(const ros::NodeHandle &nh, roboteq::serial_controller *serial, std::string name, unsigned int number)
MotorParamConfigurator.
roboteq::serial_controller * mSerial
Serial port.
void getParamFromRoboteq()
getParamFromRoboteq Load parameters from Roboteq board
dynamic_reconfigure::Server< roboteq_control::RoboteqPIDtypeConfig > * ds_pid_type
Dynamic reconfigure PID.
string mName
Associate name space.
dynamic_reconfigure::Server< roboteq_control::RoboteqParameterConfig > * ds_param
Dynamic reconfigure parameters.
roboteq_control::RoboteqPIDtypeConfig _last_pid_type_config
roboteq_control::RoboteqParameterConfig _last_param_config
bool setup_param
Setup variable.
roboteq_control::RoboteqPIDtypeConfig default_pid_type_config
ros::NodeHandle nh_
Private namespace.