Search found 162 matches

by omwdunkley
Tue Jun 18, 2013 2:18 pm
Forum: Developer Discussions
Topic: ms5611 barometer usage - more altitude hold
Replies: 21
Views: 24645

Re: ms5611 barometer usage - more altitude hold

Quick results just using the barometer: http://www.youtube.com/watch?v=aRsvPyRQaFA - static http://www.youtube.com/watch?v=0oYzMVUKZKI - moving Next up Ill try to use the accelerometer. Once everything is working ill post the code, but for now ive changed so much (using my own flie driver in python ...
by omwdunkley
Fri Jun 14, 2013 12:51 pm
Forum: Developer Discussions
Topic: ms5611 barometer usage - more altitude hold
Replies: 21
Views: 24645

Re: ms5611 barometer usage - more altitude hold

Me too....its so much black magic.

Right now im trying to figure out how much the voltage drop affects my PID parameters..sadly quite considerably :D Need to figure that out ;)
by omwdunkley
Fri Jun 14, 2013 11:57 am
Forum: Developer Discussions
Topic: ms5611 barometer usage - more altitude hold
Replies: 21
Views: 24645

Re: ms5611 barometer usage - more altitude hold

What plotting program are you using? I really like the plots.
Google fusion tables to share data.
I mostly use ROS (rqt_plot etc) for monitoring real time data though. Makes recording and playing back data very easy as everything is nicely time stamped.
by omwdunkley
Fri Jun 14, 2013 10:58 am
Forum: Developer Discussions
Topic: ms5611 barometer usage - more altitude hold
Replies: 21
Views: 24645

Re: ms5611 barometer usage - more altitude hold

Sorry its taken so long to reply, code is a mess etc etc. Some example measurements: http://goo.gl/N9GUc Codewise: void ms5611GetData(float* pressure, float* temperature, float* asl){ int32_t tempPressureRaw, tempTemperatureRaw; // Dont reader faster than we can uint32_t now = xTaskGetTickCount(); i...
by omwdunkley
Fri Jun 14, 2013 10:00 am
Forum: Developer Discussions
Topic: Monitoring Flie Resource Usage (in real time?)
Replies: 1
Views: 2111

Monitoring Flie Resource Usage (in real time?)

Hey everyone, Is it somehow possible to monitor the resource usage of the flie in (semi) real time? Eg knowing that im using 98% of the computing power of the flie would be useful information. Are there ways to profile code segments? Ive never worked on hardware like this before! Any tips would help...
by omwdunkley
Fri Jun 14, 2013 9:57 am
Forum: Developer Discussions
Topic: [Hover Mode] Testing and setting Parameters
Replies: 51
Views: 47074

Re: [Hover Mode] Testing and setting Parameters

Hey guys! Ive been playing around with my own hover experiments - so far just using the barometer. Later Id like to include vertical acceleration too :) What sort of results are you getting? How big/frequent are the oscillations? As far as Im concerned tuning PID controllers is black magic ;) I can ...
by omwdunkley
Thu Jun 13, 2013 10:22 pm
Forum: Developer Discussions
Topic: Estimating Battery Discharge/Charge times
Replies: 3
Views: 3756

Estimating Battery Discharge/Charge times

Hey guys! Thought I would just open a discussion to talk about the best way to estimate charge/discharge times ;) Goal would be to have a running countdown to a full charge while charging or a countdown to the battery state hitting low while in use. Its not really important but it would make the who...
by omwdunkley
Mon Jun 10, 2013 3:30 pm
Forum: Developer Discussions
Topic: ms5611 barometer usage - more altitude hold
Replies: 21
Views: 24645

Re: ms5611 barometer usage - more altitude hold

Hey,
I fixed the issue today got roughly 100hz going. The original code is a little confusing. The first time you call get pressure it requests it, and the next time it reads it.

I'll post my code here later tonight once I'm home!

Thanks for the support and interest!
by omwdunkley
Mon Jun 10, 2013 7:13 am
Forum: Developer Discussions
Topic: ms5611 barometer usage - more altitude hold
Replies: 21
Views: 24645

Re: ms5611 barometer usage - more altitude hold

Thanks for your response ;) Thats pretty much what I have been doing so far - adding the read barometer functions calls within stabilizerTasnk(void*). static void stabilizerTask(void* param) { uint32_t attitudeCounter = 0; uint32_t altitudeCounter = 0; uint32_t lastWakeTime; vTaskSetApplicationTaskT...
by omwdunkley
Mon Jun 10, 2013 12:16 am
Forum: General discussions
Topic: Crazyflie stability
Replies: 6
Views: 6651

Re: Crazyflie stability

I have no idea if this applies to tiny quadcopters, but descending into ones own downwash is a big deal for helicopters, usually resulting in the rotors generating very little lift. And as lift at each rotor is the only thing keeping the CF stable, that might have something to do with it? Just a tho...