Skip to content

Commit ac38bba

Browse files
Rich Mattesrichmattes
Rich Mattes
authored andcommitted
Applied patch #3026117: Position velocity fix
1 parent e133adf commit ac38bba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libstage/model.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -943,7 +943,7 @@ void Model::Move( void )
943943
return;
944944

945945
// convert usec to sec
946-
const double interval( (double)world->sim_interval / 1e6 );
946+
double interval( (double)world->sim_interval / 1e6 );
947947

948948
// find the change of pose due to our velocity vector
949949
const Pose p( velocity.x * interval,

0 commit comments

Comments
 (0)