Hopefully final fix for circles
Paren fixes for circles
More fixes
Even more updates to circles
More fixes for circles
Hopefully unbroke simulator with circles
Commented out code that broke simulator
Added circle collisions
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.
Removed UI/, it has been merged into station/main
Added message_set_motors_timeAdded message_set_motors_off
fixed compiler warnings by including library files
Replace smart_run_around_fsm.c with the one that simulator has been using, which apparently uses the new rangefinder interface.
Some changes to match the updated library.
Do all tests if button 1 is pressed after startup.
Added robot codeAdded robot/station communication
More tests
Removed killing of the terminal process from the MakefileIt's a bad idea if you are using a terminal for a different port.
Added wireless test behavior
Added missing inttypes header
Added self test and communications test
Added OS detection to MakefileAdded robot and station directories
Added some papers guiding the current approach, and commented some.
Modified sensor_map to use 'model_sensor' to plug in a sensor model to map with. Model sensor is meant to be an array of sensor models, one for distances from 10cm to 70cm.
make dist
Generated documentation for new orbs code
Fixed Makefile docsFixed documentation
Added usb_puth* to serial.c/serial.h
Merged new orbs codeAdded atomic.hFixed whitespace in eeprom.h
it's slightly better
Measured timingFixed interrupt handler bug
Fixed synchronizationTested robustness
Added functions to allow for user-viewable data dump versus a computer-usable data dump. Code will sample specified ports and print values. Was used to determine which ports are being used for the inverse BOM.
Includes code to sample all analog inputs. Used to determine which ports the inverse BOM are connected to.
Committing some test files, as well as an updated version of the sensor mapping code.
Added a heavily modified version of map.m called sensor_map, which first constructs a sensor model, then maps data according to the sensor model. NEEDS to be converted to log-odds to speed up computation. There is still a transformation that needs to take place per datapoint per sensor, but ...
Small update to code which reads analog ports.
Cleanup/Documentation
Cleaned up lights.hImplemented predefined color settingImplemented binary/PWM mode switching
moved the smart-runaround stuff from template to a new folder and restored the old templateimplemented usb_put* which just outputs to stdio
actually found a bug in smar run around using the simulator where the omega is > 255, which causes the robot in the simulator to stop moving.
Also added a hack to make the robot start at a non-90 degree angle
Added library for wireless
Put smart run around FSM in autonomous mapping programRobot goes into BACKWARDS mode a few seconds after starting up and apparently cannot be diverted
Saved 53%-62% processor time on orbs sorting
made packet group and packet type for odometry packets separate #defines
got rid of old stuff for driving from the computer
Updated README files to better reflect folder contents.
Continued to reorganize file structure. Added README files to upper level file structure.
Reorganizing file structure.
Server code.
The server code.
Evan's UI code.
Added code to station code version 1 to read from analog wheel port
Added server code.
Smart run around mostly works!!!
Thanks to Brian for fixing a bug in motion codedivide by 0 zero error in motion.c
Makefile cleans .csim and copy it over
GUI no longer fill the robot
changed the sigchld handler to only wait on robot proc's so that it doesn't try to wait on gui things
Polished file. Added includes
Bugfix: Orbs not turned off at the beginning of the PWM cycle.
Changed template code which displays orbs.
Test code
Added atomic.h from the avr_libc (according to the documentation, it should be in the avr_libc distribution, but it seems to be missing)
Implemented triple bufferingOptimized sorting
Fixed timingProfiled sorting
Implemented lights sorting, interrupt handlers
Reverted changes accidentally committed
Basic orb PWM functionality on Timer0
added some vague file type checking to prevent running simulator in simulatorupdated the makefile to make simulator executable filenames end in .csim
Timer experiments
OS autodetection
Makefile OS autodetection
cleanup on robot exit
Test code to clarify timer operationCreated data structures
simulating rangefinder and smart run around
changed the position of IR sensors defined in libsimlibsim and libdragonfly use different numbering for IRs (#418, #419)added smart_run_around to template, right now it just hits wall, backs up then segfaults
Cleaned up the code, someone help figure out the memory error!
slowed down motion and hacked more crap
allow rotation while stuck
awful hack for collisions that appears to work
Can now move robots with the GUI, deletion built into GUI but doesn't work in the backend.
Added code for circles in environment. Still needs to be tested
Fixed whitespace at the end of eeprom.hImplemented binary orb settings
Reorganized coordinate transforms in the GUI.
Added code for communication between a computer and the USB hub.
Added functions for printing hexadecimal numbers to USB, see serial.h
Prepared the library for refactoring- Added a library_test behavior (general testing playground)- Modified projects/libdragonfly/Makefile and behaviors/library_test/Makefile because there is no code directory in this branch
Robots drawn to scale.
Branch for the library fixes