Skip to content

Commit

Permalink
Adds a fix for the other Check function, following c788884
Browse files Browse the repository at this point in the history
  • Loading branch information
Puttichai committed Jan 10, 2024
1 parent 3ceb957 commit 55c9fca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libopenrave/planningutils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3952,7 +3952,7 @@ int DynamicsCollisionConstraint::Check(const std::vector<dReal>& q0, const std::
while( istep < totalSteps && tcur < timeelapsed ) {
// Check the current state (q, qd, qdd)
int nstateret = 0;
if( istep >= start ) {
if( istep >= start || !bComputeNewTimeStep ) {
nstateret = _SetAndCheckState(params, _vtempconfig, _vtempvelconfig, _vtempaccelconfig, maskoptions, filterreturn);
if( !!params->_getstatefn ) {
params->_getstatefn(_vtempconfig);
Expand Down

0 comments on commit 55c9fca

Please sign in to comment.