Я новичок в ROS и получил проблемы с catkin_make. Сначала он работал правильно, когда выполнял его в рабочей области catkin (catkin_ws). Затем я создал пакет catkin внутри sr c с именем ros java без зависимостей (catkin_create_pkg ros java), и catkin_make начал давать сбой:
~/catkin_ws$ catkin_make
Base path: /home/jon/catkin_ws
Source space: /home/jon/catkin_ws/src
Build space: /home/jon/catkin_ws/build
Devel space: /home/jon/catkin_ws/devel
Install space: /home/jon/catkin_ws/install
####
#### Running command: "make cmake_check_build_system" in "/home/jon/catkin_ws/build"
####
####
#### Running command: "make -j1 -l1" in "/home/jon/catkin_ws/build"
####
[ 0%] Built target _arbotix_msgs_generate_messages_check_deps_Digital
[ 0%] Built target _arbotix_msgs_generate_messages_check_deps_SetupChannel
[ 0%] Built target _arbotix_msgs_generate_messages_check_deps_Relax
[ 0%] Built target _arbotix_msgs_generate_messages_check_deps_Analog
[ 0%] Built target _arbotix_msgs_generate_messages_check_deps_SetSpeed
[ 0%] Built target std_msgs_generate_messages_nodejs
[ 0%] Built target _arbotix_msgs_generate_messages_check_deps_Enable
[ 3%] Built target arbotix_msgs_generate_messages_nodejs
[ 3%] Built target std_msgs_generate_messages_py
[ 7%] Built target arbotix_msgs_generate_messages_py
[ 8%] Generating Java gradle project from arbotix_msgs
Traceback (most recent call last):
File "/opt/ros/kinetic/share/genjava/cmake/../../../lib/genjava/genjava_gradle_project.py", line 11, in <module>
import genjava
File "/opt/ros/kinetic/lib/python2.7/dist-packages/genjava/__init__.py", line 39, in <module>
from .genjava_main import main, standalone_main
File "/opt/ros/kinetic/lib/python2.7/dist-packages/genjava/genjava_main.py", line 45, in <module>
import rosjava_build_tools
File "/opt/ros/kinetic/lib/python2.7/dist-packages/rosjava_build_tools/__init__.py", line 7, in <module>
import console
ImportError: No module named 'console'
arbotix_ros/arbotix_msgs/CMakeFiles/arbotix_msgs_generate_messages_java_gradle.dir/build.make:77: recipe for target 'arbotix_ros/arbotix_msgs/java/arbotix_msgs/build.gradle' failed
make[2]: *** [arbotix_ros/arbotix_msgs/java/arbotix_msgs/build.gradle] Error 1
CMakeFiles/Makefile2:931: recipe for target
'arbotix_ros/arbotix_msgs/CMakeFiles/arbotix_msgs_generate_messages_java_gradle.dir/all' failed
make[1]: *** [arbotix_ros/arbotix_msgs/CMakeFiles/arbotix_msgs_generate_messages_java_gradle.dir/all]
Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j1 -l1" failed
Кто-нибудь знает, как это решить? Если это так, я был бы очень признателен за получение вашей помощи.
Заранее спасибо,
Джон.