Changed twi_run() loop to smb_poll() in a loop
Fixes to BOM bootloader. Works now!!! YAAAAAY
Changed strt_pgrm() to be a function instead of macro
The linker flags now define its location, so it's an rcall instead of icall.Also, the BOM code is built as C now, not C++.
Added blinky test program
Added makefile magic to program bootloader in correct place
Bootloader code test
Added missing while loop in tiny-twi
Arbitrary length i2c test
Add bootloader files
Add .gitignore to bom directory
Sync i2c testing file
Testing sync i2c
Add sync twi library
Set last_bit to 0 to get first bit properly
Debug pin test
Bugfixes so bom code compiles
Finish up bom code cleanup
Begin cleaning up bom code
Wrote main bom code function
Added send queue
Implemented tiny-twi reading
A few fixes to tiny-twi. Recieving works now!
Change twi buffer register to data register
Get bom i2c start interrupt working
Fixed minor compile errors/warnings
Forgot to save merge resolution last time... fixed
Added sink/release sda/scl
Added assembly target to bom Makefile
Twi receiving testing code
Adding tiny-twi header
Adding partly finished attiny i2c code
Fixes to BOM sending code. Now works! Yay!
Added bom sending code (not yet tested)
Adding initial scout_avr/bom/ code
Blue and green are switched on the schematic, so I had to switch them inthe code.
Disabled stepper movement and cleaned up code a bit
Changed cliff_status_changed to a singe int8 bitmask
Fixed AVR code for new message locations
Also finished and tested cliffsensors. They work.
Added cliffsensor/ROS code to main file (untested)
More fixes to launch scripts (poorly written by Tom
Merge branch 'master' of ssh://roboclub.org/home/svn/scoutos
Fixed launch script error
Removed headers, sonar uses custom timestamp, added code to manually update timestamp
Added rosscout.launch in libscout
On startup, it will now launch rosscout instead of rosserial. rosscoutincludes rosserial, motors, encoders, and any other helper nodes addedlater.
Added position to published sonar messages
Adding Charles's headlight code
Committing Anson's BOM changes
Added ENABLE output for stepper
This will hopefully solve the problem of the stepper heating excessivelyand constantly using current.
Fixed rosserial; now works with Gumstix
Changed stepper to always step in step_sweep
Also added whole/half step as a separate setting, with a singlestep_do_step function. Also added stepper to main.cpp.
Signed-off-by: Anson Wang <email@example.com>
Range sensors work now!
Fixed AVR hanging when sonar not connected
Began filling in ROSsy main function
Some changes to the stepper library
A few bug fixes, and changed various values to use ms instead of us dueto integer overflow problems.
BOM testing code in main.cpp works with rosserial
Changed scout_avr's main.cpp to use rosserial
Fixed problem with "make clean all" globs failing
Finally automated generation of ros_lib for rosserial!
Changed sonar/bom timer to 64 prescalar
Also fixed bug in the bom's timer usage, where it depended on an integeroverflow that was no longer occuring due to the higher F_CPU.
Modified to compile.
wrote code for the stepper motor. Requires that the caller calls init withthe time that the function returned by the init function will be called.then the user must call this function at the given constant time intervalthis allows for sweep to work.Library also allows for independent control of the stepper.
Fixed interrupt bug in AVR serial code
Serial read disabled interrupts at the start, and returned beforereenabling them. Also, made a few other changes in the rx interrupt forcleaner code. Also, sped up programming in Makefile.
Changed range sensor to read on-demand
Fixed pins to work with 128rfa1 instead of 2560
Moved some sensors to different timers
Most notably, change the ROS millisecond counter to share the BOM 38 kHztimer instead of having its own. The range sensor and BOM rx will nowshare timer 5, but they both have to be fixed for the higher F_CPU.
Changed "download" to "program" in scout_avr Makefile
Added check bits back into BOM. oops...
Some fixes to BOM, which is now tested and it works
Added initial BOM code
Only the sending code has been tested; receiving will soon be tested aswell.
Fixed range sensor code to support 2
Also, tested (with only one sensor) and it seemed to work adequately.
Fixed compiler errors in scout_avr
Added second range sensor to scout_avr
Not yet tested.
Added and tested range sensor to scout_avr
Max output should be 37500 (max observed value actually ~38600), and itmay be scaled down later. Also, the second sonar will need to be addedlater... forgot about that...
Also, added an option to avrdude in the Makefile which makes it upload...
Fixed problem with serial rx. Rosserial now works.
Tested rosserial a little with a 328.
It doesn't quite work yet. Writing works, reading has not been tested,and rosserial acts weirdly inconsistent.
Added rx buffer for rosserial
Added preliminary rosserial code, in scout_avr/
Everything in src/ros_lib was copied from the rosserial_client packageor generated with 'rosrun rosserial_client make_library.py ...'. Thecontents of the Makefile are just for testing whether it compiles. This...