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.
Dependencies: FreePilot PinDetect mbed-src
Fork of FreePilot_V2-2 by
Diff: base/base.cpp
- Revision:
- 50:07dfcda65732
- Parent:
- 47:d3123bb4f673
- Child:
- 53:7b17d99ba7ee
--- a/base/base.cpp Sat Mar 14 02:00:23 2015 +0000
+++ b/base/base.cpp Sat Mar 14 15:44:33 2015 +0000
@@ -51,7 +51,6 @@
double a_zBias;
bool Authenticated = 0;
-bool freepilot_v2 = true;
char tx_line[80];
void Dispatch(char* line, bool config /* = false */)
@@ -101,14 +100,6 @@
tcenter = atof(Data[1]);
// SetFilter(phaseadv,tcenter, lookaheadtime, scale, fgain );
}
- else if(strcmp(Data[0], "$V2,1") == 0)
- {
- freepilot_v2 = true;
- }
- else if(strcmp(Data[0], "$V2,0") == 0)
- {
- freepilot_v2 = false;
- }
else if(strcmp(Data[0], "$FG") == 0)
{
fgain = atof(Data[1]);
