File StupidServoController.cpp
FileList > demo-projets > stm32 > src > StupidServoController.cpp
Go to the source code of this file.
#include "StupidServoController.hpp"
#include "Bsp.hpp"
#include "ControlLink.hpp"
#include "stm32f1xx_hal_rcc.h"
#include "stm32f1xx_ll_tim.h"
Public Static Attributes
Type | Name |
---|---|
uint32_t | pwmCenterValue |
float | pwmCoef |
Public Functions
Type | Name |
---|---|
void | stupidServoDispatch (const CoprocReq_SetStupidServo & request) |
void | stupidServoInit () |
void | stupidServoReset () |
Public Static Functions
Type | Name |
---|---|
void | stupidServoDisable (int servoIndex) |
void | stupidServoSetPosition (int servoIndex, float position) |
Public Static Attributes Documentation
variable pwmCenterValue
uint32_t pwmCenterValue;
variable pwmCoef
float pwmCoef;
Public Functions Documentation
function stupidServoDispatch
void stupidServoDispatch (
const CoprocReq_SetStupidServo & request
)
function stupidServoInit
void stupidServoInit ()
function stupidServoReset
void stupidServoReset ()
Public Static Functions Documentation
function stupidServoDisable
static void stupidServoDisable (
int servoIndex
)
function stupidServoSetPosition
static void stupidServoSetPosition (
int servoIndex,
float position
)
The documentation for this class was generated from the following file demo-projets/stm32/src/StupidServoController.cpp