Monash-Connected-Autonomous-Vehicle / Twizy-Autoware-Shadow-Repo

0 stars 0 forks source link

Install ROS2 from source on PX2 #3

Closed dylan-gonzalez closed 1 year ago

dylan-gonzalez commented 1 year ago

PX2 is currently on Ubuntu 16.04

Performing a kernel upgrade is an option for getting a working Ubuntu 22.04 installation - but this option is hard!

If we can install ROS2 from source on the PX2 then we might have a good solution! But you may enter dependency hell...

Should probably first try Building ROS2 Eloquent from source on Ubuntu 16.04 (PX2), and if that works then try other distros like foxy, humble, etc.

ZileiChen commented 1 year ago

12/10/23 Installing ROS2 from source. Using the link above

Image

Attempting to install in this directory

The following is given after the step "Install dependencies using rosdep"

Image

Some warnings given are likely caused by having ros kinetic already installed in the PX2. The errors given are because the the system dependency "python3-ifcfg" and "python-mock" are not installed/available on Ubuntu 16 Xenial https://index.ros.org/d/python3-ifcfg/ https://index.ros.org/d/python-mock/ Image

After following the step

Image

This error is given

Image

ZileiChen commented 1 year ago

The full error is given below:

Image

Image

These errors look like dependency errors. Attempting to install/upgrade python3-setuptools does not work since the PX2 already has those installed.

Personally feel like most of the errors would be presented here as there are still 200+ packages not processed yet

dylan-gonzalez commented 1 year ago

Ok doesn't seem like it'll work then so no point spending more time at it

But just checking if you tried rosdep install --include-eol-distros (since eloquent is EOL)

ZileiChen commented 1 year ago

No I haven't tried that

dylan-gonzalez commented 1 year ago

Maybe just try that because otherwise rosdep install will ignore all EOL distros meaning it won't work for Eloquent And if that still doesn't work then feel free to close this issue