ethz-asl / rotors_simulator

RotorS is a UAV gazebo simulator
1.2k stars 756 forks source link

namespace error after xacro update #695

Open markostamos opened 2 years ago

markostamos commented 2 years ago

Screenshot 2022-02-12 at 20-56-49 Facebook

there seems to be a new namespace error after the xacro (1.14.11-1focal.20220122.020912 500) update on ros-noetic. Screenshot from 2022-02-12 21-02-45

As a temp fix you can download the previous version https://github.com/ros/xacro/archive/1.14.10.tar.gz inside the rotors_simulator workspace/src and build it.

johnwaneboy commented 2 years ago

I have meet the same problem on ros-melodic. So how to solve the probelm thoroughly.

rhaschke commented 2 years ago

This issue has been solved upstream in xacro: https://github.com/ros/xacro/issues/309#issuecomment-1037236018 Please simply update to the latest xacro release, 1.14.13. For Melodic, a release was triggered, but not yet synced.

danielvennestrom commented 2 years ago

Any estimated time for when the release for melodic will be synced?

rhaschke commented 2 years ago

No, @clalancette, the distro maintainer, seems to be busy and there are some unresolved regressions in Melodic blocking a new release (see https://github.com/ros/rosdistro/issues/32236).

danielvennestrom commented 2 years ago

I see, do you know of any workarounds for Melodic in the meanwhile?

rhaschke commented 2 years ago

You can pull in the latest melodic-devel or noetic-devel branch of xacro into your catkin workspace and thus use the latest xacro from source. Alternatively, you can grab the latest released version from the testing repository: http://wiki.ros.org/TestingRepository.

danielvennestrom commented 2 years ago

I ended up using the testing repository to grab the latest version of xacro(http://wiki.ros.org/TestingRepository). My issue was solved! (using ubuntu 18.04, ros-melodic).

arnabGudu commented 2 years ago

The new update of xacro is having an issue of not ignoring commented lines. Thus removing all commented lines is a temporary fix.