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: odom.cpp
- Revision:
- 4:efa207509f63
- Child:
- 6:ab9f3695633f
diff -r 1b7eb426247e -r efa207509f63 odom.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/odom.cpp Sun Sep 29 14:58:03 2019 +0000
@@ -0,0 +1,13 @@
+#include "odom.h"
+
+double d_ODOM_distFromSectionStart_m = 0.0;
+double d_ODOM_speed_mps = 0.0;
+double d_ODOM_accel_mpsps = 0.0;
+InterruptIn odom(PF_8);
+
+
+void it_odom()
+{
+ d_ODOM_distFromSectionStart_m += 0.06;
+ return;
+}