Added turntable control code. Currently uses PI control and is having lots of mechanical issuesAlso added a main_brad which moves the turntable back and forth a bitadded a return to home value for the turntable
Tweaked motors and encoders test parameters
Added xbee_set_channel(15) (channel 21) to robot main.c
Added read_eeprom to test suite and robot code so we can read the robot ID and BOM type from eeprom
plot.rb also does motors now
Printing an error message when a received packet is too long.
All component numbers start a 0 (e. g. rangefinder: 0..4 rather than 1..5).
Parameters for encoder test as parameters
Clarified left/right on IBOM
Resetting the encoders (robot)/dynamos (station) when starting dump
Implemented turntable positions in BOM test.
Fixed left/right (for real this time)
Fixed: left/right switched
Fixed messages: newline at the end
Fixed messages (all messages which are not commands need to have a # in front)
turntable_rotate_to_position doesn't do anything now so it should be safe to call in the tests
Implemented ibom_update() function. Found the analog ports for the IR LED detectors, and found the pin for the IR LED emitter.
Added shitty position control. Needs encoders to not suck.
added some movement code, although NOT a control law so don't use it
Finished wall init. Calibrates it to the 0 point correctly.
Implemented ibom_set and ibom_read functions.
added command to read all bom
added command to read all bom data
added add command to read all bom data
Added "interactive" command in server modeMoved hardware_init out of interactive_mainMade calling interactive_main/server_main more consistent
Added "start_test bom emitter..." and "start_test bom detector" Bugfix: bom dump reading rangefinder values
trying to debug bom communication
Improved robot sensor dump format
Improved station dump modeAdded station dump ADC modeRemoved IBOM debug functions (superseded by dump mode)
Made is so that hardware_dynamos.c does not mess up anyone else who is usingexternal interrupts by blowing away their interrupt settings.
implemented sending bom data
Added ADC dump on the station
added a call to hardware_init to the interactive_main function in comm_interactive.c
renamed the _encoders files to _dynamos
Improved motors test
added rangefinder data communication
Implemented all robot sensor dump functions
Changed some function signatures for robot communication
Added interactive dump modesChanged RBOM detector number and names
Moved interactive_main to comm_interactive.cAdded multiple menus in interactive mode
Miner script cleanup
Added plotting script
Robot/Station communication:- Implemented timeouts- Implemented command acknowledgement
Added reset_encoders commandFixed bugs
Fixing Station/Robot communication
Implemented encoders test
Implemented motors test
Finished rangefinders test implementation
Finished the bom test (calling the not-finished hardware functions for now)
Moved usb_puts_P from diagnostic station to library
Fixed code duplication
Implemented single encoder testingCleaned up motor direction/wall direction naming
Implemented single motor testing
Station server communication: implemented dummy data sending
Station/server communication: - Implemented backspace handling - Implemented all test starting commands with parameterTests: - Added functions for testing only one component of a kind - Made function names consistent with server commands
Added server communication parameter parsingMisc. fixes
finished sending encoder data
finished storing encoder data
defs for robot -> station communication
robot can send data to station
added infrastructure for robot to send data to station
Eliminated stationCode folder by merging necessary components into station folder.
Changed Makefile target name to target
Added multiple main functions hack
Server communication: basic message processing
Added individual hardware component files
Made filenames more consistentMade function names more consistentIntroduced separate functions for hardware components
Made it compile again
Started work on server communication code
added read encoders command
Added server_comm.c/server_comm.hAdded tests.c/tests.h
Encoder code added, tested, works. There are 720 ticks per dyno shaft revolution.
added encoder read command for station
Added # to the beginning of every USB output line, as it should not be interpreted by the server.