Not finished. This is my first attemp to make an autonomous vehicle for the Sparkfun Autonomous Competition (https://avc.sparkfun.com/) of June 2015.
Dependencies: FXOS8700CQ SDFileSystem mbed
Fork of AVC_Robot_Controled_Navigation by
- For my autonomous robot I will use a GPS, magnometer, accelerometer, and encoders.
- I control my robot with a remote control to save the GPS points (detect turns) using a xBee radio and save them to a file in a SD card.
my_libraries/encoders.h@5:b384cf06de76, 2014-11-07 (annotated)
- Committer:
- gerardo_carmona
- Date:
- Fri Nov 07 05:12:50 2014 +0000
- Revision:
- 5:b384cf06de76
- Parent:
- 3:bd16e43ad7be
Not finished!
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
gerardo_carmona | 3:bd16e43ad7be | 1 | #ifndef encoders_h |
gerardo_carmona | 3:bd16e43ad7be | 2 | #define encoders_h |
gerardo_carmona | 3:bd16e43ad7be | 3 | |
gerardo_carmona | 3:bd16e43ad7be | 4 | #define encoder_rigth 1 |
gerardo_carmona | 3:bd16e43ad7be | 5 | #define encoder_left 2 |
gerardo_carmona | 3:bd16e43ad7be | 6 | |
gerardo_carmona | 3:bd16e43ad7be | 7 | void encoders_to_zero(); |
gerardo_carmona | 3:bd16e43ad7be | 8 | void falling_encoder_right(void); |
gerardo_carmona | 3:bd16e43ad7be | 9 | void falling_encoder_left(void); |
gerardo_carmona | 3:bd16e43ad7be | 10 | float encoder(int sensor_encoder); |
gerardo_carmona | 3:bd16e43ad7be | 11 | void init_encoders(); |
gerardo_carmona | 3:bd16e43ad7be | 12 | |
gerardo_carmona | 3:bd16e43ad7be | 13 | #endif |