dunk

Dunk's Friends

  • Alex

dunk's Discussions

motor noise affecting accelerometer readings.

Started this discussion. Last reply by dunk Nov 13, 2010. 1 Reply

my DIY Cypress CYRF6936 based RC system.

Started this discussion. Last reply by Jeffrey Torella Nov 23, 2010. 4 Replies

 

dunk's Page

Latest Activity

Profile Icon
dunk commented on Melih Karakelle's blog post 'New Opensource LRS Coming'
have you considered using an AVR with more 10bit timers than the ATMEGA328P ? this would allow you to do servo PWM in hardware leaving the microcontroller with far more time to do other things. i use a single ATMEGA2561 to run a 2.4GHz module,…
Nov 23, 2010
Profile Icon
Jeffrey Torella replied to dunk's discussion 'my DIY Cypress CYRF6936 based RC system.'
so kool i want one how do i do that?
Nov 23, 2010
Profile Icon
dunk commented on dunk's blog post 'Instrument panel written in Python.'
hey Pete, it's the same version of the program. yours should look the same as my screenshot. the bright yellow you are seeing are part of the raw images. pyGame should make the yellow bits transparent, letting the layer beneath show…
Nov 21, 2010
Profile Icon
Pete Hollands commented on dunk's blog post 'Instrument panel written in Python.'
Dunk, Thanks for looking into that in detail and setting up the Windows VM. Is that the normal colour scheme for the displays or a later version of the program ? (Mine is yellow and green). Best wishes, Pete
Nov 21, 2010
Profile Icon
dunk commented on dunk's blog post 'Instrument panel written in Python.'
hi Pete, on a windows VM i can't reproduce your findings. it's a clean XP install running Python 2.6.6 and pyGame 1.9.1release-svn2575 . it works fine for me. is there anything unusual about the machine you are running? i'm…
Nov 21, 2010
Profile Icon
dunk commented on dunk's blog post 'Instrument panel written in Python.'
hmm. that should be similar enough. odd. it's late here but i'll have a dig about tomorrow and see if i can find any information on transparencies working differently on Linux and windows. they *should* work the same but it is possible…
Nov 20, 2010
Profile Icon
Pete Hollands commented on dunk's blog post 'Instrument panel written in Python.'
Here are my python and pygame revision:- Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit (Intel)] on win32 IDLE 2.6.2 ==== No Subprocess ==== >>> import pygame >>>…
Nov 20, 2010
Profile Icon
dunk commented on dunk's blog post 'Instrument panel written in Python.'
hi Pete, that appears to be a problem with transparencies. the yellow area should be transparent. i suspect it's an issue with pyGame... any idea what version of pyGame you are using? i'm using '1.9.1release' on Linux. you can…
Nov 20, 2010
Profile Icon
Pete Hollands commented on dunk's blog post 'Instrument panel written in Python.'
Dunk, here is a link to a screencast in which I test out the program on windows.
Nov 19, 2010
Profile Icon
dunk commented on dunk's blog post 'Instrument panel written in Python.'
thanks everyone for the interest. hi Rana, hehe, that would kind of defeat the purpose of doing it my self though... Simon, hmm, not a bad idea. i think i have a windows virtual machine somewhere. how does py2exe work? anyone who uses my code…
Nov 19, 2010
Profile Icon
Pete Hollands commented on dunk's blog post 'Instrument panel written in Python.'
I have run the code under Windows, and although it runs, the instruments are not displaying correctly when run with: "dial.py test". I have installed pygame and serial, and the window displays the instruments, but they do not update…
Nov 19, 2010
Profile Icon
Simon Wood commented on dunk's blog post 'Instrument panel written in Python.'
Great work... and GPL'ed. Cool. You might want to consider looking at py2exe to bundle up it up into a Windows execute for all those lacking python installs/experience. Cheers, Simon.
Nov 19, 2010
Profile Icon
Pete Hollands commented on dunk's blog post 'Instrument panel written in Python.'
Dunk, that is super work, thanks for sharing the python code.
Nov 19, 2010
Profile Icon
Rana commented on dunk's blog post 'Instrument panel written in Python.'
Hey Dunk, you seems to be quite a talented person, so would suggest you to put your talent in the the streamlined DIY race of Ardupilot Mega or MatrixPilot based on UDB. Best Regards Rana
Nov 19, 2010
Profile Icon

Instrument panel written in Python.

hey guys,this might be of use to some of you:i've scripted a set of basic instruments in Python that might be of use to some of you.the Youtube clip shows it attached to my UAV project.for anyone who hasn't used it, Python is a particularly easy to use programming language that is used for all sorts of applications.there are loads of add on libraries to do much of the hard work for you which makes it particularly useful for this sort of rapid development.the Python code can be downloaded here…See More
Blog post by dunk Nov 19, 2010
Profile Icon
dunk replied to dunk's discussion 'motor noise affecting accelerometer readings.'
for anyone who's interested, i solved this problem. the issue was nothing to do with the accelerometer and everything to do with EMF from the power wires affecting the signal wires from the accelerometer. in a stroke of blind good luck, the…
Nov 13, 2010

Profile Information

Tell us a bit about your UAV interest
sites.google.com/site/mrdunk/

Dunk's Blog

dunk

Instrument panel written in Python.

Posted on November 18, 2010 at 5:30pm 12 Comments



hey guys,

this might be of use to some of you:

i've scripted a set of basic instruments in Python that might be of use to some of you.

the Youtube clip shows it attached to my UAV project.



for anyone who hasn't used it, Python is a particularly easy to use programming language that is used for all sorts of applications.

there are loads of add on libraries to do much of the hard work for you which makes it particularly useful for this sort of… Continue

Comment Wall

  • No comments yet!

You need to be a member of DIY Drones to add comments!

Join DIY Drones

 
 
 

© 2012   Created by Chris Anderson.

Badges  |  Report an Issue  |  Terms of Service