#include "coridium.h"
#include "cor_hwlib.h"
#include "cor_wrflash.h"
#include "string.h"
#include "printf.h"
#include <math.h>
Go to the source code of this file.
Functions | |
int | initializeSteeringAndThrottleOut (int steering_out_pin, int throttle_out_pin) |
int | pulsoutSteering (int steering_setpoint) |
int | pulsoutThrottle (int throttle_setpoint, int normalized_counts) |
int | pulsoutThrottleNoPID (int throttle_setpoint) |
void | resetIntegralAndDerivative () |
void | initializeSteeringAndThrottleIn (int steering_in_pin, int throttle_in_pin) |
int | checkForSteeringAndThrottle () |
int | getSteeringPulsinDuration () |
int | getThrottlePulsinDuration () |
int checkForSteeringAndThrottle | ( | ) |
Definition at line 97 of file steering_throttle.c.
int getSteeringPulsinDuration | ( | ) |
Definition at line 111 of file steering_throttle.c.
int getThrottlePulsinDuration | ( | ) |
Definition at line 120 of file steering_throttle.c.
void initializeSteeringAndThrottleIn | ( | int | steering_in_pin, | |
int | throttle_in_pin | |||
) |
Definition at line 86 of file steering_throttle.c.
int initializeSteeringAndThrottleOut | ( | int | steering_out_pin, | |
int | throttle_out_pin | |||
) |
Definition at line 13 of file steering_throttle.c.
int pulsoutSteering | ( | int | steering_setpoint | ) |
Definition at line 30 of file steering_throttle.c.
int pulsoutThrottle | ( | int | throttle_setpoint, | |
int | normalized_counts | |||
) |
Definition at line 41 of file steering_throttle.c.
int pulsoutThrottleNoPID | ( | int | throttle_setpoint | ) |
Definition at line 69 of file steering_throttle.c.
void resetIntegralAndDerivative | ( | ) |
Definition at line 64 of file steering_throttle.c.