|
PX4 Firmware
PX4 Autopilot Software http://px4.io
|
RoboClaw Motor Driver. More...
#include "RoboClaw.hpp"#include <poll.h>#include <stdio.h>#include <math.h>#include <string.h>#include <fcntl.h>#include <termios.h>#include <systemlib/err.h>#include <systemlib/mavlink_log.h>#include <arch/board/board.h>#include <uORB/Publication.hpp>#include <uORB/topics/debug_key_value.h>#include <drivers/drv_hrt.h>Go to the source code of this file.
Macros | |
| #define | TIMEOUT_US 10500 |
| #define | TIMEOUT_RETRIES 1 |
| #define | STOP_RETRIES 10 |
| #define | ENCODER_MESSAGE_SIZE 10 |
| #define | ENCODER_SPEED_MESSAGE_SIZE 7 |
RoboClaw Motor Driver.
references: http://downloads.orionrobotics.com/downloads/datasheets/motor_controller_robo_claw_R0401.pdf
Definition in file RoboClaw.cpp.
| #define ENCODER_MESSAGE_SIZE 10 |
Definition at line 73 of file RoboClaw.cpp.
Referenced by RoboClaw::readEncoder().
| #define ENCODER_SPEED_MESSAGE_SIZE 7 |
Definition at line 76 of file RoboClaw.cpp.
Referenced by RoboClaw::readEncoder().
| #define STOP_RETRIES 10 |
Definition at line 70 of file RoboClaw.cpp.
Referenced by RoboClaw::taskMain().
| #define TIMEOUT_RETRIES 1 |
Definition at line 66 of file RoboClaw.cpp.
Referenced by RoboClaw::readEncoder().
| #define TIMEOUT_US 10500 |
Definition at line 63 of file RoboClaw.cpp.
Referenced by RoboClaw::_transaction(), RoboClaw::RoboClaw(), and RoboClaw::taskMain().