error: gazebo_ros_api_plugin.cpp Disablign rendering has not been implemented, rendering is always enabled
I modified the rrbot tutorial, and write a ros node who depend gazebo_ros and roscpp to control the model simulated. It seems worked but everytime the model move there will be an error like follow:
Error [gazebo_ros_api_plugin.cpp:901] disablign rendering has not been implemented, rendering is always enabled
part of my node code is like follow:
ros::ServiceClient client = n.serviceClient<gazebo_msgs::GetWorldProperties>("/gazebo/get_world_properties");
gazebo_msgs::GetWorldProperties simtime;
.................................
while (ros::ok())
{
.................
if(client.call(simtime)){
ROS_INFO("Simtime: %lf", simtime.response.sim_time);
}else
{
ROS_ERROR("Failed to call service");
return 1;
}
....................
}
I'm not very familiar with gazebo ....The gazebo_ros_api_plugin.cpp worked already when i use the gazebo_ros,no? Need i implemente the gazebo_ros_api_plugin.cpp somewhere? i fund this file by the way. Need i find an instant of this class in my node?? Thanks for help...
I get the same error message when I try to get the gazebo world properties. Anyone know what this is about? Here is the code I am calling up to the line that seems to generate the error message: def get_world_properties(): global g_get_world_properties try: if not g_get_world_properties: rospy.wait_for_service('/gazebo/get_world_properties') g_get_world_properties = rospy.ServiceProxy('/gazebo/get_world_properties', GetWorldProperties) etc