Elisa3
speed_control.c File Reference
#include "speed_control.h"

Functions

void init_speed_control ()
 Initialize the speed controller parameters. Actually not used.
void start_vertical_speed_control_left (signed int *pwm_left)
 Control the speed of the left motor in a vertical wall.
void start_vertical_speed_control_right (signed int *pwm_right)
 Control the speed of the right motor in a vertical wall.
void start_horizontal_speed_control_right (signed int *pwm_right)
 Control the speed of the right motor in a flat surface.
void start_horizontal_speed_control_left (signed int *pwm_left)
 Control the speed of the left motor in a flat surface.

Function Documentation

Initialize the speed controller parameters. Actually not used.

Returns:
none
void start_horizontal_speed_control_left ( signed int *  pwm_left)

Control the speed of the left motor in a flat surface.

Parameters:
pwm_leftit's a reference; input => desired speed; output => pwm value
Returns:
none
void start_horizontal_speed_control_right ( signed int *  pwm_right)

Control the speed of the right motor in a flat surface.

Parameters:
pwm_rightit's a reference; input => desired speed; output => pwm value
Returns:
none
void start_vertical_speed_control_left ( signed int *  pwm_left)

Control the speed of the left motor in a vertical wall.

Parameters:
pwm_leftit's a reference; input => desired speed; output => pwm value
Returns:
none
void start_vertical_speed_control_right ( signed int *  pwm_right)

Control the speed of the right motor in a vertical wall.

Parameters:
pwm_rightit's a reference; input => desired speed; output => pwm value
Returns:
none
 All Files Functions Variables Defines