imenco_pt
0.1.1
A ROS2 Driver for the Imenco Pan/Tilt acutator
|
Corresponds to an imenco PF command which sets porpotional pand and tilt controls. More...
#include <pf.hpp>
Public Member Functions | |
void | setPan (float value) |
setPan sets the pan speed and direction | |
void | setTilt (float value) |
Public Member Functions inherited from imenco_pt::packets::CmdPacket< PFCmdData > | |
output_T * | head_as (size_t i=0) |
output_T * | data_as (size_t i=0) |
output_T * | tail_as (size_t i=0) |
output_T * | as (size_t i=0) |
byte * | to_ptr () |
byte * | from_ptr () |
byte * | length_ptr () |
char * | cmd_id_ptr () |
void | initalize (uint8_t to=3, uint8_t from=1) |
initalize adds the separator characters and the < > to the head and the tail of the message. | |
void | computeChecksum () |
void | setBit (uint8_t *data, uint8_t index, bool state) |
std::vector< byte > | serialize () |
size_t | size () |
Static Public Attributes | |
static const uint8_t | MAX_SPEED = 0x64 |
Static Public Attributes inherited from imenco_pt::packets::CmdPacket< PFCmdData > | |
static const size_t | HEAD_SIZE |
static const size_t | TAIL_SIZE |
Additional Inherited Members | |
Public Attributes inherited from imenco_pt::packets::CmdPacket< PFCmdData > | |
char | head [HEAD_SIZE] |
PFCmdData | data |
char | tail [TAIL_SIZE] |
Corresponds to an imenco PF command which sets porpotional pand and tilt controls.
|
inline |
setPan sets the pan speed and direction
value | a value between -1.0 and 1.0. Negative values pan left positive values pan right. |
|
inline |
|
static |