You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, my issue is quite similar to issue #340. Basically, I wanted to add a camera to the A1 robot already supported in Quad-SDK, following the instructions at Adding a New Type of Robot to Quad-SDK to regenerate the urdf/sdf files, and following the instructions at Tutorial: Using Gazebo plugins with ROS to edit the xacro files to add a camera.
However, I'm running into issues multiple issues after running the rosrun xacro xacro and gz sdf commands:
The final .sdf file is missing the toe links (<link name='toe0'>, etc). The .urdf file still has these links, so it's weird that they're removed. I've found that there can be issues with links being removed if they don't have a large enough mass or an inertia property gazebosim/sdformat/issues/199, but the toe links have a decent sized mass and an inertia matrix specified. How can I get the toe links back?
The sdf file has an extra line included for the gazebo ros plugin:
The line that causes issues is <ignition::corrected_offsets>1</ignition::corrected_offsets>. I've been able to manually remove it, but I feel like manually editing the sdf file can be a problem for development down the line.
Even after correcting for the issue in the bullet point above, running the simulator fails to spawn the A1 robot model, even though the terminal has no explicit error message. However, the following node does die, just without a specific error:
[gazebo-2] process has died [pid 15636, exit code 255, cmd /opt/ros/noetic/lib/gazebo_ros/gzserver -e ode /home/lunarlab/Desktop/quadruped_sim_ws/src/quad-sdk/quad_simulator/gazebo_scripts/worlds/flat/flat.world __name:=gazebo __log:=/home/lunarlab/.ros/log/af49da22-3403-11ef-98ad-c7c55710e0aa/gazebo-2.log].
log file: /home/lunarlab/.ros/log/af49da22-3403-11ef-98ad-c7c55710e0aa/gazebo-2*.log
Sometimes, the following node also dies, but not always. This is in `quad_spawn.launch1:
Basically, the simulator just ends up with a white block for a robot, which stops all simulation. Do ya'll know what I could possible do to avoid these issues? As I mentioned in Issue #340, I tried generating an sdf with a version of 1.6 instead of 1.7 (as that was the previous version in this repo), but the tool failed saying that it was missing a root.sdf file.
The text was updated successfully, but these errors were encountered:
Hi, my issue is quite similar to issue #340. Basically, I wanted to add a camera to the A1 robot already supported in Quad-SDK, following the instructions at Adding a New Type of Robot to Quad-SDK to regenerate the urdf/sdf files, and following the instructions at Tutorial: Using Gazebo plugins with ROS to edit the xacro files to add a camera.
However, I'm running into issues multiple issues after running the
rosrun xacro xacro
andgz sdf
commands:<link name='toe0'>
, etc). The .urdf file still has these links, so it's weird that they're removed. I've found that there can be issues with links being removed if they don't have a large enough mass or an inertia property gazebosim/sdformat/issues/199, but the toe links have a decent sized mass and an inertia matrix specified. How can I get the toe links back?The line that causes issues is
<ignition::corrected_offsets>1</ignition::corrected_offsets>
. I've been able to manually remove it, but I feel like manually editing the sdf file can be a problem for development down the line.Sometimes, the following node also dies, but not always. This is in `quad_spawn.launch1:
Basically, the simulator just ends up with a white block for a robot, which stops all simulation. Do ya'll know what I could possible do to avoid these issues? As I mentioned in Issue #340, I tried generating an sdf with a version of 1.6 instead of 1.7 (as that was the previous version in this repo), but the tool failed saying that it was missing a
root.sdf
file.The text was updated successfully, but these errors were encountered: