20 #ifndef __BASE_CONTROLLER__ 21 #define __BASE_CONTROLLER__ 24 #include <boost/thread/mutex.hpp> 25 #include "geometry_msgs/Twist.h" 39 geometry_msgs::Twist
cmd;
54 canListener = canListener1;
68 double calculateAdapter(
double required_velocity,
double real_velocity,
double adapter);
BaseController(RobotState *state, CanListener *canListener1)
void writeDataToCan(float vleft, float vright, float max_speed)
float calculateVelocity(bool left, float speed, float velocity_old)
bool enableMotor(int ax10420)
double calculateAdapter(double required_velocity, double real_velocity, double adapter)
CanListener * canListener
void setTargetVelocity(const geometry_msgs::Twist &twist)