Search found 13 matches

by Edgar
Mon Jun 09, 2014 12:04 pm
Forum: Software development
Topic: Serial Ring Buffer Behaviour
Replies: 4
Views: 777

Re: Serial Ring Buffer Behaviour

Hi! Regarding the first point: Oh, it was explained in the remark - I've missed that. Sorry. But anyway, without the test condition, this MultiWii throws out the oldest data so that always the freshest data is in the buffer: right isn't true anymore. Instead, a third behaviour is introduced: MultiWi...
by Edgar
Sat Jun 07, 2014 11:06 am
Forum: Software development
Topic: Serial Ring Buffer Behaviour
Replies: 4
Views: 777

Re: Serial Ring Buffer Behaviour

Hi! Could some of the active developers do a quick review of the proposed fix and confirm (or not confirm) it, so that in case it's true it could be fixed in the public code? Additionally I've found another flaw in the serial routines: ISR (USART0_UDRE_vect) { uint8_t t = serialTailTX[0]; if (serial...
by Edgar
Sun Jun 01, 2014 12:49 pm
Forum: Software development
Topic: Serial Ring Buffer Behaviour
Replies: 4
Views: 777

Serial Ring Buffer Behaviour

(Applies to MultiWii 2.3, Build 1676) Hi! I've found some issue in the Serial.cpp code that I want to share here: As MultiWii uses its own serial functions, it also introduces some different (better suitable) behaviour when the serial RX ring buffers overflow: The original Arduino "HardwareSeri...
by Edgar
Tue Oct 08, 2013 9:48 pm
Forum: Software development
Topic: Maybe two little (long-time) bugs found
Replies: 5
Views: 730

Re: Maybe two little (long-time) bugs found

Second issue: Yes, the typecast fixes it! Elegant solution First one: You're right alex, if you say 65ms are far enough to hold the cycletime (variable "cycleTime"). But the point is: "previousTime" holds an absolute timestamp value (controller runtime in micro seconds) this is h...
by Edgar
Mon Oct 07, 2013 10:32 pm
Forum: Software development
Topic: Maybe two little (long-time) bugs found
Replies: 5
Views: 730

Maybe two little (long-time) bugs found

Hi there! I'm currently playing around a little bit with the MultiWii v2.2 code, to adapt and extend it to my own needs. Thereby i found two spots in the code, where I think there might be something not correct (maybe it has no practical effect, tough). But I thought I'd post it here, and maybe some...
by Edgar
Fri Apr 12, 2013 11:53 pm
Forum: Software development
Topic: Bug in v2.2: Some #define-values from 'config.h' are ignored
Replies: 6
Views: 674

Re: Bug in v2.2: Some #define-values from 'config.h' are ign

btw, can anybody tell me, where I can find the versions r1389, r1399 for download?
at http://code.google.com/p/multiwii/downloads/list the latest version is r1391
by Edgar
Fri Apr 12, 2013 3:22 am
Forum: Software development
Topic: Bug in v2.2: Some #define-values from 'config.h' are ignored
Replies: 6
Views: 674

Bug in v2.2: Some #define-values from 'config.h' are ignored

Hi community! This time, I think I've really found a little problem in the v2.2. Description is as follows: I'm using the VBAT functionality (#define VBAT) to get informed about the battery voltage via buzzer. When I tried to tweak the warning voltage levels in the VBAT section of the 'config.h' a l...
by Edgar
Fri Apr 05, 2013 8:56 pm
Forum: Software development
Topic: ACC ADXL345 problems when switching from 2.1 to 2.2
Replies: 3
Views: 444

Re: v2.2 Bug with ACC ADXL345?

I've found the problem. Re-calibrating was necessary. Sorry - thread can be deleted
by Edgar
Fri Apr 05, 2013 4:53 am
Forum: Software development
Topic: ACC ADXL345 problems when switching from 2.1 to 2.2
Replies: 3
Views: 444

ACC ADXL345 problems when switching from 2.1 to 2.2

Hello Community! Here a description of the experienced problem: My flight controller was working with 2.1. As I now tried to switch over to 2.2 I've a problem with my ADXL345 accelerometer: The roll value of the sensor is always -1000 in the GUI and no arming is possible. (I've cleared the EEPROM pr...
by Edgar
Sat Jul 21, 2012 3:03 am
Forum: Software development
Topic: Severe security issue with ESC calibration
Replies: 20
Views: 1858

Re: Severe security issue with ESC calibration

This is strange. On my board with an integrated ATmega328P with arduino bootloader it works. But I've combined it with some other modifications to dectect a trottle-stick high position during startup.
by Edgar
Fri Jul 20, 2012 9:13 pm
Forum: Software development
Topic: Severe security issue with ESC calibration
Replies: 20
Views: 1858

Re: Severe security issue with ESC calibration

Has meanwhile anybody tried this mod?

viewtopic.php?f=8&t=2078#p19020
by Edgar
Tue Jul 17, 2012 2:34 pm
Forum: Software development
Topic: Severe security issue with ESC calibration
Replies: 20
Views: 1858

Suggestion for code improvement

Hi all! The problem is, that not every time the controller-cpu resets the ESCs are reset also (e.g. after pluging/unplugining the usb-connection, after software flash, etc.). Hence, the ESCs don't get into calibration mode and put the full-throttle-command out to the motors. One possible solution is...