Quantcast
Channel: Gazebo: Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 7017

When trying to set_velocity_plugin I get make error: class gazebo::physics::World’ has no member named ‘GetPhysicsEngine’

$
0
0
I am using Gazebo v 9.4.1. I wish to use the set_velocity_plugin as described in the [tutorial](http://gazebosim.org/tutorials?tut=set_velocity#SetJointVelocityInstantaneously/"Tutorial"), the error that I get is error: ‘class gazebo::physics::World’ has no member named ‘GetPhysicsEngine’; did you mean ‘SetPhysicsEnabled’? physics::PhysicsEnginePtr engine = world->GetPhysicsEngine(); as the method **GetPhysicsEngine** isnt there in the upated Api [(Link Here)](http://osrf-distributions.s3.amazonaws.com/gazebo/api/dev/classgazebo_1_1physics_1_1World.html). I have found the function available in API 1.3.0 [(Link Here)](http://osrf-distributions.s3.amazonaws.com/gazebo/api/1.3.0/classgazebo_1_1physics_1_1World.html). So, do we need to update the plugin according to the new API version? Is there any plugin similar to Set_Velocity_Plugin compatible with the latest Gazebo version? Thanks.

Viewing all articles
Browse latest Browse all 7017

Trending Articles