Skip to content

Instantly share code, notes, and snippets.

View AndKe's full-sized avatar

André Kjellstrup AndKe

  • Tromsø, Norway
View GitHub Profile
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:
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:
@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:
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 .
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
@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
/ # 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 / gist:2cc61b17d1c39af41a28d3ac2a2e6997
Created April 17, 2019 20:40
2G / bad connection experience:
BusyBox v1.25.0 (2018-06-20 15:42:53 UTC) built-in shell (ash)
Enter 'help' for a list of built-in commands.
/ # 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
---------------------------------------------------- beginning of /proc/kmsg
K I KERNEL : Booting Linux on physical CPU 0
K I KERNEL : Initializing cgroup subsys cpu
K N KERNEL : Linux version 3.4.11+ (jenkins@94f3b28797c4) (gcc version 4.6.3 (Sourcery CodeBench Lite 2012.03-57) ) #1 SMP PREEMPT Wed Jun 20 15:48:15 UTC 2018
K W KERNEL : CPU: ARMv7 Processor [412fc097] revision 7 (ARMv7), cr=10c53c7d
K W KERNEL : CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
K W KERNEL : Machine: Evinrude board
K I KERNEL : P7 per device DMA memory regions:
K I KERNEL : 9ff00000:9fffffff: ramoops.0
K I KERNEL : 9fe00000:9fefffff: cast-nand.0