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.
odom.cpp@6:ab9f3695633f, 2019-09-29 (annotated)
- Committer:
- GaspardD
- Date:
- Sun Sep 29 20:07:54 2019 +0000
- Revision:
- 6:ab9f3695633f
- Parent:
- 4:efa207509f63
- Child:
- 8:f23601373e8b
jules guesde mc gyver;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
GaspardD | 4:efa207509f63 | 1 | #include "odom.h" |
GaspardD | 4:efa207509f63 | 2 | |
GaspardD | 4:efa207509f63 | 3 | double d_ODOM_distFromSectionStart_m = 0.0; |
GaspardD | 4:efa207509f63 | 4 | double d_ODOM_speed_mps = 0.0; |
GaspardD | 4:efa207509f63 | 5 | double d_ODOM_accel_mpsps = 0.0; |
GaspardD | 4:efa207509f63 | 6 | InterruptIn odom(PF_8); |
GaspardD | 4:efa207509f63 | 7 | |
GaspardD | 4:efa207509f63 | 8 | |
GaspardD | 4:efa207509f63 | 9 | void it_odom() |
GaspardD | 4:efa207509f63 | 10 | { |
GaspardD | 6:ab9f3695633f | 11 | d_ODOM_distFromSectionStart_m += d_dist_one_step_odom; |
GaspardD | 4:efa207509f63 | 12 | return; |
GaspardD | 4:efa207509f63 | 13 | } |