Download here - The Rawseeds Project

Transcript
Source Code Description......................................................................................................................................... 27 The language ...................................................................................................................................................... 27 The environment................................................................................................................................................. 27 The compiler ...................................................................................................................................................... 27 The code ............................................................................................................................................................. 27 definitions.h ................................................................................................................................................... 28 ROBOT MAIN.c ........................................................................................................................................... 28 rs232.c ........................................................................................................................................................... 29 controller.c ..................................................................................................................................................... 30 eeprom.c ........................................................................................................................................................ 30 Chapter 5 - How to use IRABoard ............................................................................................................................... 31 Test program in C/C++ Language........................................................................................................................... 31 Commands .............................................................................................................................................................. 33 Enable Motors .................................................................................................................................................... 33 Disable Motors ................................................................................................................................................... 34 Change Set point Value ...................................................................................................................................... 34 Configuring parameters ...................................................................................................................................... 35 Using internal EEPROM .................................................................................................................................... 36 Return distance or speed..................................................................................................................................... 37 Debug information ............................................................................................................................................. 38 Auto tuning parameters ...................................................................................................................................... 39