-
Notifications
You must be signed in to change notification settings - Fork 105
Open
Description
After setting up the repo locally and having everything running, I noticed the robot joints would disconnect and go all over the place. After much investigation I figured out it was the reset function. I think it would be more prudent to use the model reset function in gazebo. It's exposed as a service you can invoke this with something like
from std_srvs.srv import Empty
self.reset_models = rospy.ServiceProxy('/gazebo/reset_world', Empty)
#self.gazebo_model_state_service(model_state)
#self.gazebo_model_configuration_service(model_name='rover', urdf_param_name='rover_description', joint_names=joint_names_list, joint_positions=joint_positions_list)
self.reset_models()
Using that method just causes the model to return to the state it was in from the URDF/XML/launch files.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels