When executing the ROS shell āubuntu_sim_ros_melodic.shā, the shell doea not succeed:
jetson-falke@falke-jetson:~$ bash ubuntu_sim_ros_melodic.sh
Downloading dependent script 'ubuntu_sim_common_deps.sh'
--2020-04-08 15:40:18-- https://raw.githubusercontent.com/PX4/Devguide/master/build_scripts/ubuntu_sim_common_deps.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.12.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.12.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2672 (2,6K) [text/plain]
Saving to: āSTDOUTā
- 100%[============================>] 2,61K --.-KB/s in 0s
2020-04-08 15:40:18 (13,8 MB/s) - written to stdout [2672/2672]
[sudo] password for jetson-falke:
Remove modemmanager
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'modemmanager' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
Add user to dialout group for serial port access (reboot required)
Installing common dependencies
Get:1 file:/var/cuda-repo-10-0-local-10.0.326 InRelease
Ign:1 file:/var/cuda-repo-10-0-local-10.0.326 InRelease
Get:2 file:/var/visionworks-repo InRelease
Ign:2 file:/var/visionworks-repo InRelease
Get:3 file:/var/visionworks-sfm-repo InRelease
Ign:3 file:/var/visionworks-sfm-repo InRelease
Get:4 file:/var/visionworks-tracking-repo InRelease
Ign:4 file:/var/visionworks-tracking-repo InRelease
Get:5 file:/var/cuda-repo-10-0-local-10.0.326 Release [574 B]
Get:6 file:/var/visionworks-repo Release [1.999 B]
Get:7 file:/var/visionworks-sfm-repo Release [2.003 B]
Get:8 file:/var/visionworks-tracking-repo Release [2.008 B]
Get:5 file:/var/cuda-repo-10-0-local-10.0.326 Release [574 B]
Get:6 file:/var/visionworks-repo Release [1.999 B]
Get:7 file:/var/visionworks-sfm-repo Release [2.003 B]
Get:8 file:/var/visionworks-tracking-repo Release [2.008 B]
Hit:9 https://repo.download.nvidia.com/jetson/common r32 InRelease
Hit:10 http://ports.ubuntu.com/ubuntu-ports bionic InRelease
Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [88,7 kB]
Hit:12 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease
Hit:13 https://repo.download.nvidia.com/jetson/t194 r32 InRelease
Hit:14 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease
Hit:16 http://packages.osrfoundation.org/gazebo/ubuntu-stable bionic InRelease
Hit:17 http://packages.ros.org/ros/ubuntu bionic InRelease
Get:21 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 Packages [650 kB]
Get:22 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 Packages [949 kB]
Fetched 1.688 kB in 5s (333 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libimage-exiftool-perl' instead of 'exiftool'
build-essential is already the newest version (12.4ubuntu1).
zip is already the newest version (3.0-11build1).
astyle is already the newest version (3.1-1ubuntu2).
genromfs is already the newest version (0.5.2-2build3).
libimage-exiftool-perl is already the newest version (10.80-1).
ninja-build is already the newest version (1.8.2-1).
cmake is already the newest version (3.10.2-1ubuntu2.18.04.1).
git is already the newest version (1:2.17.1-1ubuntu0.5).
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
/usr/bin/xxd
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libpython2.7-stdlib' instead of 'python-argparse'
python-dev is already the newest version (2.7.15~rc1-1).
python-numpy is already the newest version (1:1.13.3-2ubuntu1).
python-empy is already the newest version (3.3.2-1build1).
python-toml is already the newest version (0.9.3-1).
libpython2.7-stdlib is already the newest version (2.7.17-1~18.04).
python-pip is already the newest version (9.0.1-2.3~ubuntu1.18.04.1).
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Requirement already up-to-date: pip in /usr/local/lib/python2.7/dist-packages (20.0.2)
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Requirement already satisfied: pandas in /usr/local/lib/python2.7/dist-packages (0.24.2)
Requirement already satisfied: jinja2 in /usr/local/lib/python2.7/dist-packages (2.11.1)
Requirement already satisfied: pyserial in /usr/local/lib/python2.7/dist-packages (3.4)
Requirement already satisfied: pyyaml in /usr/local/lib/python2.7/dist-packages (5.3.1)
Requirement already satisfied: pytz>=2011k in /usr/local/lib/python2.7/dist-packages (from pandas) (2019.3)
Requirement already satisfied: numpy>=1.12.0 in /usr/lib/python2.7/dist-packages (from pandas) (1.13.3)
Requirement already satisfied: python-dateutil>=2.5.0 in /usr/local/lib/python2.7/dist-packages (from pandas) (2.8.1)
Requirement already satisfied: MarkupSafe>=0.23 in /usr/local/lib/python2.7/dist-packages (from jinja2) (1.1.1)
Requirement already satisfied: six>=1.5 in /usr/lib/python2.7/dist-packages (from python-dateutil>=2.5.0->pandas) (1.11.0)
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Requirement already satisfied: pyulog in /usr/local/lib/python2.7/dist-packages (0.7.0)
Requirement already satisfied: numpy in /usr/lib/python2.7/dist-packages (from pyulog) (1.13.3)
Installing FastRTPS to: /home/jetson-falke/eProsima_FastRTPS-1.7.1-Linux
FastRTPS already installed.
Installing jMAVSim simulator dependencies
Reading package lists... Done
Building dependency tree
Reading state information... Done
ant is already the newest version (1.10.5-3~18.04).
openjdk-8-jdk is already the newest version (8u242-b08-0ubuntu3~18.04).
openjdk-8-jre is already the newest version (8u242-b08-0ubuntu3~18.04).
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
libeigen3-dev is already the newest version (3.3.4-4).
protobuf-compiler is already the newest version (3.0.0-9.1ubuntu1).
libopencv-dev is already the newest version (4.1.1-2-gd5a58aa75).
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
Executing: /tmp/apt-key-gpghome.kST8fr3WD7/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
gpg: key F42ED6FBAB17C654: "Open Robotics <info@osrfoundation.org>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
Get:1 file:/var/cuda-repo-10-0-local-10.0.326 InRelease
Ign:1 file:/var/cuda-repo-10-0-local-10.0.326 InRelease
Get:2 file:/var/visionworks-repo InRelease
Ign:2 file:/var/visionworks-repo InRelease
Get:3 file:/var/visionworks-sfm-repo InRelease
Ign:3 file:/var/visionworks-sfm-repo InRelease
Get:4 file:/var/visionworks-tracking-repo InRelease
Ign:4 file:/var/visionworks-tracking-repo InRelease
Get:5 file:/var/cuda-repo-10-0-local-10.0.326 Release [574 B]
Get:6 file:/var/visionworks-repo Release [1.999 B]
Get:7 file:/var/visionworks-sfm-repo Release [2.003 B]
Get:8 file:/var/visionworks-tracking-repo Release [2.008 B]
Get:5 file:/var/cuda-repo-10-0-local-10.0.326 Release [574 B]
Hit:9 http://ports.ubuntu.com/ubuntu-ports bionic InRelease
Get:6 file:/var/visionworks-repo Release [1.999 B]
Hit:10 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease
Get:7 file:/var/visionworks-sfm-repo Release [2.003 B]
Get:8 file:/var/visionworks-tracking-repo Release [2.008 B]
Hit:11 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease
Hit:12 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease
Hit:13 https://repo.download.nvidia.com/jetson/common r32 InRelease
Hit:14 http://packages.ros.org/ros/ubuntu bionic InRelease
Hit:15 https://repo.download.nvidia.com/jetson/t194 r32 InRelease
Hit:16 http://packages.osrfoundation.org/gazebo/ubuntu-stable bionic InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
ros-melodic-desktop-full is already the newest version (1.4.1-0bionic.20200321.195922).
jbhv0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
sudo: rosdep: command not found
ubuntu_sim_ros_melodic.sh: line 41: rosdep: command not found
ROS setup.bash already in .bashrc
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version (12.4ubuntu1).
python-rosinstall is already the newest version (0.7.8-1).
python-rosinstall-generator is already the newest version (0.1.18-1).
python-wstool is already the newest version (0.1.17-1).
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
python-catkin-tools is already the newest version (0.4.5-1).
python-rosinstall-generator is already the newest version (0.1.18-1).
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
Catkin workspace `/home/jetson-falke/catkin_ws` is already initialized. No action taken.
-----------------------------------------------------------------
Profile: default
Extending: [cached] /opt/ros/melodic
Workspace: /home/jetson-falke/catkin_ws
-----------------------------------------------------------------
Build Space: [exists] /home/jetson-falke/catkin_ws/build
Devel Space: [exists] /home/jetson-falke/catkin_ws/devel
Install Space: [unused] /home/jetson-falke/catkin_ws/install
Log Space: [exists] /home/jetson-falke/catkin_ws/logs
Source Space: [exists] /home/jetson-falke/catkin_ws/src
DESTDIR: [unused] None
-----------------------------------------------------------------
Devel Space Layout: linked
Install Space Layout: None
-----------------------------------------------------------------
Additional CMake Args: None
Additional Make Args: None
Additional catkin Make Args: None
Internal Make Job Server: True
Cache Job Environments: False
-----------------------------------------------------------------
Whitelisted Packages: None
Blacklisted Packages: None
-----------------------------------------------------------------
Workspace configuration appears valid.
-----------------------------------------------------------------
Error: There already is a workspace config file .rosinstall at "src". Use wstool install/modify.
- git:
local-name: mavlink
uri: https://github.com/mavlink/mavlink-gbp-release.git
version: release/kinetic/mavlink/2020.4.4-1
Using ROS_DISTRO: melodic
- git:
local-name: mavros
uri: https://github.com/mavlink/mavros.git
version: 1.1.0
/usr/lib/python2.7/dist-packages/wstool/config_yaml.py:74: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
yamldata = yaml.load(stream)
Merge caused no change, no new elements found
/usr/lib/python2.7/dist-packages/wstool/config_yaml.py:74: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
yamldata = yaml.load(stream)
[mavlink] Updating /home/jetson-falke/catkin_ws/src/mavlink
[mavlink] Done.
[mavros] Updating /home/jetson-falke/catkin_ws/src/mavros
[mavros] Done.
ubuntu_sim_ros_melodic.sh: line 75: rosdep: command not found
ubuntu_sim_ros_melodic.sh: line 78: rosdep: command not found
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package geographiclib
Downloading dependent script 'install_geographiclib_datasets.sh'
--2020-04-08 15:42:14-- https://raw.githubusercontent.com/mavlink/mavros/master/mavros/scripts/install_geographiclib_datasets.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.112.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.112.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1018 [text/plain]
Saving to: āSTDOUTā
- 100%[============================>] 1018 --.-KB/s in 0s
2020-04-08 15:42:14 (54,7 MB/s) - written to stdout [1018/1018]
bash: line 26: hash: geographiclib-get-geoids: not found
bash: line 30: hash: geographiclib-datasets-download: not found
OS not supported! Check GeographicLib page for supported OS and lib versions.
-----------------------------------------------------------------
Profile: default
Extending: [cached] /opt/ros/melodic
Workspace: /home/jetson-falke/catkin_ws
-----------------------------------------------------------------
Build Space: [exists] /home/jetson-falke/catkin_ws/build
Devel Space: [exists] /home/jetson-falke/catkin_ws/devel
Install Space: [unused] /home/jetson-falke/catkin_ws/install
Log Space: [exists] /home/jetson-falke/catkin_ws/logs
Source Space: [exists] /home/jetson-falke/catkin_ws/src
DESTDIR: [unused] None
-----------------------------------------------------------------
Devel Space Layout: linked
Install Space Layout: None
-----------------------------------------------------------------
Additional CMake Args: None
Additional Make Args: None
Additional catkin Make Args: None
Internal Make Job Server: True
Cache Job Environments: False
-----------------------------------------------------------------
Whitelisted Packages: None
Blacklisted Packages: None
-----------------------------------------------------------------
Workspace configuration appears valid.
-----------------------------------------------------------------
[build] Found '6' packages in 0.0 seconds.
[build] Package table is up to date.
Starting >>> mavlink
Starting >>> mavros_msgs
___________________________________________________________________________________________
Errors << mavlink:make /home/jetson-falke/catkin_ws/logs/mavlink/build.make.001.log
Traceback (most recent call last):
File "/home/jetson-falke/catkin_ws/src/mavlink/pymavlink/tools/mavgen.py", line 16, in <module>
Traceback (most recent call last):
Traceback (most recent call last):
File "/home/jetson-falke/catkin_ws/src/mavlink/pymavlink/tools/mavgen.py", line 16, in <module>
File "/home/jetson-falke/catkin_ws/src/mavlink/pymavlink/tools/mavgen.py", line 16, in <module>
from pymavlink.generator import mavgen
File "/home/jetson-falke/catkin_ws/src/mavlink/pymavlink/generator/mavgen.py", line 12, in <module>
from pymavlink.generator import mavgen
from pymavlink.generator import mavgen
File "/home/jetson-falke/catkin_ws/src/mavlink/pymavlink/generator/mavgen.py", line 12, in <module>
File "/home/jetson-falke/catkin_ws/src/mavlink/pymavlink/generator/mavgen.py", line 12, in <module>
from future import standard_library
from future import standard_library
from future import standard_library
ImportError: ImportErrorNo module named futureImportError:
: No module named futureNo module named future
Traceback (most recent call last):
File "/home/jetson-falke/catkin_ws/src/mavlink/pymavlink/tools/mavgen.py", line 16, in <module>
from pymavlink.generator import mavgen
File "/home/jetson-falke/catkin_ws/src/mavlink/pymavlink/generator/mavgen.py", line 12, in <module>
from future import standard_library
ImportError: No module named future
make[2]: *** [slugs-v2.0-cxx-stamp] Error 1
make[2]: *** [include/v1.0/autoquad/autoquad.h] Error 1
Traceback (most recent call last):
File "/home/jetson-falke/catkin_ws/src/mavlink/pymavlink/tools/mavgen.py", line 16, in <module>
from pymavlink.generator import mavgen
File "/home/jetson-falke/catkin_ws/src/mavlink/pymavlink/generator/mavgen.py", line 12, in <module>
from future import standard_library
ImportError: No module named future
make[2]: *** [uAvionix-v2.0-cxx-stamp] Error 1
make[1]: *** [CMakeFiles/slugs.xml-v2.0.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/autoquad.xml-v1.0.dir/all] Error 2
make[1]: *** [CMakeFiles/uAvionix.xml-v2.0.dir/all] Error 2
make[2]: *** [icarous-v2.0-cxx-stamp] Error 1
make[1]: *** [CMakeFiles/icarous.xml-v2.0.dir/all] Error 2
make[2]: *** [matrixpilot-v2.0-cxx-stamp] Error 1
make[1]: *** [CMakeFiles/matrixpilot.xml-v2.0.dir/all] Error 2
Traceback (most recent call last):
File "/home/jetson-falke/catkin_ws/src/mavlink/pymavlink/tools/mavgen.py", line 16, in <module>
from pymavlink.generator import mavgen
File "/home/jetson-falke/catkin_ws/src/mavlink/pymavlink/generator/mavgen.py", line 12, in <module>
from future import standard_library
ImportError: No module named future
Traceback (most recent call last):
File "/home/jetson-falke/catkin_ws/src/mavlink/pymavlink/tools/mavgen.py", line 16, in <module>
from pymavlink.generator import mavgen
File "/home/jetson-falke/catkin_ws/src/mavlink/pymavlink/generator/mavgen.py", line 12, in <module>
from future import standard_library
ImportError: No module named future
make[2]: *** [paparazzi-v2.0-cxx-stamp] Error 1
make[1]: *** [CMakeFiles/paparazzi.xml-v2.0.dir/all] Error 2
make[2]: *** [include/v1.0/icarous/icarous.h] Error 1
make[1]: *** [CMakeFiles/icarous.xml-v1.0.dir/all] Error 2
make: *** [all] Error 2
cd /home/jetson-falke/catkin_ws/build/mavlink; catkin build --get-env mavlink | catkin env -si /usr/bin/make --jobserver-fds=6,7 -j; cd -
...........................................................................................
Failed << mavlink:make [ Exited with code 2 ]
Failed <<< mavlink [ 0.9 seconds ]
Abandoned <<< libmavconn [ Unrelated job failed ]
Abandoned <<< mavros [ Unrelated job failed ]
Abandoned <<< mavros_extras [ Unrelated job failed ]
Abandoned <<< test_mavros [ Unrelated job failed ]
___________________________________________________________________________________________
Errors << mavros_msgs:cmake /home/jetson-falke/catkin_ws/logs/mavros_msgs/build.cmake.001.log
CMake Error at /opt/ros/melodic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
Could not find a package configuration file provided by "geographic_msgs"
with any of the following names:
geographic_msgsConfig.cmake
geographic_msgs-config.cmake
Add the installation prefix of "geographic_msgs" to CMAKE_PREFIX_PATH or
set "geographic_msgs_DIR" to a directory containing one of the above files.
If "geographic_msgs" provides a separate development package or SDK, be
sure it has been installed.
Call Stack (most recent call first):
CMakeLists.txt:4 (find_package)
cd /home/jetson-falke/catkin_ws/build/mavros_msgs; catkin build --get-env mavros_msgs | catkin env -si /usr/bin/cmake /home/jetson-falke/catkin_ws/src/mavros/mavros_msgs --no-warn-unused-cli -DCATKIN_DEVEL_PREFIX=/home/jetson-falke/catkin_ws/devel/.private/mavros_msgs -DCMAKE_INSTALL_PREFIX=/home/jetson-falke/catkin_ws/install; cd -
...........................................................................................
Failed << mavros_msgs:cmake [ Exited with code 1 ]
Failed <<< mavros_msgs [ 2.8 seconds ]
[build] Summary: 0 of 6 packages succeeded.
[build] Ignored: None.
[build] Warnings: None.
[build] Abandoned: 4 packages were abandoned.
[build] Failed: 2 packages failed.
[build] Runtime: 3.2 seconds total.
ROS catkin_ws setup.bash already in .bashrc
jetson-falke@falke-jetson:~$