Skip to content

Instantly share code, notes, and snippets.

View esden's full-sized avatar

Piotr Esden-Tempski esden

View GitHub Profile
@esden
esden / control_panel_raw_sensors.xml
Last active August 29, 2015 14:24
Paparazzi Raw Sensor session
<!-- put this into the session section of conf/control_panel.xml -->
<session name="Raw Sensors">
<program name="Data Link">
<arg flag="-d" constant="/dev/ttyACM1"/>
<arg flag="-s" constant="57600"/>
</program>
<program name="Server">
<arg flag="-n"/>
</program>
<program name="Messages"/>
mandel.c:35: WARNING: externs should be avoided in .c files
mandel.c:36: WARNING: space prohibited between function name and open parenthesis '('
mandel.c:36: WARNING: externs should be avoided in .c files
mandel.c:38: WARNING: externs should be avoided in .c files
mandel.c:62: WARNING: Avoid CamelCase: <maxIter>
mandel.c:125: WARNING: Avoid CamelCase: <cX>
mandel.c:125: WARNING: Avoid CamelCase: <cY>
mandel.c:145: WARNING: Avoid CamelCase: <centerX>
mandel.c:145: WARNING: Avoid CamelCase: <centerY>
mandel.c:175: ERROR: do not use C99 // comments
/*
* This file is part of the libopencm3 project.
*
* Copyright (C) 2015 Piotr Esden-Tempski <piotr@esden.net>
*
* This library is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
@esden
esden / ladylisa.ini
Created December 11, 2014 20:10
Deviation TX configuration for LadyLisa nano quadcopter.
name=LadyLisa1
mixermode=Advanced
type=plane
[radio]
protocol=DSM2
num_channels=7
fixed_id=123456
tx_power=10mW
[protocol_opts]
@esden
esden / hlf4_flash.c
Created November 25, 2014 23:55
STM32F4 highlevel flash functions
/*
* Copyright (C) 2014 Piotr Esden-Tempski <piotr@esden.net>
*
* This file is part of Paparazzi.
*
* Paparazzi is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
@esden
esden / gist:8083ed08e81645db473f
Created July 16, 2014 03:30
Building LadyLisa nps simulator
1 esdentem@lain ~/projects/paparazzi/paparazzi-git (git)-[master] % make AIRCRAFT=LadyLisa clean_ac nps.compile
LadyLisa
rm -fr /Users/esdentem/projects/paparazzi/paparazzi-git/var/aircrafts/LadyLisa
-----------------------------------------------------------------------
Paparazzi version v5.1.1_testing-19-g0f43ff6-dirty
-----------------------------------------------------------------------
LadyLisa
BUILD LadyLisa, TARGET nps
GENERATE /Users/esdentem/projects/paparazzi/paparazzi-git/var/aircrafts/LadyLisa/nps/generated/airframe.h
##################################################

Keybase proof

I hereby claim:

  • I am esden on github.
  • I am esden (https://keybase.io/esden) on keybase.
  • I have a public key whose fingerprint is DB53 5E77 3A10 62E9 C5C3 65FF 7156 09FC 06B9 3138

To claim this, I am signing this object:

Assuming the configuration
1 2
\ /
/ \
4 3
1 CW
2 CCW
3 CW
4 CCW
@esden
esden / gist:4658539
Created January 28, 2013 20:02
dot gdbinit file for my bmp setup on mac os x
set target-async on
set confirm off
set mem inaccessible-by-default off
#set debug remote 1
#tar ext /dev/cu.usbmodem7FC084D1
tar ext /dev/cu.usbmodemDDE091B1
mon version
mon swdp_scan
#mon jtag_scan
att 1