ecmnet / MAVGCL

In-Flight Analysis for PX4
176 stars 68 forks source link

How to install on Ubuntu20.04 #141

Open Lov3notform3 opened 1 year ago

Lov3notform3 commented 1 year ago

openjdk version "11.0.16" 2022-07-19 OpenJDK Runtime Environment (build 11.0.16+8-post-Ubuntu-0ubuntu120.04) OpenJDK 64-Bit Server VM (build 11.0.16+8-post-Ubuntu-0ubuntu120.04, mixed mode, sharing) I git clone from here. And uncommented the build.xml for deploy_linux. Then used "ant deploy_linux" .

Terminal reply Target "mvn" does not exist in the project "MAVGAnalysis". It is used from target "deploy_linux".

Who can help me to solve the problem. Thanks.

avcuenes commented 1 year ago

I live this issue but I didnt solve it

palahmd commented 1 year ago

What worked for me (I am using MacOS):

  1. You have to download and build the following repositories from ecmnet:

    • Mavbase
    • Mavutils
    • Mavmap
    • Mavcom
  2. before building the repositories, you have to modify the respective build.xml files of Mavbase, Mavutils, Mavmap, Mavcom and MAVGCL and adjust the:

    • workspace.dir
    • deploy.dir
    • JAVA_HOME path
    • path to maven (mvn). If you don't have mvn, just download it directly from apache and place it to where it makes sense
  3. Build the targets one after the other with ant, with MAVGCL being the last target. Make sure you are setting the right build argument (e.g. ant build_mavbase -> see target name in the build.xml file)

Also one more thing to add: you don't need to comment out the deploy_linux. Just build the target deploy_linux_17.

andres040193ec commented 1 year ago

Hey, I'm using Ubuntu 20.04, what other repositories do I need, besides MAVGCL, in order to get the MAVGCL analysis working for gazebo simulation?

Any help is appreciated.