Skip to content

Instantly share code, notes, and snippets.

View AndKe's full-sized avatar

André Kjellstrup AndKe

  • Tromsø, Norway
View GitHub Profile
/ # ulogcat |grep uavpal
I uavpal_drone(ulogger) : Huawei USB device detected (USB ID: 12d1:1f01)
I uavpal_drone(ulogger) : === Loading uavpal softmod 1.3-beta ===
I uavpal_drone(ulogger) : ... detected Parrot Disco (platform evinrude), firmware version 1.7.1
I uavpal_drone(ulogger) : ... trying to use kernel modules compiled for firmware 1.7.0
I uavpal_drone(ulogger) : ... loading tunnel kernel module (for zerotier)
I uavpal_drone(ulogger) : ... loading USB modem kernel modules
I uavpal_drone(ulogger) : ... loading iptables kernel modules (required for security)
I uavpal_drone(ulogger) : ... running usb_modeswitch to switch Huawei modem into huawei-new-mode
I uavpal_drone(ulogger) : ... detecting Huawei modem type
/ # ulogcat |grep uavpal
I uavpal_drone(ulogger) : Huawei USB device detected (USB ID: 12d1:1f01)
I uavpal_drone(ulogger) : === Loading uavpal softmod 1.3-beta ===
I uavpal_drone(ulogger) : ... detected Parrot Disco (platform evinrude), firmware version 1.7.1
I uavpal_drone(ulogger) : ... trying to use kernel modules compiled for firmware 1.7.0
I uavpal_drone(ulogger) : ... loading tunnel kernel module (for zerotier)
I uavpal_drone(ulogger) : ... loading USB modem kernel modules
I uavpal_drone(ulogger) : ... loading iptables kernel modules (required for security)
I uavpal_drone(ulogger) : ... running usb_modeswitch to switch Huawei modem into huawei-new-mode
I uavpal_drone(ulogger) : ... detecting Huawei modem type
@AndKe
AndKe / notes on mavproxy
Created January 18, 2019 08:41
mavproxy trouble
STABILIZE> module load map
STABILIZE> Traceback (most recent call last):
File "/home/andre/.local/lib/python2.7/site-packages/MAVProxy-1.6.9-py2.7.egg/EGG-INFO/scripts/mavproxy.py", line 312, in load_module
File "build/bdist.linux-x86_64/egg/MAVProxy/modules/mavproxy_map/__init__.py", line 799, in init
return MapModule(mpstate)
File "build/bdist.linux-x86_64/egg/MAVProxy/modules/mavproxy_map/__init__.py", line 62, in __init__
from MAVProxy.modules.mavproxy_map import mp_slipmap
File "build/bdist.linux-x86_64/egg/MAVProxy/modules/mavproxy_map/mp_slipmap.py", line 13, in <module>
ImportError: libavcodec.so.57: cannot open shared object file: No such file or directory
Arduino: 1.8.5 (Linux), Board: "Arduino Due (Native USB Port)"
/home/andre/Arduino/arduino-1.8.5/arduino-builder -dump-prefs -logger=machine -hardware /home/andre/Arduino/arduino-1.8.5/hardware -hardware /home/andre/.arduino15/packages -hardware /home/andre/Arduino/projects/hardware -tools /home/andre/Arduino/arduino-1.8.5/tools-builder -tools /home/andre/Arduino/arduino-1.8.5/hardware/tools/avr -tools /home/andre/.arduino15/packages -built-in-libraries /home/andre/Arduino/arduino-1.8.5/libraries -libraries /home/andre/Arduino/projects/libraries -fqbn=arduino:sam:arduino_due_x -ide-version=10805 -build-path /tmp/arduino -warnings=more -build-cache /tmp/arduino_cache_842549 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arm-none-eabi-gcc.path=/home/andre/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/4.8.3-2014q1 -prefs=runtime.tools.bossac.path=/home/andre/.arduino15/packages/arduino/tools/bossac/1.6.1-arduino -verbose /home/andre/Arduino/projects/libraries/MCUFRIEND_kbv/examples/GLUE_Demo_32
INFO: Expected time offset between camera and log is 30.29s
MATCHED: 0% Done, time diff.: 30.29s between ./IMG_6639.JPG 2016-05-30 16:17:55.33 & CAM log 8866 2016-05-30 16:17:25.04 Time since last CAM command -5211754.96s
MATCHED: 0% Done, time diff.: 0s between ./IMG_6640.JPG 2016-05-30 16:17:58.69 & CAM log 9009 2016-05-30 16:17:28.40 Time since last CAM command 3.36s
MATCHED: 0% Done, time diff.: 0s between ./IMG_6641.JPG 2016-05-30 16:18:02.29 & CAM log 9191 2016-05-30 16:17:32.00 Time since last CAM command 3.60s
MATCHED: 0% Done, time diff.: -.01s between ./IMG_6642.JPG 2016-05-30 16:18:05.68 & CAM log 9363 2016-05-30 16:17:35.40 Time since last CAM command 3.40s
MATCHED: 0% Done, time diff.: .01s between ./IMG_6643.JPG 2016-05-30 16:18:09.30 & CAM log 9545 2016-05-30 16:17:39.00 Time since last CAM command 3.60s
MATCHED: 1% Done, time diff.: 0s between ./IMG_6644.JPG 2016-05-30 16:18:12.89 & CAM log 9727 2016-05-30 16:17:42.60 Time since last CAM command 3.60s
MATCHED: 1% Done, time diff.: 0s between .
@AndKe
AndKe / gist:59bdfa7279d01a79b6d9079b52e87d24
Created April 30, 2016 09:02
crash only if closing graph shortly after opening - not on loading anymore.
andre@loke:~/Downloads/apm_planner-Segfault_Fix_wip/release$ gdb apmplanner2
GNU gdb (Ubuntu 7.11-0ubuntu1) 7.11
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
andre@loke:~/Downloads/apm_planner-Segfault_Fix_wip/release$ gdb apmplanner2
GNU gdb (Ubuntu 7.11-0ubuntu1) 7.11
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
andre@loke:~/prog/apm_planner/release$ gdb apmplanner2
GNU gdb (Ubuntu 7.11-0ubuntu1) 7.11
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
@AndKe
AndKe / gist:a5876e79e6dc8023964a9b5fd38e67fd
Created April 28, 2016 09:27
crash,crash,crash,success
andre@loke:~/prog/apm_planner/release$ ./apmplanner2
INFO 2016-04-28T11:18:27.157 QGCCore::initialize()
INFO 2016-04-28T11:18:27.157 Current Build Info
INFO 2016-04-28T11:18:27.157 Git Hash: 6cf155604030cbd52476ce01a06670a0ada06e98
INFO 2016-04-28T11:18:27.157 Git Commit: 2.0.19-rc4-133-g6cf1556-DEV
INFO 2016-04-28T11:18:27.157 APPLICATION_NAME: "APM Planner"
INFO 2016-04-28T11:18:27.157 APPLICATION_VERSION: "v2.0.20"
INFO 2016-04-28T11:18:27.158 APP_PLATFORM: ubuntu64
INFO 2016-04-28T11:18:27.158 APP_TYPE: stable
INFO 2016-04-28T11:18:27.201 Start Link Manager
@AndKe
AndKe / mission.txt
Created November 2, 2015 19:44
editor testmission
QGC WPL 110
0 1 0 16 0 0 0 0 0 0 0 1
1 0 3 16 0 0 0 0 69.6835659082675249 18.8681602478027344 100 1
2 0 3 16 0 0 0 0 69.6858902674109544 18.8794898986816406 100 1
3 0 3 16 0 0 0 0 69.6854432764853584 18.8910770416259766 100 1
4 0 3 16 0 0 0 0 69.6776943354234248 18.8965702056884766 100 1
5 0 3 16 0 0 0 0 69.6784693568993134 18.8784599304199219 100 1
6 0 3 16 0 0 0 0 69.6819268001616479 18.8959693908691406 100 1
7 0 3 16 0 0 0 0 69.6753392887962377 18.8846397399902344 100 1
8 0 3 16 0 0 0 0 69.674266016302937 18.875885009765625 100 1