Skip to main content

Questions tagged [build]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
1 answer
16 views

Build with colcon only up to packages in a given directory?

I have a workspace with multiple repositories checked out, and each repository contains many ROS 2 packages. The packages in a repository can depend on packages in the other two repositories. For ...
woodwardsquidward's user avatar
0 votes
1 answer
29 views

The ROS build system is confusing

1)What are types of build tools and build systems in ROS 2 ? 2)What are the differences of Colcon & Ament ? 3)When is CMake used ? 4)Can we use Cargo/Pip for building ? 5)How does the ROS build ...
Bezal-el's user avatar
0 votes
1 answer
36 views

Keep RTI Connext out of single-package build

I am trying to build a package in Windows that includes a custom message type and eventually a service, but executing this from the Visual Studio 2022 Developer Command Prompt is followed by an error: ...
Eric Eggers's user avatar
0 votes
4 answers
130 views

Package not found after sourcing with ROS 2 Humble

I am building a package and receive the correct output that you would expect for a package: ...
pdaranda661's user avatar
1 vote
1 answer
127 views

ModuleNotFoundError: No module named 'ament_package' in ROS2 Humble Windows

I'm trying to (colcon) build a new C++ package with a binary ROS2 Humble installation in Windows from a Visual Studio 2022 Developer Command Prompt, but each time I run "colcon build" in my ...
Eric Eggers's user avatar
0 votes
0 answers
28 views

How to include class defined in a cpp file

I defined a PoseCtrl class in pose_ctrl.cpp and pose_ctrl.h, then put them into path: package/include. Then I wrote a node in robort_position_ctrl.cpp and robort_position_ctrl.h, and include pose_ctrl....
Qichang Chen's user avatar
0 votes
1 answer
60 views

colcon build unresponsive, maxed out ram/cpu

I'm running ROS2 Humble and recently my computer has been freezing/becoming unresponsive in the middle of colcon build. The build is terminated or I have to force ...
Yato's user avatar
  • 58
0 votes
0 answers
7 views

How to operate arducam PICO_SPI_CAM in ros2

I understand that drivers are required to connect external devices. However, what arducam provides is an executable file. spi cam git :https://github.com/ArduCAM/PICO_SPI_CAM Also, the library file is ...
ertretff's user avatar
7 votes
2 answers
1k views

"colcon_core.package_augmentation" Error When Building Python Package With Colcon in ROS2 Humble

I get the following error when trying to build my python package with Colcon build ...
umut373's user avatar
  • 73
0 votes
1 answer
97 views

Can not build Moveit

I am using Ubuntu 22.04.4 LTS and ROS2 Humble. I am trying to build Moveit for some robotic applications but I could not do colcon build the tutorials. I tried to do the Moveit tutorials. I got some ...
EngineerandDeveloper's user avatar
0 votes
1 answer
73 views

ROS2 - modify py launchfile without rebuilding package

In ROS1 we could modify XML launchfile and roslaunch them directly without catkin_make rebuilding, in ROS2 it seems if I modify python launchfile, I need to rebuild the package otherwise ...
Martin's user avatar
  • 198
0 votes
0 answers
42 views

Ros2 build failed on mimick_vendor

I am having trouble building and installing ROS2 on my windows 10 pc. I am using the guide from https://docs.ros.org/en/humble/Installation/Alternatives/Windows-Development-Setup.html and I am at the ...
ArghWhy's user avatar
0 votes
0 answers
18 views

Challenges in Packaging and Distributing a ROS 2 Application with C++ and Python Components

Hi! I am working on a project involving a ROS 2 application that integrates both C++ and Python components. The application is designed to visualize data from automotive radars and is developed using ...
Yernar's user avatar
  • 1
0 votes
0 answers
24 views

Library index error in ROS Foxy

The error is shown below: ...
Athira GS's user avatar
0 votes
1 answer
72 views

Colcon build does not build all of my packages (after I deleted and reinstalled older cmake)

I am working for a drone university project in a team and we set up a project in ROS2 galactic (https://github.com/AlboAlby00/CrazyflieControllers). I wanted to try out a new github repository which ...
Daniel He's user avatar
1 vote
2 answers
1k views

What causes build error: cannot import name 'OVERRIDE_OPT' from 'em'?

When building a pure ROS2 message package (event_camera_msg) on github (CI) using the ros-tooling/[email protected] I get the following cryptic error when building on any ROS2 distro (humble, iron, ...
Bernd Pfrommer's user avatar
4 votes
1 answer
1k views

How to speed up colcon build (notably slower than catkin/cmake) and or debug causes?

My team has a ROS2 humble docker image we use for development. It contains our dependencies along with a source installation of Humble targeting Ubuntu arm64 architecture on a Nvidia Jetson device. ...
user1433734's user avatar
0 votes
2 answers
233 views

changes to python code not having effect using colcon build --symlink-install

I am trying to make a publisher by reading the sensor values and sending it throughout. I had an issue at first, so I changed the arguments in the main function as: ...
Bob's user avatar
  • 11
0 votes
0 answers
202 views

ROS2 - Error while building packages with colcon ubuntu in wsl

I am trying to build my first package with colcon but I get the following errors while compiling the examples from ROS repository. I am running Ubuntu 22.04 from WSL2. If anyone knows why is this ...
Sergio Antuna's user avatar
0 votes
1 answer
206 views

display.launch.py --share on ROS 2 tutorials is not working - Windows 11

I have installed ROS 2 (Humble Hawksbill) on windows 11 and trying to follow URDF tutorial. When I run the folllwing command: ...
Ros wizard's user avatar
1 vote
1 answer
573 views

colcon build on ROS2 humble outputs "listing git files failed - pretending there aren't any"

I started to learn ros2, installed ros2 humble, have followed the tutorial of the channel Robotics Back-End before and I was able to successfully create a node. After some time I wanted to visit the ...
dragging_this's user avatar
1 vote
1 answer
173 views

Building example library of ROS 2

I am trying to build the example repository of ROS 2 Humble according to the tutorial. But the command colcon build --symlink-install gives the following error for ...
aladin6060's user avatar
0 votes
1 answer
38 views

Can I get the current git commit in the ROS buildfarm binary packaging step?

In our ros package providing a GUI tool we recently added the feature of showing the git commit hash of this build in the "about" window, to easily identify the running version. After ...
ottojo's user avatar
  • 111
0 votes
1 answer
14 views

When is new package available on the ros2 build farm?

A new driver that is being added to rosdistro depends on a new message package that has just been added to rosdistro for distros Humble and Rolling. The driver and the messages live in different ...
user avatar
0 votes
1 answer
67 views

Issue with changing the precedence order of ROS_PACKAGE_PATH

My system: Ubuntu 20.04, ROS noetic. My issue: I'm working with two packages that have ros1 packages with the same name ORB_SLAM3 which causes an issue with ROS_PACKAGE_PATH and thus with ROS finding ...
user avatar
0 votes
2 answers
420 views

ROS2 - Cannot build examples

Hi, I am trying to build the examples from the tutorials I did precisely this ...
user avatar
0 votes
1 answer
6 views

When to use the dependency EXPORTED_TARGETS vs generate_messages_cpp

Let's suppose pkg1 creates new services, messages, and actions. If I want a cpp ROS node from within this pkg1 to ensure that the messages, services, and actions are all built before the cpp file is ...
user avatar
0 votes
1 answer
28 views

Sudden custom_msgs related error in ros2, build failed in CI

Environment: ubuntu 20.04 ROS 2: foxy Repository: https://github.com/rsasaki0109/lidarslam_ros2 I branched off a branch where CI was successful in April 2022 and submitted the following Pull Request, ...
user avatar
0 votes
1 answer
51 views

How to build rtabmap_ros with octomap?

Hi, This guide says that the topics pertaining to octomap like octomap_full, octomap_binary, etc. are only available with I have ...
user avatar
0 votes
1 answer
120 views

How can I use yaml config files without having to build after changes in ROS2?

How can I use yaml config files without having to rebuild after changing the config file? I am looking for a way to have the same behaviour as in ROS1 where config files could be changed without ...
user avatar
0 votes
1 answer
22 views

Any lazy way to put your own local ros package under /opt/ros?

Hello everyone, I have modified package for a real robot which requires access of the ports bellow 1024. When I put my catkin_ws under the root, it is able to access the ports below 1024 to ...
user avatar
0 votes
1 answer
83 views

ros2 foxy install jetson nano fails qt_gui_cpp

I apt installed ros2 on ubuntu 20.04 and worked just fine however I need to install opencv 4.2.0 which caused removing all ros2 installation. So I need to build install ros2 as described in the ...
user avatar
0 votes
1 answer
93 views

Is there a way for me to not have to build and source every time I open a new terminal

Hello all, Thank you for your time and consideration! I'm using ROS melodic on Ubuntu 18.04 distribution and every time I open a new terminal, or even a new tab on a terminal, I have to re-build and ...
user avatar
1 vote
3 answers
56 views

Is a smaller ros2.repos option available?

I am attempting to build ros2 Foxy on Ubuntu (in a docker container). Following https://docs.ros.org/en/foxy/Installation/Ubuntu-Development-Setup.html# ...
user avatar
1 vote
2 answers
291 views

[ROS2-foxy] where to place source and header files and how to link them?

I have a ROS2 Project and I want to develop a good structured filesystem. I wanted to do some "good-practice"(from my point of knowledge) and import a class definition from seperate header ...
user avatar
1 vote
2 answers
64 views

Downsides to colcon's --symlink-install option in ROS2?

Are there any downsides or pitfalls to using the --symlink-install option in when building a workspace with colcon in ROS2? To ...
shonigmann's user avatar
0 votes
1 answer
55 views

Why does catkin build not consistently do the same thing?

The catkin build command builds each package in a workspace’s source space in isolation in order to prevent build-time cross-talk. I have a large workspace of ROS1 packages that builds with ...
user avatar
0 votes
1 answer
68 views

Linker error for geometry_msgs

Hi, I explore ros2 recently. Differences with ros, creating custom messages, pub sub examples for c++ etc. I just wanted to demonstrate that another package can be used in a custom message. I ...
user avatar
0 votes
2 answers
131 views

How to build using Colcon inside a Dockerfile

I'm trying to use docker to build and run a ROS2 node, however in order for Colcon to build the node as an instruction in the Dockerfile, it must first have ROS2 sourced. It seems though that you ...
user avatar
0 votes
1 answer
46 views

colcon python package build error with rust extension

Info: ROS 2 Version: Foxy OS: macOS Big Sur Python: 3.9 colcon_python_setup_py: 0.2.7 I have been looking for ways to get some rust-based code to play nicely with a bunch of python-based ROS 2 code. ...
user avatar
0 votes
1 answer
1 view

Jenkins doc job error: rosdep thriftpy

I have this error in the Jenkins doc job of my package: http://build.ros.org/view/Mdoc/job/Mdoc__z_laser_projector__ubuntu_bionic_amd64/2/console ...
user avatar
0 votes
1 answer
16 views

How to properly structure a ROS package?

My ROS package is beginning to get complicated with multiple folders for various aspects of functionality. However, I am unsure whether I have structured the package correctly. I am unsure whether my <...
user avatar
0 votes
1 answer
41 views

Unknown CMake command "add_rostest"

I am following the tutorial on overlaying on catkin workspaces and run catkin as $ catkin_make -DPYTHON_EXECUTABLE=/usr/bin/python3 but I get ...
user avatar
0 votes
1 answer
22 views

Colcon build failed to build nav2_util

Hi, I am running on Ubuntu 20.04 ROS Foxy. Following the instruction on navigation tutorial (https://navigation.ros.org/build_instructions/index.html) to build navigation stack. I downloaded the files ...
user avatar
0 votes
1 answer
16 views

build VS build_depend

Hello, I saw in different tutorials two different way to add dependencies in package.xml: ...
user avatar
0 votes
1 answer
2 views

build.sh return Invalid parameter: bc:hi:r:t:v: without any input

I'm using Mac OS X 10.15.3 on MBP. bash: GNU bash, version 3.2.57(1)-release sorce code hash: da5c5adf7ed11108a571465e737a124139a5f782 I tried to use Autoware Docker environments. I just followed ...
user avatar
0 votes
1 answer
1 view

Where do the codes reside when I install a ROS package using apt?

I have recently installed turtlebot3 packages on my system using the apt package manager. But when I go into the package 'turtlebot3_teleop' I dont see any codes or anything. I just see a folder ...
user avatar
0 votes
1 answer
1 view

GNU C Compiler Warnings jenkis build.ros.org

I have a Warning when our package is build in Jenkins http://build.ros.org/job/Kdev__ira_laser_tools__ubuntu_xenial_amd64/changes but the information about the warning is not helpful Originally ...
user avatar
0 votes
1 answer
7 views

How to compile rmf_core using colcon build in ROS2 eloquent?

On running the build, the error stated that the fcl package not found when building package rmf_traffic. Source from github: https://github.com/osrf/rmf_core ...
user avatar
0 votes
2 answers
12 views

How to build Autoware after modify source code?

Hi all, I am using Autoware 1.13.0-melodic (docker) I add some new source code in /home/autoware/Autoware/src/autoware/utilities/runtime_manager/scripts/runtime_manager_dialog.py file then build by ...
user avatar

1
2 3 4 5