Autodrone
Multi-Domain Vehicle
mixer.c File Reference

This file takes the output of the PID controller and assigns values to the motors. More...

#include "board.h"

Functions

void pulseMotors (void)
 Pulses the motors. More...
 
void mixTable (void)
 Mixes the values from the PID controller and assigns values to the motors. More...
 

Variables

uint8_t numberMotor = 4
 
uint16_t throttleCmd
 
int16_t steerCmd
 
int16_t speedCmd
 
int16_t motor_temp [4]
 

Detailed Description

This file takes the output of the PID controller and assigns values to the motors.

Author
Jeremy Wolfe
Date
07 MAR 2022

Function Documentation

◆ mixTable()

void mixTable ( void  )

Mixes the values from the PID controller and assigns values to the motors.

Returns
Void.

◆ pulseMotors()

void pulseMotors ( void  )

Pulses the motors.

Returns
Void.

Variable Documentation

◆ motor_temp

int16_t motor_temp[4]

◆ numberMotor

uint8_t numberMotor = 4

◆ speedCmd

int16_t speedCmd

◆ steerCmd

int16_t steerCmd

◆ throttleCmd

uint16_t throttleCmd