jaxa / roscfe

RACS - the ROS1 and cFS System
Apache License 2.0
23 stars 3 forks source link

Running hk_pub/hk_sub nodes #3

Closed kbiesiadecki141 closed 3 years ago

kbiesiadecki141 commented 3 years ago

Hi,

Currently, I am trying to test the relay_node using the provided hk_pub and hk_sub ROS packages. I copied the ROS packages into my catkin_ws and am running catkin_make, but I'm getting the cmake error below. Is there anything I'm doing wrong or that I should change?

Thanks again!

Scanning dependencies of target hk_pub
Scanning dependencies of target hk_sub
[  0%] Built target rosgraph_msgs_generate_messages_py
[  3%] Building CXX object hk_pub/CMakeFiles/hk_pub.dir/src/hk_pub.cpp.o
In file included from /home/ubuntu/astrolab/fsw/catkin_ws/src/hk_pub/src/hk_pub.cpp:13:0:
/home/ubuntu/astrolab/fsw/catkin_ws/src/hk_pub/include/hk_pub/hk_pub.h:11:38: fatal error: relay_node/CFE_SB_CmdHdr.h: No such file or directory
compilation terminated.
hk_pub/CMakeFiles/hk_pub.dir/build.make:62: recipe for target 'hk_pub/CMakeFiles/hk_pub.dir/src/hk_pub.cpp.o' failed
make[2]: *** [hk_pub/CMakeFiles/hk_pub.dir/src/hk_pub.cpp.o] Error 1
CMakeFiles/Makefile2:427: recipe for target 'hk_pub/CMakeFiles/hk_pub.dir/all' failed
make[1]: *** [hk_pub/CMakeFiles/hk_pub.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[  3%] Built target std_msgs_generate_messages_lisp
[  7%] Building CXX object hk_sub/CMakeFiles/hk_sub.dir/src/hk_sub.cpp.o
In file included from /home/ubuntu/astrolab/fsw/catkin_ws/src/hk_sub/src/hk_sub.cpp:12:0:
/home/ubuntu/astrolab/fsw/catkin_ws/src/hk_sub/include/hk_sub/hk_sub.h:11:36: fatal error: relay_node/HK_HkPacket.h: No such file or directory
compilation terminated.
hk_sub/CMakeFiles/hk_sub.dir/build.make:62: recipe for target 'hk_sub/CMakeFiles/hk_sub.dir/src/hk_sub.cpp.o' failed
make[2]: *** [hk_sub/CMakeFiles/hk_sub.dir/src/hk_sub.cpp.o] Error 1
CMakeFiles/Makefile2:962: recipe for target 'hk_sub/CMakeFiles/hk_sub.dir/all' failed
make[1]: *** [hk_sub/CMakeFiles/hk_sub.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j3 -l3" failed
yuyuqq commented 3 years ago
yuyuqq commented 3 years ago

Hi, We updated the documentation while we made the ROS/cFE bridge acts simpler. Please feedback how you think. Thanks.