Skip to content
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

Error when trying to colcon build the package on Jetson nano #26

Open
phgandhi02 opened this issue Mar 28, 2024 · 0 comments
Open

Error when trying to colcon build the package on Jetson nano #26

phgandhi02 opened this issue Mar 28, 2024 · 0 comments

Comments

@phgandhi02
Copy link

phgandhi02 commented Mar 28, 2024

I have a fresh-installation of ROS2 Foxy and followed the installation guide; however, when I run the colcon build command then I get the following error. I tried checked to see if I was missing any dependencies using rosdep install --from-paths src -y --ignore-src however it say I have everything I need. What dependency do I need or is there something else I am doing wrong?

Note: I am running this on an Nvidia Jetson Nano with Ubuntu 20.04 although I can also run it on a Raspberry Pi. I assumed they would both work. I was also planning on getting it running natively. Once it works I will pass the usb connection to a Docker container and run it inside the container. I am using an Astra Pro Plus as well.

Edit: I just ran it on the Raspberry Pi 4b (8gb) and it seems to be building just fine.

colcon build --event-handlers  console_direct+  --cmake-args  -DCMAKE_BUILD_TYPE=Release
Starting >>> orbbec_camera_msgs
Starting >>> orbbec_description
[  0%] Built target orbbec_camera_msgs__cpp                            
[ 12%] Built target orbbec_camera_msgs__rosidl_generator_c                
-- Install configuration: "Release"  
[ 24%] Built target orbbec_camera_msgs__rosidl_typesupport_introspection_cpp
-- Up-to-date: /home/prem/ballbot_ws/install/orbbec_description/share/ament_index/resource_index/package_run_dependencies/orbbec_description
-- Up-to-date: /home/prem/ballbot_ws/install/orbbec_description/share/ament_index/resource_index/parent_prefix_path/orbbec_description
-- Up-to-date: /home/prem/ballbot_ws/install/orbbec_description/share/orbbec_description/environment/ament_prefix_path.sh
-- Up-to-date: /home/prem/ballbot_ws/install/orbbec_description/share/orbbec_description/environment/ament_prefix_path.dsv
-- Up-to-date: /home/prem/ballbot_ws/install/orbbec_description/share/orbbec_description/environment/path.sh
-- Up-to-date: /home/prem/ballbot_ws/install/orbbec_description/share/orbbec_description/environment/path.dsv
-- Up-to-date: /home/prem/ballbot_ws/install/orbbec_description/share/orbbec_description/local_setup.bash
-- Up-to-date: /home/prem/ballbot_ws/install/orbbec_description/share/orbbec_description/local_setup.sh
-- Up-to-date: /home/prem/ballbot_ws/install/orbbec_description/share/orbbec_description/local_setup.zsh
-- Up-to-date: /home/prem/ballbot_ws/install/orbbec_description/share/orbbec_description/local_setup.dsv
-- Up-to-date: /home/prem/ballbot_ws/install/orbbec_description/share/orbbec_description/package.dsv
-- Up-to-date: /home/prem/ballbot_ws/install/orbbec_description/share/ament_index/resource_index/packages/orbbec_description
-- Up-to-date: /home/prem/ballbot_ws/install/orbbec_description/share/orbbec_description/cmake/orbbec_descriptionConfig.cmake
-- Up-to-date: /home/prem/ballbot_ws/install/orbbec_description/share/orbbec_description/cmake/orbbec_descriptionConfig-version.cmake
-- Up-to-date: /home/prem/ballbot_ws/install/orbbec_description/share/orbbec_description/package.xml
[ 35%] Built target orbbec_camera_msgs__rosidl_typesupport_c
[ 47%] Built target orbbec_camera_msgs__rosidl_typesupport_cpp
[ 58%] Built target orbbec_camera_msgs__rosidl_typesupport_fastrtps_cpp
[ 70%] Built target orbbec_camera_msgs__rosidl_typesupport_introspection_c
Finished <<< orbbec_description [0.63s]
[ 82%] Built target orbbec_camera_msgs__rosidl_typesupport_fastrtps_c
[ 82%] Built target orbbec_camera_msgs                     
[ 83%] Generating Python code for ROS interfaces           
Illegal instruction (core dumped)                          
make[2]: *** [orbbec_camera_msgs__py/CMakeFiles/orbbec_camera_msgs__py.dir/build.make:196: rosidl_generator_py/orbbec_camera_msgs/_orbbec_camera_msgs_s.ep.rosidl_typesupport_fastrtps_c.c] Error 132
make[1]: *** [CMakeFiles/Makefile2:553: orbbec_camera_msgs__py/CMakeFiles/orbbec_camera_msgs__py.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
--- stderr: orbbec_camera_msgs                             
Illegal instruction (core dumped)
make[2]: *** [orbbec_camera_msgs__py/CMakeFiles/orbbec_camera_msgs__py.dir/build.make:196: rosidl_generator_py/orbbec_camera_msgs/_orbbec_camera_msgs_s.ep.rosidl_typesupport_fastrtps_c.c] Error 132
make[1]: *** [CMakeFiles/Makefile2:553: orbbec_camera_msgs__py/CMakeFiles/orbbec_camera_msgs__py.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
---
Failed   <<< orbbec_camera_msgs [3.87s, exited with code 2]

Summary: 1 package finished [5.40s]
  1 package failed: orbbec_camera_msgs
  1 package had stderr output: orbbec_camera_msgs
  1 package not processed
@phgandhi02 phgandhi02 changed the title Error when trying to colcon build the package Error when trying to colcon build the package on Jetson nano Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant