TRR 2018 / Mbed 2 deprecated biniou-TRR2019-DLVV

Dependencies:   mbed MPU6050

odom.h

Committer:
ohlimi2
Date:
2019-10-05
Revision:
15:0f89d1ff860d
Parent:
8:f23601373e8b

File content as of revision 15:0f89d1ff860d:

#ifndef H_ODOM
#define H_ODOM

#include "mbed.h"
#include "chassis_mode.h"

/*
Globals
*/
extern InterruptIn b_ODOM_odom;

extern double d_ODOM_distFromSectionStart_m;
extern double d_ODOM_distFromGlobalStart_m;

extern double d_ODOM_speed_mps;
extern double d_ODOM_accel_mpsps;


extern double d_ODOM_computed_pos_m;

extern int i_ODOM_last_time_ms;
extern int i_ODOM_time_ms;

/*
Functions
*/
void it_odom();
void update_speed();

#endif