← Back to search

[ROS Q&A] 056 - How to use GetModelState service from Gazebo in python

The Construct Robotics Institute 15:44

5,881 views · 37 likes Watch on YouTube ↗

In this video we show how to get the model state of a model in Gazebo using ROS Topics with Python. See question: https://answers.ros.org/question/261782/how-to-use-getmodelstate-service-from-gazebo-in-python/

Q: I try to get the state of a model in Gazebo but the returned value is always zero.

A: You have to call the /gazebo/get_model_state service passing the name of the model and the name of a link.

Category (YouTube): Science & Technology

Playback is via YouTube's official embedded player. Data from YouTube; Exumo is not affiliated with YouTube.