SkyPulse UAV V0.1
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Protected Member Functions | List of all members
Control Class Reference

#include <Control.h>

Public Types

using CallbackFunction = function<void(int[4])>
 

Public Member Functions

 Control ()
 
 Control (float sampleFreq)
 
void getControlOuput (int motorDutyCycle[4])
 
void readRef (float angle[3], float alt)
 
void readCur (float rate[3], float angle[3], float alt)
 
void setMode (bool mode)
 
void setCallback ()
 

Protected Member Functions

void doublePIDControl ()
 
void altControl ()
 

Member Typedef Documentation

◆ CallbackFunction

using Control::CallbackFunction = function<void(int[4])>

Constructor & Destructor Documentation

◆ Control() [1/2]

Control::Control ( )

◆ Control() [2/2]

Control::Control ( float sampleFreq)

Member Function Documentation

◆ altControl()

void Control::altControl ( )
protected

◆ doublePIDControl()

void Control::doublePIDControl ( )
protected

◆ getControlOuput()

void Control::getControlOuput ( int motorDutyCycle[4])

◆ readCur()

void Control::readCur ( float rate[3],
float angle[3],
float alt )

◆ readRef()

void Control::readRef ( float angle[3],
float alt )

◆ setCallback()

void Control::setCallback ( )

◆ setMode()

void Control::setMode ( bool mode)

The documentation for this class was generated from the following files: