hatem-darweesh / autoware.ai.openplanner

The workspace for directly downloading and installing Autoware.AI versions with the latest OpenPlanner 2.5 updates
Apache License 2.0
39 stars 7 forks source link

Is there anyone trying to install openplanner on Ubuntu 22.04 #14

Open hengcong opened 1 year ago

hengcong commented 1 year ago

I try to install Openplanner on Ubuntu22.04 and it seems there is a package named libproj-dev have made its header file obsolete.

--- stderr: open_planner
/home/huo/carla-autoware-universe/autoware/src/universe/external/open_planner/op_lib/src/mapping/opendrive/geometry/GeometryGenerator.cpp:21:10: fatal error: proj_api.h: No such file or directory
   21 | #include <proj_api.h>
      |          ^~~~~~~~~~~~
compilation terminated.
gmake[2]: *** [CMakeFiles/openplanner.dir/build.make:342: CMakeFiles/openplanner.dir/src/mapping/opendrive/geometry/GeometryGenerator.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:137: CMakeFiles/openplanner.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2
hatem-darweesh commented 1 year ago

I guess you need to connect carla-simulator to autoware universe ?! OpenPlanner for autoware universe is empty (no functionality) except to support carla-bridge. but this bridge works only with ROS 2 galactic on ubuntu 20.04. the main reason and they one issue that will block you for supporting humble on ubuntu 22.04 is the Python support.

Unless CARLA team change the functionality of the Simulator and scenario runner to work with Python 3.10, making autoware.universe (humble) to work with carla bridge is impossible.