dusty-nv / ros_deep_learning

Deep learning inference nodes for ROS / ROS2 with support for NVIDIA Jetson and TensorRT
862 stars 258 forks source link

Jetson Nano 2gb catkin_make errors... #102

Open Bytheseashore opened 2 years ago

Bytheseashore commented 2 years ago

Hi! First I tried to install the master branch for this repo and cloning vision_msgs in my src but gave me this type of errors:

CMake Error at /home/nano/Documents/Brain_ROS/build/vision_msgs/cmake/vision_msgs-genmsg.cmake:694 (add_custom_target): add_custom_target cannot create target "vision_msgs_generate_messages_py" because another target with the same name already exists. The existing target is a custom target created in source directory "/home/nano/Documents/Brain_ROS/src/ros_deep_learning". See documentation for policy CMP0002 for more details.

Second I tried with the L4T-R32., after replacing all BGRs with RGBs I get other errors ...

Screenshot from 2022-02-18 22-16-35

I successfully installed and tested jetson_inference master (other branches throw a lot of errors) but with this I fail. What should I do? I'm new to ROS and Jetson Nano. Nvidia Jetson Nano 2gb - JetPack 4.6

dusty-nv commented 2 years ago

Hi @Bytheseashore, are you on the master branch of ros_deep_learning? Because the master branch of that repo doesn't reference detectNet::GetMaxBoundingBoxes()

Bytheseashore commented 2 years ago

Update

I succeeded with jetson-inference on master branch and ros_deep_learning also on master by adding these lines in package.xml `vision_msgs

vision_msgs` After editing node_detectnet.cpp I was able to successfully test my custom model.