Skip to content

Commit 651be94

Browse files
authored
Provide the integration_error (odom_error on world file)
so it can be used to fill covariances by wrappers, for example on stageros nav_msgs::Odometry
1 parent 21d3bcd commit 651be94

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

libstage/stage.hh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2999,6 +2999,9 @@ namespace Stg
29992999
/* set the velocity of a model in the global coordinate system */
30003000
void SetGlobalVelocity( const Velocity& gvel );
30013001

3002+
/** Get (a copy of) the model's odometry integration error. */
3003+
Velocity GetOdomError() const { return integration_error; }
3004+
30023005
/** Specify a point in space. Arrays of Waypoints can be attached to
30033006
Models and visualized. */
30043007
class Waypoint

0 commit comments

Comments
 (0)