I had to compensate the bearing being feed into the method. It
was exspecting a float 0-360 and was receiving a float -180 to
180.
This simple fix increased the robot's navivation accuracy
Change-Id: I9f29d8c36a2d2e840bb3ee68303d2c77f6c0e5be
Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
added a calls to set the compass's dest point when directions are
generated, and when a waypoint is changed.
refactored NavigationActivity (sorted)
Change-Id: Ibbb0a5651a12b00dcce4b3973609adf1c1648632
Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
IOIOTruckManager.java
changed initialization of mLeftFrontBumper and mRightBumper to pull down
mode onConnected()
removed mStatLedValue and mapped it's setter/getter methods to the
super's getter setter methods
IOIOTruckValues.java
Added bumper switch port vales
IOIOTruckManager.java
Added 2 new digital inputs for them bumper switches.
Added if blocks to loop() to check the state of the switches. If either
one is pressed, the robot will stop.
the TB6612FNG motor driver.
Added Values to IOIOTruckValues.java for the TB6612FNG
IOIOTruckmanager.java updated drive schema to tank drive, and to use the
TB6612FNGMotorDriver class