Add docking correction procedure
Add DEVIATION_CORRECTION state for a more precise docking maneuver
Introducing error states (negative lable): DOCKING_ERROR, REVERSE_TIMEOUT_ERROR, CALIBRATION_ERROR, WHITE_DETECTION_ERROR, PROXY_DETECTION_ERROR, NO_CHARGING_POWER_ERROR (not in use), UNKNOWN_STATE_ERROR.Bootom sensors can be calibrated for specific colors with MSG_CALIBRATE_BLACK/WHITE,...
Add overflow protection for accumHist, linit correction speed to MAX_CORRECTION_SPEED
Add struct for CAN messages
Add struct for line follow PID
Change unsigned to signed int in order to display negative delta value
Add shell request to print the battery state
Add check for frontal object, rotate if frontal object is detected
Deactivate userthread in powermanagement
Refactor
Refactor can msg for line follow speed
Remove whitespace
Add CAN message for transmitting the userthread state
Add ERROR state to FSM
Reastructure the PID conbtroller to use more accurate values, add the i and d proprotion to the controller
Bugfix: white and protection will not be active, for some time, after RELEASE state
Add new correction behaviour when amiro drives to the loading station and fails to dock, change undock behaviour (AMiRo rotates clockwise 20 degrees to free from station magnet, drives 0.5 cm, rotates back and drives again
Add voltage check for docking: activate pin gets requested, if voltage is detected the state is changed to CHARGING otherwise the docking will repeate
Add debugging methods
Deactivate automatic movement when values of sensoring exceed some threshold
Add debugging control: Send messages from PM to test functionality of DiWheel state machine
Amiro now stops befor obstacles, detected by the proxy ring
Refactor userthread, change optimazation level in Makefile
Add requestCharging() to send CAN msg to PowerManagement in order to enable the charging pins, add debugging mehtod setStrategy() in Porermanagement
Refactor and add doc
Add line following
Add control parameter for linefollowing in userthread to manage CAN communication
Add SET_LINE_FOLLOW_MSG id
Add final state maschine for userthread, it contains functionality for standard line following as well as the docking procedure
Add constant SET_LINE_FOLLOW_MSG
Fix docking behaviour, implement ability to trigger line following (different strategys as well as just start and stop) over CAN
Add ID to switch line follow strategy over CAN
Enable several modes of linefollowing in the DiWheelDrive userthread
Refactor userthread, remove unused code
Register if docking on the loading station was successful, checkForMotion() blocks if any motion is detected, instead of waition for a fixed time
Implement full deactivation of the PID for wheel control, after activation the motors remain stationary
Enable, disable motor pwm
Implement driving towards loading station
Implement differnet line following strategies
Implement different line following strategies and stopping if sensor detects white
New update speed for can bus -> 100hz
New error function
Add first part of ziegler method, refine shell comands to parse output via python
Implement adaptive threshhold for line Following. AMiRo can now be calibrated and the sensor values with the maximum thesh will be set as guiding thresholds
Investigating delta
Constants added
Create PID controller which needs adjustment
Create rudimentary line following with front proxi sensors
updated README to ChibiOS ver_2.6.8 commit
Added compatibility for AMiRo-BLT 1.1.x
Fix stack overflow in DiWheelDrive due to access of non-started gyro thread
Signed-off-by: Timo Korthals <tkorthals@cit-ec.uni-bielefeld.de>
Wii steering slightly enhanced.It is now possible to use the controller horizontally as well as vertically.
README.txt slightly updated.
All outputs that were still printed to SD1 (on-board serial connector) have been switched to global.sercanmux1 (SD1-CAN-multiplexer)
Integrated the Wiimote demo to the PowerManagement logic.
The blouetooth drivers were slightly enhanced.
Constants.h: renamed CAN::UPDATE_PERIOD_MSEC to CAN::UPDATE_PERIOD
Added functions to reset the motor gains.
Fixed typo in authors list
Added some additional information in the README.txt file.
README.txt: deleted surplus blank line.
FIX: Odometry thread stack size increased to prevent stack overflows.
README.txt updated:- maximum line width was increased to 80 (from 70)- several updates on content and structure
Minor tweak on the order in which the devices are compiled and flashed.
Adapted the OS to be compatible with the new bootloader version 1.0.
flash.mk: removed debug output
Merged recent modifications from development branch:- proximity sensor frequency was increased from 8Hz to 125Hz- system synchronization frequency was increased from 8Hz to 16Hz- I2C bus clearing functionality was improved- magnetometer and gyroscope data are now available to the whole system...
Re-inserted several Doxygen comments, which had been removed earlier.
CITEC acknowledgment text was modified to the preferred wording.
Initial commit of AMiRo-OS version 1.0. This is the first version released open source.