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: BNO055_fusion mbed
Diff: LOCALIZE.h
- Revision:
- 3:c58eb4be51de
- Parent:
- 2:634c1adf89b2
- Child:
- 4:d70375cfa533
--- a/LOCALIZE.h Wed Mar 02 07:21:05 2016 +0000
+++ b/LOCALIZE.h Thu Mar 03 01:00:32 2016 +0000
@@ -31,10 +31,12 @@
public:
LOCALIZE(I2C& y_i2c, I2C& x_imu_i2c, PinName imu_reset);
int init(void);
+ void get_raw_xy(void);
void get_angle(LOCALIZE_xya *xya);
void get_xy(LOCALIZE_xya *xya);
protected:
+ int _rx_p, _rx_n, _ry_p, _ry_n;
I2C _y_i2c;
I2C _x_imu_i2c;
BNO055 _imu;