Closed DeriZSY closed 5 years ago
Cannot find any messages or servicse implemented in RoboRTS (by "rosmsg list"&"rossrv list") after building successfully (everything else except for parts that utilize messages defined in RoboRTS works fine)
Most of the errors that lead to the fatal errors do cause due to not running catkin_make messages_generate_messages BEFORE running catkin_make, as instructed on the documentation. For the message or service issue, RoboRTS' built messages are NOT a ROS message type, but a header file. As ROS message files end with .msg and the files used in RoboRTS ends with .h, it won't show up on the rosmsg list command.
Most of the errors that lead to the fatal errors do cause due to not running catkin_make messages_generate_messages BEFORE running catkin_make, as instructed on the documentation. For the message or service issue, RoboRTS' built messages are NOT a ROS message type, but a header file. As ROS message files end with .msg and the files used in RoboRTS ends with .h, it won't show up on the rosmsg list command.
That's weird, I've been testing it on multiple platforms including AWS, Azure and local computers and only error I got was some lib only compatible w/arm, but I got that only on x86&64 machines, and all arm machines compiled as it's supposed to.
If you want to try with an older version which has been tested on an Jetson, I have a fork of that, you can try using that as well.
See my pull request for a fix for the message issue. (If needed)
See my pull request for a fix for the message issue. (If needed)
Thanks , I'll check it
You could generate the protobuf files (.pb.h, pb.cc) by yourself. For example, in the directory ~/roborts_ws/src/RoboRTS/modules/perception/detection/armor_detection/constraint_set/proto
$ protoc -I=. --cpp_out=. ./constraint_set.proto
Then you should find constraint_set.pb.h and constraint_set.pb.cc.
fatal error when "catkin_make": modules/perception/detection/armor_detection/constraint/set/proto/constraint_set.pb.h no such file or directory
can be fixed by run "cakin_make" again after the error