Add covariance info to Pose and Vel

Fix getMode bug
This commit is contained in:
Jacob Perron 2016-04-14 16:40:56 -07:00
parent 1133a0e4bb
commit 82b01e4057
5 changed files with 149 additions and 13 deletions

View file

@ -153,10 +153,10 @@ namespace create {
};
enum CreateMode {
MODE_OFF = OC_POWER,
MODE_PASSIVE = OC_START,
MODE_SAFE = OC_SAFE,
MODE_FULL = OC_FULL,
MODE_OFF = 0,
MODE_PASSIVE = 1,
MODE_SAFE = 2,
MODE_FULL = 3,
MODE_UNAVAILABLE = -1
};
@ -226,6 +226,7 @@ namespace create {
float x;
float y;
float yaw;
float covariance[9];
};
typedef Pose Vel;