44 #define VEHICLE_ODOMETRY_COVARIANCE_MATRIX_X_VARIANCE 0 45 #define VEHICLE_ODOMETRY_COVARIANCE_MATRIX_Y_VARIANCE 6 46 #define VEHICLE_ODOMETRY_COVARIANCE_MATRIX_Z_VARIANCE 11 47 #define VEHICLE_ODOMETRY_COVARIANCE_MATRIX_ROLL_VARIANCE 15 48 #define VEHICLE_ODOMETRY_COVARIANCE_MATRIX_PITCH_VARIANCE 18 49 #define VEHICLE_ODOMETRY_COVARIANCE_MATRIX_YAW_VARIANCE 20 50 #define VEHICLE_ODOMETRY_COVARIANCE_MATRIX_VX_VARIANCE 0 51 #define VEHICLE_ODOMETRY_COVARIANCE_MATRIX_VY_VARIANCE 6 52 #define VEHICLE_ODOMETRY_COVARIANCE_MATRIX_VZ_VARIANCE 11 53 #define VEHICLE_ODOMETRY_COVARIANCE_MATRIX_ROLLRATE_VARIANCE 15 54 #define VEHICLE_ODOMETRY_COVARIANCE_MATRIX_PITCHRATE_VARIANCE 18 55 #define VEHICLE_ODOMETRY_COVARIANCE_MATRIX_YAWRATE_VARIANCE 20 56 #define VEHICLE_ODOMETRY_LOCAL_FRAME_NED 0 57 #define VEHICLE_ODOMETRY_LOCAL_FRAME_ENU 1 58 #define VEHICLE_ODOMETRY_LOCAL_FRAME_OTHER 2 74 float pose_covariance[21];
81 float velocity_covariance[21];
87 static constexpr uint8_t COVARIANCE_MATRIX_X_VARIANCE = 0;
88 static constexpr uint8_t COVARIANCE_MATRIX_Y_VARIANCE = 6;
89 static constexpr uint8_t COVARIANCE_MATRIX_Z_VARIANCE = 11;
90 static constexpr uint8_t COVARIANCE_MATRIX_ROLL_VARIANCE = 15;
91 static constexpr uint8_t COVARIANCE_MATRIX_PITCH_VARIANCE = 18;
92 static constexpr uint8_t COVARIANCE_MATRIX_YAW_VARIANCE = 20;
93 static constexpr uint8_t COVARIANCE_MATRIX_VX_VARIANCE = 0;
94 static constexpr uint8_t COVARIANCE_MATRIX_VY_VARIANCE = 6;
95 static constexpr uint8_t COVARIANCE_MATRIX_VZ_VARIANCE = 11;
96 static constexpr uint8_t COVARIANCE_MATRIX_ROLLRATE_VARIANCE = 15;
97 static constexpr uint8_t COVARIANCE_MATRIX_PITCHRATE_VARIANCE = 18;
98 static constexpr uint8_t COVARIANCE_MATRIX_YAWRATE_VARIANCE = 20;
99 static constexpr uint8_t LOCAL_FRAME_NED = 0;
100 static constexpr uint8_t LOCAL_FRAME_ENU = 1;
101 static constexpr uint8_t LOCAL_FRAME_OTHER = 2;
API for the uORB lightweight object broker.
ORB_DECLARE(vehicle_odometry)