History | View | Annotate | Download (1.54 KB)
Smart run around FSM + mapping works!!! I don't know what I did.
Some changes to match the updated library.
Put smart run around FSM in autonomous mapping programRobot goes into BACKWARDS mode a few seconds after starting up and apparently cannot be diverted
made packet group and packet type for odometry packets separate #defines
got rid of old stuff for driving from the computer
Changed the robot dir to drive and added a dir to work on autonomous mapping
Cleaned up test.c and robot_main.c in mapping.
cleaning up robot code for mapping
driving code interprets odometry data correctly, uses non-blocking key listener and can receive packets continually
updated robot and server code to use odometry. having problems with theta because it is a double (4 bytes on robot, 8 bytes on server)
Robot sends updates 50 times per second. Robot remote control program doesn't mess up terminal upon exit.
added remote control to robot code that sends mapping data
Wireless output works.
robot_main.c sends the raw sensor data for mapping points to USB. Commented out is untested code to send it over wireless and utilize the (deprecated?) odometry functions.
Some changes.
Cleaning up, trying to be safe.
Maybe all of this nonsense will go away now?