Qualcomm Navigator Flight Control Interface
2.0
|
Structure containing the inputs to the sn_send_esc_pwm() Qualcomm Navigator API function. More...
#include <pwm_command.hpp>
Public Member Functions | |
PwmCommand (size_t num_cmds) | |
Default constructor. | |
Public Member Functions inherited from snav_fci::TxCommand | |
Mode | get_mode () const |
Public Attributes | |
std::vector< int > | pwms |
Additional Inherited Members | |
Public Types inherited from snav_fci::TxCommand | |
enum | Mode { UNDEFINED, RC, RPM, PWM, THRUST_ATT_ANG_VEL, TRAJECTORY } |
Protected Attributes inherited from snav_fci::TxCommand | |
Mode | mode_ |
Structure containing the inputs to the sn_send_esc_pwm() Qualcomm Navigator API function.
std::vector<int> snav_fci::PwmCommand::pwms |
PWM commands in order of ascending ESC ID, e.g. [pwm_0, pwm_1, ..., pwm_n]. PWM commands must be specified in the range [-800, 800] where 800 corresponds to 100% duty cycle and negative implies reversed direction.