#include "ros/ros.h"
#include "ssc32.hpp"
#include "corobot_msgs/MotorCommand.h"
#include "corobot_msgs/ServoPosition.h"
#include <math.h>
#include <errno.h>
#include <sys/stat.h>
#include <diagnostic_updater/diagnostic_updater.h>
#include <diagnostic_updater/publisher.h>
#include <corobot_diagnostics/diagnostics.h>
Go to the source code of this file.
Function Documentation
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
Callback for the topic /setPositionServo The position of the concerned servo motor is set each time a message is received on this topic.
- Parameters:
-
corobot_msgs::ServoPosition | Message |
Definition at line 105 of file motor.cpp.
void SetSpeedTopic |
( |
const corobot_msgs::MotorCommand::ConstPtr & |
msg | ) |
|
Function that will report the status of the hardware to the diagnostic topic
Definition at line 132 of file motor.cpp.
Variable Documentation