Flyby SDK v0.3.0
|
The base gimbal class. More...
#include <gimbal.h>
Public Member Functions | |
Gimbal ()=default | |
The default constructor. | |
GimbalMode | get_gimbal_mode () override |
Gets the gimbal mode. | |
void | set_gimbal_mode (GimbalMode mode) override |
Sets the gimbal mode. | |
void | set_roll_pitch_yaw_angle (double roll, double pitch, double yaw) override |
Sets the angle of the roll, pitch, and yaw. | |
void | set_roll_pitch_yaw_speed (double roll, double pitch, double yaw) override |
Sets the speed of rotation of the roll, pitch, and yaw. | |
double | get_roll () const override |
Returns current roll angle. | |
double | get_pitch () const override |
Returns current pitch angle. | |
double | get_yaw () const override |
Returns current yaw angle. | |
The base gimbal class.
This class should be extended by overriding functions that correspond to available functionality. For example, gimbals that have angle controls for roll/pitch/yaw should override the set_roll_pitch_yaw_angle function.
|
inlineoverride |
Gets the gimbal mode.
Should be overridden if a gimbal should implement this capability.
|
inlinenodiscardoverride |
Returns current pitch angle.
Should be overridden if a gimbal should implement this capability.
|
inlinenodiscardoverride |
Returns current roll angle.
Should be overridden if a gimbal should implement this capability.
|
inlinenodiscardoverride |
Returns current yaw angle.
Should be overridden if a gimbal should implement this capability.
|
inlineoverride |
Sets the gimbal mode.
Should be overridden if a gimbal should implement this capability.
mode | - The gimbal mode |
|
inlineoverride |
Sets the angle of the roll, pitch, and yaw.
Should be overridden if a gimbal should implement this capability.
roll | - The roll angle |
pitch | - The pitch angle |
yaw | - The yaw angle |
|
inlineoverride |
Sets the speed of rotation of the roll, pitch, and yaw.
Should be overridden if a gimbal should implement this capability.
roll | - The roll angle |
pitch | - The pitch angle |
yaw | - The yaw angle |