Gazebo | Ignition | Community
Ask Your Question

Olivier's profile - activity

2021-10-14 04:56:19 -0600 asked a question Forward URDF fixed joints to Gazebo

Forward URDF fixed joints to Gazebo Hi, I am working on a the Plankton project where some links are expected to be ava

2015-12-07 14:40:49 -0600 received badge  Famous Question (source)
2015-12-07 14:40:49 -0600 received badge  Notable Question (source)
2015-01-27 12:04:34 -0600 received badge  Popular Question (source)
2015-01-13 03:43:38 -0600 answered a question Gazebo Set or GetWorldPos scaling issue

Ok, the model is divided in two files as the frame is static. The robot is an invisible Gantry ,we will use our modeling to make it move.

The considered plugin is CableTrack, called by robot_cab.xacro. For now it just tries to place the cylinders and the spheres according to the effector position. It also subscribes to the "scale" topic, because the error seemed proportional to the position.

Just to compare I wrote a small Python script that does the same computation for cable 1. The results are the same, but in Python the cable is actually passing through the robot and the frame vertices. So it is more a scaling of the URDF models.

cabletrack.h cabletrack.cpp frame.xacro.sdf robjvcab.xacro.sdf

2015-01-12 09:30:54 -0600 received badge  Student (source)
2015-01-12 04:54:36 -0600 asked a question Gazebo Set or GetWorldPos scaling issue


Im am trying to simulate a cable-driven robot in Gazebo. It is only for visualization, hence I simply try to display the cables where they should stand.

However I am facing a strange scaling issue. The 8 cables should be running from the vertices of the frame to the ones of the robot. On the figure below I am representing that, together with simple spheres that are given a SetWorldPos at the several vertices position. It is crearly visible that the spheres are not displayed at the correct position. The frame spheres are inside the frame, and the robot ones are below the robot (4 of them being hidden in the box).

Actually, there is a ~1.24 factor between the displayed positions and the good positions. Note that when printing the positions, they correspond to the dimension given in the xacro file (I am only using simple geometric primitives). Scaling issue seems to be only in the visualization.

I thought it could be a unit issue ?

image description

2014-03-20 14:37:04 -0600 received badge  Famous Question
2014-03-07 13:26:23 -0600 received badge  Notable Question
2014-02-20 13:21:29 -0600 received badge  Popular Question
2014-02-06 11:35:41 -0600 received badge  Scholar
2014-02-06 07:18:51 -0600 received badge  Editor