-
Notifications
You must be signed in to change notification settings - Fork 126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Packages/stacks could not have their rosdep keys resolved to system dependencies (Ubuntu20.04 in WSL, ROS Humble, Ign Fortress) #401
Comments
It's wierd, the dependency is listed in the anywho you can compile |
I have the same problem. What about instead for "ros_gz_sim_demos: No definition of [xacro] for OS version [focal]" ? |
Thank you for your suggestion. I tried to add manually
|
something is wrong, probably with the amount of memory that you have in your system. c++: fatal error: Killed signal terminated program cc1plus If you are running this in VM increase the virtual memory or you can add this option to colcon |
I'm currently using WSL (Windows Subsystem for Linux), I tried as you suggested but got the same error:
|
ROS Humble officially only supports Ubuntu 22.04 (https://docs.ros.org/en/humble/Installation.html). That's why the actuator_msgs package is missing. When building from source, I agree with @ahcorde, I think you're running out of memory. Try adding |
Thank you @azeey @ahcorde for helping me, I was able to build all the packages correctly only by increasing the amount of RAM, I also tried adding |
Fix the branch name when checking out ros_gz otherwise `rosdep install -r --from-paths src -i -y --rosdistro humble` errors with incompatible versions. Additonally link to gazebosim#401 (comment) which allows compilation on Ubuntu 20.04 + ROS2 Humble + Ignition Fortress Signed-off-by: Samuel Seng <djsamseng@gmail.com>
For anyone else who might run into this issue: On Ubuntu 20.04 focal, ROS 2 Humble, Ignition Fortress when having the following error
Simply cd src
git clone git@github.com:rudislabs/actuator_msgs.git
cd ../
colcon build fixed the issue. I was then able to confirm ros and ignition fortress working correctly by doing the following: cd ~/dev/gazebo_fortress_ws/
source ~/dev/ros2_humble/install/local_setup.bash
source ./install/local_setup.bash
ros2 run ros_gz_bridge parameter_bridge /keyboard/keypress@std_msgs/msg/Int32@gz.msgs.Int32 In a second terminal ign gazebo sim empty.sdf
In a third terminal source ~/dev/ros2_humble/install/local_setup.bash
ros2 topic echo /keyboard/keypress Press buttons on the keyboard when focused in the simulator and see the keypresses logged in the third terminal |
Fix the branch name when checking out ros_gz otherwise `rosdep install -r --from-paths src -i -y --rosdistro humble` errors with incompatible versions. Additonally link to #401 (comment) which allows compilation on Ubuntu 20.04 + ROS2 Humble + Ignition Fortress Signed-off-by: Samuel Seng <djsamseng@gmail.com>
Fixed by #431. |
Environment
Description
I cannot install ros_gz either via binary or source. I need to use Ubuntu 20.04 and install Humble+Ignition Fortress. I installed Humble via source and used the Fortress binary.
However, I encountered difficulties when installing the bridge.
In particular, trying to install via source the humble branch packages I encourred problems in managing dependencies with rosdep:
Clearly trying to build the packages I consequently get the following error in relation to the lack of actuator messages:
Steps to reproduce
The text was updated successfully, but these errors were encountered: