You need to be a member of diydrones to add comments!

Join diydrones

Comments

  • where can i find the apm for ubunu 12.04? cheers

  • Trying to run apmplanner on linux mint qiana and getting the following:

    file:///usr/share/APMPlanner2/qml/ApmToolBar.qml:17:1: module "QtQuick" is not installed

    Just wanted to mention it here although I realize that this thread is completely ignored by anyone and nothing will ever change to the better....

  • I am trying to get apmplanner running on Ubuntu 12.04 and have errors when following instructions from here: http://planner2.ardupilot.com/wiki/installation-for-linux/

    When i try to download the package i get:

    "Processing triggers for gnome-menus ...

    Errors were encountered while processing:
    apmplanner2"

    Is there somewhere else I should be going to get a build for 12.04?

  • I'm running debian, not ubuntu. There's no universe repository in debian, and sadly, debian doesn't list apmplanner in it's repositories. But I'll give it another try on the pi and will also try to get it running in a debian installation on my android phone....we'll see...:)

  • Well, it works for me on my pi.  Took a while to build, but it starts up quickly and runs well.

    As for your library issues on your laptop, make sure you have 'universe' configured for in Software Sources.  Then, you can just install the binary, and it will pull in all the needed dependencies.

    Rick

  • Any updates on this? Managed to compile APM Planner on my Raspberry Pi although it only ran for one time , since then it just hangs in the startscreen, but on my 64 Bit Debian Laptop I failed due to those insatisfiable flite libraries etc.

    Where is the community for this? Can't believe that everyone is content having to use windows just to run the Mission Planner. Unbelievable.

  • With ubuntu 14.04

    Any fix, i already tried a lot of thing

  •  apmplanner2 depends on libudev0 (>= 0.140); however:
      Package libudev0 is not installed.

    dpkg: error processing package apmplanner2 (--install):
     dependency problems - leaving unconfigured
    Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
    Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
    Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) ...
    Rebuilding /usr/share/applications/bamf-2.index...
    Processing triggers for mime-support (3.54ubuntu1) ...
    Errors were encountered while processing:
     apmplanner2
    phmadeira2@U310-Touch:/tmp$ sudo apt-get install lildudev0Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    E: Unable to locate package lildudev0
    phmadeira2@U310-Touch:/tmp$ sudo apt-get install lilbudev0
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    E: Unable to locate package lilbudev0

  • I am trying to compile the current version on Linux Mint Olivia, which, I believe is based on Ubuntu 13.04 (the build on github has been tested against Ubuntu 13.10). I have successfully followed the instructions in the README, namely:

     

    1) Install the required packages:

    ```
    sudo apt-get install phonon libqt4-dev \
     libphonon-dev libphonon4 phonon-backend-gstreamer \
     qtcreator libsdl1.2-dev libflite1 flite1-dev build-essential \
     libopenscenegraph-dev libssl-dev
    ```

    2) Clone the repository in your workspace:

    ```
    cd ~/workspace
    git clone https://github.com/diydrones/apm_planner
    ```

    3) Build APM Planner:

    ```
    cd ~/workspace/apm_planner
    qtmake-qt4 qgroundcontrol.pro
    make

    However, make explodes with:

    In file included from src/ui/map3D/Q3DWidget.cc:32:0:
    src/ui/map3D/Q3DWidget.h:35:20: fatal error: QtOpenGL: No such file or directory

    I have installed all dependencies mentioned in the README and have checked that I have libqt4-opengl, which sounds like a good candidate for this error. Does anyone have any ideas what might be going wrong?

  • Hi Miquel,

    again, thanks for your feedback.

    I tried your zypper command and the system updated several packaged, indeed.

    I also loaded the latest zip file from the repository and tried to compile it.

    Now I get new errors:

    In file included from src/ui/MainWindow.cc:31:0:
    /usr/include/osg/Math: In function ‘bool osg::isNaN(float)’:
    src/QGC.h:54:18: error: ‘std::std’ has not been declared
     #define isnan(x) std::isnan(x)
                      ^
    /usr/include/osg/Math: In function ‘bool osg::isNaN(double)’:
    src/QGC.h:54:18: error: ‘std::std’ has not been declared
     #define isnan(x) std::isnan(x)
                      ^
    and so on.

    Nevermind: I can use my "hacked" version for the moment, which is super-stable.

    It is a great advantage in comparison to the "old" .NET based version which had to be executed with mono and crashed again and again.

    Kind regards

    Harald

This reply was deleted.