-
Notifications
You must be signed in to change notification settings - Fork 138
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
Unable to Source-Bug Report-install ros_gz Branch ros2 on Ubuntu 22.04 arm64 ros2 humble Gazebo Harmonic (ver8) #474
Comments
For building |
OK tnx: Here goes on my UB22.04/arm64 VM on a MAC M1 with ROS 2 humble & gz_sim harmonic installed. Here's a copy of the relevant transcription of the colcon build. While compile did not complete, it seems the previously reported rosicl-pycommon error dod not occur.
|
Okay, that looks like you're running out of memory. Others have run into that before as well (#401 (comment)). Try adding |
OK here is that trial:
|
I still think you're running out of memory. Can you monitor the memory usage during the build with a tool like |
I allocated 6 GB Memory/ 3 of 4 Cores -STill maxes out the memory & Cores & crashes. Any tricks to calm the compiler? |
From this answer, it seems like colcon will use all available cores to build a single package, so you'll also need to do |
azeey Success compiling ros_gz from Source : Summary: 12 packages finished [37 secs] with the allocating 4 Cores CPU /8 GB Memory and export MAKEFLAGS="-j 1". Thank you. I ran ROS Integration > ros_gz_bridge demo > Bidirectional Communication Demo . I ran the Visualize in RViz which opened but generated an error that I will troubleshoot as the file vehicle.sdf "missing" is located in the necessary Share directory . ubuntutbc@macvm-ub22h-bv:~/rosgz_ws/install/ros_gz_sim_demos/share/ros_gz_sim_demos/worlds$ ls ruby $(which gz) sim-1] [Err] [Server.cc:198] Error Code 14: [/sdf/world[@name="demo"]/model[@name="vehicle"]/include[0]/uri:/home/ubuntutbc/rosgz_ws/install/ros_gz_sim_demos/share/ros_gz_sim_demos/worlds/vehicle.sdf:L64]: Msg: Unable to find uri[package://ros_gz_sim_demos/models/vehicle] So the ros_gz Harmonic (Humble branch) Install on a ROS 2 Humble from Source on a suitably powerful arm64 machine works . Thank you for your assistance. |
Glad to hear it worked. For the issue with finding the file, make sure you've sourced your colcon workspace. https://github.com/gazebosim/ros_gz/blob/ros2/ros_gz_sim_demos%2Fhooks%2Fros_gz_sim_demos.dsv.in contains |
Implementing your indicated change and following https://gazebosim.org/docs/harmonic/ros2_integration ,Visualize in RViz, the RViz & Gz Windows open displaying the vehicle. After enabling Key Publisher in the 2 GUI examples, the vehicle image moved. However, when I tried to run teleop_twist_keyboard there was no response |
Environment
*Branch ros2 branch
Description
Actual behavior: Colcon build compile of ros_gz ros_gz_sim failed , due rosidl_pycommon doesn't exist in Humble
This is a Bug Report against ros_gz_bridge since that is the code that needs to be updated to handle building on Humble to replace the missing ros2 /rosidl_pycommon .
Also need to revise the README to list humble harmonic “install from source”
And more importantly release availability of Binary install for Native Ubuntu 22.04 x86-64 and Native or VM arm64 machines, as are all the over 1300 ROS 2 Humble packages in the repos.ros.org/status_page/ros+humble_default list .
The text was updated successfully, but these errors were encountered: