Issues getting Autoware without ADE to run on Automotive Grade Linux 12.90

asked 2021-07-26 11:13:34 -0500

anthonyt gravatar image

I am having trouble getting Autoware without ADE to run on ARM64 Automotive Grade Linux. When I run rosdep udpate I get an error message that is could not detect OS (which is AGL) does Autoware.Auto and ROS2 work on Automotive Grade Linux without using ADE?

I believe I need to add Automotive Grade Linux to OS in the ROS2 code correct?

agl-cn96-nvme2:~/AutowareAuto$ cat /etc/os-release
ID=poky-agl
NAME="Automotive Grade Linux"
VERSION="12.90.0+snapshot-20210722 (marlin)"
VERSION_ID=12.90.0-snapshot-20210722
PRETTY_NAME="Automotive Grade Linux 12.90.0+snapshot-20210722 (marlin)"

agl-cn96-nvme2:~/AutowareAuto$ rosdep init
ERROR: default sources list file already exists:
    /etc/ros/rosdep/sources.list.d/20-default.list
Please delete if you wish to re-initialize

agl-cn96-nvme2:~/AutowareAuto$ rosdep update
reading in sources list data from /etc/ros/rosdep/sources.list.d
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/osx-homebrew.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/base.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/python.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/ruby.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/releases/fuerte.yaml
Query rosdistro index https://raw.githubusercontent.com/ros/rosdistro/master/index-v4.yaml
Skip end-of-life distro "ardent"
Skip end-of-life distro "bouncy"
Skip end-of-life distro "crystal"
Skip end-of-life distro "dashing"
Skip end-of-life distro "eloquent"
Add distro "foxy"

ERROR: Rosdep experienced an error: Could not detect OS, tried ['zorin', 'windows', 'nixos', 'clearlinux', 'ubuntu', 'slackware', 'rocky', 'rhel', 'qnx', 'pop', 'osx', 'sailfishos', 'tizen', 'oracle', 'opensuse', 'opensuse', 'opensuse', 'opensuse', 'opensuse', 'openembedded', 'neon', 'mx', 'mint', 'linaro', 'gentoo', 'funtoo', 'freebsd', 'fedora', 'elementary', 'elementary', 'debian', 'cygwin', 'euleros', 'centos', 'manjaro', 'buildroot', 'arch', 'amazon', 'alpine', 'almalinux']
Please go to the rosdep page [1] and file a bug report with the stack trace below.
[1] : http://www.ros.org/wiki/rosdep

rosdep version: 0.21.0

Traceback (most recent call last):
  File "/home/apex/.local/lib/python3.8/site-packages/rosdep2/main.py", line 146, in rosdep_main
    exit_code = _rosdep_main(args)
  File "/home/apex/.local/lib/python3.8/site-packages/rosdep2/main.py", line 441, in _rosdep_main
    return _no_args_handler(command, parser, options, args)
  File "/home/apex/.local/lib/python3.8/site-packages/rosdep2/main.py", line 450, in _no_args_handler
    return command_handlers[command](options)
  File "/home/apex/.local/lib/python3.8/site-packages/rosdep2/main.py", line 659, in command_update
    update_sources_list(success_handler=update_success_handler,
  File "/home/apex/.local/lib/python3.8/site-packages/rosdep2/sources_list.py", line 516, in update_sources_list
    rosdep_data = get_gbprepo_as_rosdep_data(dist_name)
  File "/home/apex/.local/lib/python3.8/site-packages/rosdep2/gbpdistro_support.py", line 150, in get_gbprepo_as_rosdep_data
    ctx = create_default_installer_context()
  File "/home/apex/.local/lib/python3.8/site-packages/rosdep2/__init__.py", line 91, in create_default_installer_context
    m.register_platforms(context)
  File "/home/apex/.local/lib/python3.8/site-packages/rosdep2/platforms/debian.py", line 65, in register_platforms
    register_elementary(context)
  File "/home/apex/.local/lib/python3.8/site-packages/rosdep2/platforms/debian.py", line 95, in register_elementary
    (os_name, os_version) = context.get_os_name_and_version()
  File "/home/apex/.local/lib/python3.8/site-packages/rosdep2/installers.py", line 115, in get_os_name_and_version
    os_name = self.os_detect.get_name()
  File "/home/apex/.local/lib ...
(more)
edit retag flag offensive close merge delete