完整的錯誤是:
[robot_launch.launch] is neither a launch file in package [kinova_gazebo] nor is [kinova_gazebo] a launch file name
The traceback for the exception was written to the log file
報錯說明ros系統中,並沒有安裝相對應的package。在這種情況下,進入工程文件的最頂層,使用catkin_make命令對文件進行編譯。如果此時再執行,還是會報錯的,那麼還要再加上一條語句:
source devel/setup.bash
將devel/setup.bash添加到系統,之後再運行就可以了。