Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: algo.cpp
- Revision:
- 5:ee37889edcab
- Parent:
- 4:66b2a94a607f
diff -r 66b2a94a607f -r ee37889edcab algo.cpp
--- a/algo.cpp Fri Mar 08 21:54:08 2013 +0000
+++ b/algo.cpp Sat Mar 09 06:10:08 2013 +0000
@@ -49,6 +49,7 @@
//Further evalutes desired throttle left and right values from PID output and throttle input
void pid()
{
+ /* Commented for offline testing.
if (brake > 10 && throttle > 1.5) // What is max input when brake is NOT actuated???
{
flag_throttle_brake_plausibility = true;
@@ -90,6 +91,7 @@
{
rpm_Right = dead_rpm;
}
+ */
// steering angle to turnradius
if (abs(steering)<7)