eBoard ①⑧⑨
Written for SIA 2017/2018
eagle_HelpMot.h File Reference

this file contains the helper to acces the motor on the main car More...

+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void set_motor_speed (optVAL_t spe)
 sets the speed of the main (data pin: EBOARD_HELPCAR_MAIN) motor More...
 
void set_steer_angle (optVAL_t ang)
 sets the angle of the steering (data pin: EBOARD_HELPCAR_STEER) motor More...
 

Detailed Description

this file contains the helper to acces the motor on the main car

Last Updated:

Version
3.2.0a

Definition in file eagle_HelpMot.h.

Function Documentation

◆ set_motor_speed()

void set_motor_speed ( optVAL_t  spe)
inline

sets the speed of the main (data pin: EBOARD_HELPCAR_MAIN) motor

Parameters
spethe speed of the Motor [0;180] 90 means stop

◆ set_steer_angle()

void set_steer_angle ( optVAL_t  ang)
inline

sets the angle of the steering (data pin: EBOARD_HELPCAR_STEER) motor

Parameters
angthe angle of the motor should drive to [0;180]