`target_link_libraries(SmartCar`
`${catkin_LIBRARIES}`
`#${PROJECT_SOURCE_DIR}/lib/libctrl_arm64-v8a.so //in
x86_64 platform , comment out this line , in arm platform, do not
comment out this line`
`${PROJECT_SOURCE_DIR}/lib/libctrl_x86_64.so //in arm
platform,comment out this line,in x86_64 platform, do not comment
out this line`
(5)Enter ROS system,run the following command to compile
the “segway_msgs” package message.
cd catkin_ws
catkin_make
-DCATKIN_WHITELIST_PACKAGES='segway_msgs'
(6)Enter ROS system,run the following command to compile
the “segwayrmp” package message.
cd catkin_ws
catkin_make
-DCATKIN_WHITELIST_PACKAGES='segwayrmp'
(7)Control car in ROS system:
1)Create a new terminal,run the following command:
cd catkin_ws