When we are developing ROS Programs, it’s common to use “print” or “rospy.loginfo” to print some text on the screen in order to see if our program is working as expected.
The problem is that sometimes the “rospy.loginfo” doesn’t work and we have no idea why it happens.
In this video we show how to make the rospy.loginfo shows the texts on the screen, by answering a real question asked on ROS Answers.
If you want to see the question and get the code used on the video, you can find it on the following link:
If you are interested in any element of the video to be explained in extra videos please leave a comment telling us what you would like to be explained in more detail.
A video describes an already set up online environment where to teach ROS based robots to do things using the Open AI Gym. Everything is already set up and working. You just have to modify the environments to your necessities.
[irp posts=”8239″ name=”Using OpenAI with ROS”]
This video and the adaptation of OpenAI Gym Gazebo for the ROS Development Studio has been done by Vengatesan Govindaraju https://www.linkedin.com/in/vengatesang/
I then used one robot I had to test the interaction, and it intercated perfectly, it didn’t go through.
We need more info to get to the solution but, definetly is not the box. The problem may come from some world parameters, or from the robot itself. Maybe the meshes of the feet are to simple or don’t have enough subdivisions in the mesh. Maybe its ultra heavy or maybe its something configured that avouds colisions with certain elements.
I know this is an old question but I think even now because knowing how to create an hexapod with plugin that moves the robot around and with an SDF model not a URDF might be useful to someone.
Check this video answer which explaining a bit the process and the result:
So I there wasn’t anything wrong with the model. It must have been something related to the plugin or some strange library error.
I essentially created a gazebo plugin that moves the joints using SetPosition and PIDs and it works just fine. I’m posting here the code I can.
Hope this is useful for you.
—
Answeing the question made in GAzeboAnswers: http://answers.gazebosim.org/question/12044/hexapod-simulation-not-working/
Here you have some sources used for this micro tutorial: http://gazebosim.org/tutorials?cat=guided_i&tut=guided_i1 http://osrf-distributions.s3.amazonaws.com/gazebo/api/dev/classgazebo_1_1physics_1_1JointController.html