![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
ft. button press reset
Fork of BeaconDemo_RobotCode by
PsiSwarm/motors.h
- Committer:
- jah128
- Date:
- 2015-10-22
- Revision:
- 6:ff3c66f7372b
- Parent:
- 0:8a5497a2e366
- Child:
- 8:00558287a4ef
File content as of revision 6:ff3c66f7372b:
/* University of York Robotics Laboratory PsiSwarm Library: Motor Functions Header File * * File: motors.h * * (C) Dept. Electronics & Computer Science, University of York * James Hilder, Alan Millard, Homero Elizondo, Jon Timmis * * PsiSwarm Library Version: 0.3 * * October 2015 * */ #ifndef MOTORS_H #define MOTORS_H void set_left_motor_speed(float speed); void set_right_motor_speed(float speed); void brake_left_motor(void); void brake_right_motor(void); void brake(void); void stop(void); void forward(float speed); void backward(float speed); void turn(float speed); void IF_update_motors(); float IF_calibrated_speed(float speed); void IF_init_motors(void); #endif