NVIDIA-ISAAC-ROS / isaac_ros_visual_slam

Visual SLAM/odometry package based on NVIDIA-accelerated cuVSLAM
https://developer.nvidia.com/isaac-ros-gems
Apache License 2.0
832 stars 130 forks source link

Failed building in docker container on Jetson #7

Closed AndreV84 closed 2 years ago

AndreV84 commented 2 years ago

On stock Os jetson, without Host PC or prior IsaaC SDK/ROS. after starting the docker container wit hthe script provided then cloning the github repository,

scripts/run_dev.sh 
mkdir src
git clone https://github.com/NVIDIA-ISAAC-ROS/isaac_ros_visual_odometry
cd ..
colcon build --symlink-install && source install/setup.bash

it seems some steps are missed still?

admin@nvidia-desktop:/workspaces/isaac_ros-dev/src$ cd ..
admin@nvidia-desktop:/workspaces/isaac_ros-dev$ colcon build --symlink-install && source install/setup.bash
Starting >>> isaac_ros_test
Starting >>> isaac_ros_nvengine_interfaces
Starting >>> isaac_ros_visual_odometry_interfaces
Starting >>> isaac_ros_common
Finished <<< isaac_ros_common [1.66s]                                                                          
Finished <<< isaac_ros_test [2.50s]                                                                             
Finished <<< isaac_ros_visual_odometry_interfaces [2.88s]                                
Starting >>> isaac_ros_visual_odometry
Finished <<< isaac_ros_nvengine_interfaces [3.08s]                                                                            
Starting >>> isaac_ros_nvengine
--- stderr: isaac_ros_nvengine                                                                                      
/usr/bin/ld:/workspaces/isaac_ros-dev/isaac_ros_nvengine/gxf/lib/gxf_jetpack46/core/libgxf_core.so: file format not recognized; treating as linker script
/usr/bin/ld:/workspaces/isaac_ros-dev/isaac_ros_nvengine/gxf/lib/gxf_jetpack46/core/libgxf_core.so:1: syntax error
collect2: error: ld returned 1 exit status
make[2]: *** [libgxe_node.so] Error 1
make[1]: *** [CMakeFiles/gxe_node.dir/all] Error 2
make: *** [all] Error 2
---
Failed   <<< isaac_ros_nvengine [0.38s, exited with code 2]
Aborted  <<< isaac_ros_visual_odometry [39.1s]                                  

Summary: 4 packages finished [42.6s]
  1 package failed: isaac_ros_nvengine
  1 package aborted: isaac_ros_visual_odometry
  1 package had stderr output: isaac_ros_nvengine

Could you extend the following statement, please?

You can either provide an optional path to mirror in your host ROS workspace with Isaac ROS packages, which will be made available in the container as /workspaces/isaac_ros-dev, or you can setup a new workspace in the container.

As to the Host it reffers to x86_64? or Jetson systemwide OS? both, any, neither of the two? By default the container starts with /workspaces/isaac_ros-dev that has plenty of files/folders. What do you mean saying or you can setup a new workspace in the container I tried cloning to some newly created frolder ,but it won't build either. What are the implicit steps in order to run the dockerized implemetnation on Jetson? Is it like it won't work until the Elbrus is deployed rfom host PC? Isn't it standalone solution? Once the Elbrus is deployed will the error persist or PATH will need to be setup or some other steps? Thanks

AndreV84 commented 2 years ago

resolved by git lfs pull

admin@nvidia-desktop:/workspaces/isaac_ros-dev$ colcon build --symlink-install && source install/setup.bash
Starting >>> isaac_ros_test
Starting >>> isaac_ros_nvengine_interfaces
Starting >>> isaac_ros_visual_odometry_interfaces
Starting >>> isaac_ros_common
Finished <<< isaac_ros_test [2.45s]                                                                       
Finished <<< isaac_ros_common [15.7s]                                                                                                        
Finished <<< isaac_ros_visual_odometry_interfaces [19.2s]                                                                                    
Starting >>> isaac_ros_visual_odometry
Finished <<< isaac_ros_nvengine_interfaces [21.2s]                                                                              
Starting >>> isaac_ros_nvengine
Finished <<< isaac_ros_nvengine [29.8s]                                                                                   
Finished <<< isaac_ros_visual_odometry [47.7s]                             

Summary: 6 packages finished [1min 7s]