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@4:efa207509f63, 2019-09-29 (annotated)
- Committer:
- GaspardD
- Date:
- Sun Sep 29 14:58:03 2019 +0000
- Revision:
- 4:efa207509f63
- Child:
- 6:ab9f3695633f
algo fonctionnel direction + esc rotation a droite 10 sec a vitesse minimale
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 | 4:efa207509f63 | 11 | d_ODOM_distFromSectionStart_m += 0.06; |
GaspardD | 4:efa207509f63 | 12 | return; |
GaspardD | 4:efa207509f63 | 13 | } |