Provides methods for working with motors. More...
Go to the source code of this file.
Functions | |
VF EXPORT_SYM int | get_motor_position_counter (int motor) |
VF EXPORT_SYM int | gmpc (int motor) |
VF EXPORT_SYM void | clear_motor_position_counter (int motor) |
VF EXPORT_SYM void | cmpc (int motor) |
VF EXPORT_SYM int | move_at_velocity (int motor, int velocity) |
VF EXPORT_SYM int | mav (int motor, int velocity) |
VF EXPORT_SYM int | move_to_position (int motor, int speed, int goal_pos) |
VF EXPORT_SYM int | mtp (int motor, int speed, int goal_pos) |
VF EXPORT_SYM int | move_relative_position (int motor, int speed, int delta_pos) |
VF EXPORT_SYM int | mrp (int motor, int speed, int delta_pos) |
VF EXPORT_SYM void | set_pid_gains (int motor, short p, short i, short d, short pd, short id, short dd) |
VF EXPORT_SYM void | get_pid_gains (int motor, short *p, short *i, short *d, short *pd, short *id, short *dd) |
VF EXPORT_SYM int | freeze (int motor) |
VF EXPORT_SYM int | get_motor_done (int motor) |
VF EXPORT_SYM void | block_motor_done (int motor) |
VF EXPORT_SYM void | bmd (int motor) |
VF EXPORT_SYM int | setpwm (int motor, int pwm) |
VF EXPORT_SYM int | getpwm (int motor) |
VF EXPORT_SYM void | fd (int motor) |
VF EXPORT_SYM void | bk (int motor) |
VF EXPORT_SYM void | motor (int motor, int percent) |
VF EXPORT_SYM void | off (int motor) |
VF EXPORT_SYM void | alloff () |
VF EXPORT_SYM void | ao () |
Provides methods for working with motors.
VF EXPORT_SYM int move_relative_position | ( | int | motor, |
int | speed, | ||
int | delta_pos | ||
) |
VF EXPORT_SYM int move_to_position | ( | int | motor, |
int | speed, | ||
int | goal_pos | ||
) |