Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use world solver in ocean waves world #236

Merged
merged 2 commits into from
Mar 24, 2022

Conversation

scpeters
Copy link
Contributor

@scpeters scpeters commented Mar 10, 2022

This reduces noise in the force-torque sensor readings and joint velocity measurements to address #167.

Default quick-step solver

This has noise in the force-torque sensor outputs but even more significantly in the joint velocity measurements.

dave_demo_quick.mp4

World-step solver

This significantly reduces noise in all joints, with only the oberon/pitch joint showing noise in its velocity measurement.

dave_demo_world.mp4

cc @crvogt

This reduces noise in the force-torque sensor readings.

Signed-off-by: Steve Peters <[email protected]>
@mabelzhang
Copy link
Contributor

Note: Might need to add to other demos as well

@Yadunund
Copy link
Member

@scpeters I just tried this out with the integrated world and I'm seeing the terminal flooded with these messages

ODE Message 3: LCP internal error, s <= 0 (s=-7.8712e+02)

ODE Message 3: LCP internal error, s <= 0 (s=-8.9315e+09)

@scpeters
Copy link
Contributor Author

@scpeters I just tried this out with the integrated world and I'm seeing the terminal flooded with these messages

ODE Message 3: LCP internal error, s <= 0 (s=-7.8712e+02)

ODE Message 3: LCP internal error, s <= 0 (s=-8.9315e+09)

sorry I forgot to mention that. This message is annoying but expected with this solver. There is an API call to disable these messages (from bitbucket pull request 2512 merged in gazebosim/gazebo-classic@dacd915). There is currently a way to disable the console messages via the C++ API (world->GetPhysicsEngine()->SetParam("ode_quiet", true);), but I'll see if I can make it work from an SDFormat parameter as well.

@scpeters
Copy link
Contributor Author

@scpeters I just tried this out with the integrated world and I'm seeing the terminal flooded with these messages

ODE Message 3: LCP internal error, s <= 0 (s=-7.8712e+02)

ODE Message 3: LCP internal error, s <= 0 (s=-8.9315e+09)

sorry I forgot to mention that. This message is annoying but expected with this solver. There is an API call to disable these messages (from bitbucket pull request 2512 merged in osrf/gazebo@dacd915). There is currently a way to disable the console messages via the C++ API (world->GetPhysicsEngine()->SetParam("ode_quiet", true);), but I'll see if I can make it work from an SDFormat parameter as well.

I think we can set it from an SDFormat parameter: see gazebosim/gazebo-classic#3194

Copy link
Member

@Yadunund Yadunund left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the clarification.
Do we want to add the <ode_quiet>1</ode_quiet> element here? I'll approve this PR in case nonetheless.

Once gazebosim/gazebo-classic#3194 is released, this will silence the
LCP Internal Error console messages.

Signed-off-by: Steve Peters <[email protected]>
@scpeters
Copy link
Contributor Author

Thanks for the clarification.
Do we want to add the <ode_quiet>1</ode_quiet> element here? I'll approve this PR in case nonetheless.

added in 7a23e50

@Yadunund
Copy link
Member

Created a ticket for updating all other worlds in the future. #245

@Yadunund Yadunund merged commit ec03d3a into Field-Robotics-Lab:master Mar 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants