Search found 478 matches

by Sebbi
Fri Dec 06, 2013 12:44 pm
Forum: Software development
Topic: GPS NAV
Replies: 964
Views: 401143

Re: GPS NAV

EOSBandi wrote:IT HAPPENED !
I updated the first post.


Good ... and now Patricks patches to make navigation work with Airplanes/Flying Wings should be integrated before the next big release ;-)
by Sebbi
Wed Dec 04, 2013 1:24 pm
Forum: Ideas
Topic: prop loss failsafe recovery
Replies: 11
Views: 6823

Re: prop loss failsafe recovery

"How relevant" ... well it never happened to me, but I bet pilots would feel saver if their quads could land relatively safely in the event of a prop loss (or damaged motor). It's not the same as the redundancy provided by hex or octo configurations, but hey ...
by Sebbi
Tue Dec 03, 2013 9:35 am
Forum: Ideas
Topic: prop loss failsafe recovery
Replies: 11
Views: 6823

Re: prop loss failsafe recovery

Can you please point out the page where the author discusses recovery from a 1 rotor loss in a quadrocopter configuration? I couldn't find it right away ...
by Sebbi
Tue Dec 03, 2013 7:34 am
Forum: Ideas
Topic: prop loss failsafe recovery
Replies: 11
Views: 6823

Re: prop loss failsafe recovery

Wow, that would be really interesting to have ;-)
by Sebbi
Fri Nov 29, 2013 2:20 pm
Forum: Software development
Topic: GPS NAV
Replies: 964
Views: 401143

Re: GPS NAV

"Now it would be handy Inertial navigation only" ... can't there be some kind of Kalman filter for the position? Combining IMU and GPS and other position/speed sensors to get more reliable information? I guess an Arduino wouldn't be fast enough, but an external µC could feed such filtered ...
by Sebbi
Tue Nov 19, 2013 12:32 pm
Forum: Software development
Topic: Same speksat and sbus failsafe nonsense in 2.3..
Replies: 5
Views: 2875

Re: Same speksat and sbus failsafe nonsense in 2.3..

Seriously, you are complaining about 3 lines in RX.cpp that are needed for everyone else and that only needs a more elaborate #if defined so it is ignored for sbus/spektrum? What makes the code at that specific place unreadable? In general, yeah ... those #if #elif #endif clauses everywhere make the...
by Sebbi
Mon Nov 18, 2013 1:44 am
Forum: Software development
Topic: Implementing a Hardware Abstraction Layer (HAL)?
Replies: 35
Views: 9578

Re: Implementing a Hardware Abstraction Layer (HAL)?

Just a quick reply ... I had some free time and was able to modify MultiWii 2.3 code in a way so it can be compiled on different plattforms. Currently that is AVR/Arduino and X86 (using the Visual Studio c++ compiler). This version has no functionality yet, but it runs the loop with dummy sensor dat...
by Sebbi
Sun Nov 17, 2013 8:08 pm
Forum: Software development
Topic: 2.3 version acc_1G and MSP_RAW_IMU
Replies: 3
Views: 2009

Re: 2.3 version acc_1G and MSP_RAW_IMU

Wouldn't it be better if the GUI could just display values over 512 properly? Just divide by 8 in the GUI code
by Sebbi
Sun Nov 17, 2013 2:50 pm
Forum: Ideas
Topic: wishlist for v2.3
Replies: 104
Views: 43317

Re: wishlist for v2.3

Where is the wishlist for 2.4? My wishes: - Hardware abstraction! Arduino was invented to do just that, but MultiWii uses AVR specific code almost everywhere. With an abstraction layer it could be easier to port MultiWii to different plattforms (AVR, ARM, X86, STM32) and run the same code everywhere...
by Sebbi
Sun Nov 17, 2013 2:40 pm
Forum: Software development
Topic: I2C speed setting
Replies: 4
Views: 3101

Re: I2C speed setting

Oh ... changed 40 hours ago ;-)

This is why I like Github and its patch submission system ... notifications ;-)
by Sebbi
Sun Nov 17, 2013 1:57 pm
Forum: Software development
Topic: I2C speed setting
Replies: 4
Views: 3101

Re: I2C speed setting

No reply? ;-)

Wouldn't it be more efficient to set the I2C bus to 400 kHz by default and just temporarily switch to 100 kHz in the WMP/Nunchuck sensor methods instead of having 100 kHz the default and switching to 400 kHz for every sensor (except the MPUs)?
by Sebbi
Fri Nov 15, 2013 3:00 pm
Forum: Software development
Topic: 2.3 is finally here :)
Replies: 97
Views: 104975

Re: 2.3 is finally here :)

@varvar:
MPU6050 requires initialization! So if you have I2C connection problems the sensor will not recover. When I had the problem a capacitor over VCC/GND near the MPU6050 solved it for me. Looks like the voltage was not stable enough ...
by Sebbi
Fri Nov 15, 2013 11:22 am
Forum: Software development
Topic: I2C speed setting
Replies: 4
Views: 3101

I2C speed setting

Hi there, I hadn't have a lot of time for MultiWii in the last months, but I am beginning to work my way back. While doing this I noticed a few things about the I2C handling, maybe one of the devs can look into it. There is a define I2C_SPEED in config.h which is set to 100000L (100 kHz) and is used...
by Sebbi
Fri Nov 08, 2013 10:40 am
Forum: FPV, OSD, Cameras
Topic: Share your FPV experience with Securitycamera2000
Replies: 11
Views: 5553

Re: Share your FPV experience with Securitycamera2000

Hello Securitycamera2000, while your cameras are really nice for FPV I have to complain about your way of dealing with replacements. I ordered one camera in July and it arrived just a few days later, but didn't work. Your support was helpful and I sent back the faulty cam while being promissed to ge...
by Sebbi
Fri Nov 01, 2013 8:04 pm
Forum: Software development
Topic: Making Flow chart for Multiwii development?
Replies: 11
Views: 4772

Re: Making Flow chart for Multiwii development?

I suspect spam ... first post, stock photo as avatar, link to chart software and english doesn't seem to be his first language.
by Sebbi
Sun Oct 20, 2013 3:02 pm
Forum: Software development
Topic: ios+multiwii,appstore release inside, check details, twitter
Replies: 103
Views: 693769

Re: ios + multiwii ! first version is ready to release !

So this works with a bluetooth 4.0 board connected to the flight controller, correct?
by Sebbi
Sat Sep 21, 2013 3:19 pm
Forum: Shields, boards and sensors
Topic: Arduino Compatible Mega wiith MPU6050
Replies: 2
Views: 1628

Re: Arduino Compatible Mega wiith MPU6050

I want one with the MPU9150 ... it's interesting that nobody manufactured a Arduino Due with this MPU yet ... the hardware is over a year old now and we still use 8 bit Arduinos and old sensors :/
by Sebbi
Fri Sep 20, 2013 4:03 pm
Forum: FPV, OSD, Cameras
Topic: FPV Eagle
Replies: 4
Views: 2753

Re: FPV Eagle

I'd like to have footage from those stereo cameras on the front gimbal! Looks incredibly stable ;-)
by Sebbi
Wed Sep 18, 2013 5:20 pm
Forum: FPV, OSD, Cameras
Topic: FPV Eagle
Replies: 4
Views: 2753

FPV Eagle



Yes ... a FPV from an actual eagle ... figured it belongs on this board ;-)
by Sebbi
Mon Sep 16, 2013 11:34 pm
Forum: Software development
Topic: Suggestion for Baro temperature in getEstimatedAltitude
Replies: 22
Views: 12451

Re: Suggestion for Baro temperature in getEstimatedAltitude

Well, the original idea was to speed up the altitude estimation which was a slow "pow()" implementation. The "log()" approach was faster, but needs the temperature. It could work with some medium value if you don't care about "correct" altitude display. But if the chip ...
by Sebbi
Mon Sep 16, 2013 2:46 pm
Forum: Software development
Topic: Suggestion for Baro temperature in getEstimatedAltitude
Replies: 22
Views: 12451

Re: Suggestion for Baro temperature in getEstimatedAltitude

No, it's definitely the formula, which includes the *ground* temperature, which is used for all aviation around the world. All barometric altitudes in the aviation for a defined area are calculated based on barometric pressure and temperature of an airport. This is not correct, but since all airpla...
by Sebbi
Mon Sep 16, 2013 1:05 am
Forum: Software development
Topic: Suggestion for Baro temperature in getEstimatedAltitude
Replies: 22
Views: 12451

Re: Suggestion for Baro temperature in getEstimatedAltitude

MultiWii should transmit baro- (and gyro) temperatures in the GUI to confirm this problem. Pressure calculation of these sensors heavily rely on the measured temperature (see i2c_MS561101BA_Calculate() and i2c_BMP085_Calculate()). Is there a heating element in those sensors which needs to be compens...
by Sebbi
Tue Sep 10, 2013 9:56 am
Forum: Software development
Topic: Qt Project
Replies: 24
Views: 6683

Re: Qt Project

Isn't the current GUI multi-platform? What kind of other platforms do you want to support with a QT-Gui?
by Sebbi
Fri Sep 06, 2013 8:52 am
Forum: Software development
Topic: generic wireless UART with OLRS pair
Replies: 3
Views: 1788

Re: generic wireless UART with OLRS pair

What is the expected range for those devices?
by Sebbi
Fri Aug 30, 2013 6:21 am
Forum: Boards
Topic: Lisa/S compatible?
Replies: 1
Views: 1526

Lisa/S compatible?

Would the new Lisa/S autopilot hardware be compatible with the 32-bit versions of MultiWii?

http://paparazzi.enac.fr/wiki/Lisa/S

9dof + baro + ublox gps in one very small package
by Sebbi
Thu Aug 29, 2013 12:18 pm
Forum: Software development
Topic: Is it a software bug?
Replies: 5
Views: 2374

Re: Is it a software bug?

Short answer: no Long answer: A PID controller has a proportional term (P), an integral term (I) and a derivative term (D). MultWii uses a full PID controller for gyro based corrections, but only a PI controller for accelerometer based corrections. The D value is instead used to limit the influence ...
by Sebbi
Wed Aug 28, 2013 6:58 am
Forum: Shields, boards and sensors
Topic: Kickstarter: Quad named "Hex", BT4.0 + MPU6050 + 32u4 = $49
Replies: 0
Views: 1070

Kickstarter: Quad named "Hex", BT4.0 + MPU6050 + 32u4 = $49

http://www.kickstarter.com/projects/138 ... ne-can-fly

This looks interesting ... bluetooth 4.0 controlled micro copter running MultiWii (or MicroWii like they call it)
by Sebbi
Mon Aug 26, 2013 1:20 pm
Forum: Software development
Topic: UART Radio project
Replies: 112
Views: 50660

Re: UART Radio project

What is the range of those links? Would a lower baud rate increase the range? Why 115200 baud? That's 5000+ 16 bit values per second ... a bit overkill for telemetry ;-)
by Sebbi
Mon Aug 26, 2013 12:33 pm
Forum: Software development
Topic: [PATCH] in GPS.cpp if I2c_GPS_SONAR enabled
Replies: 15
Views: 5435

Re: Error in GPS.cpp if I2c_GPS_SONAR enabled

In perfect world you'd check out MultiWii_shared from the SVN trunk and produce a patch (file) that fixes the problem. Upload it here (git pull requests wont work here) and have some dev test/integrate it.
by Sebbi
Wed Aug 14, 2013 6:36 pm
Forum: Ideas
Topic: Need better 6050 gyro calibration, any ideas?
Replies: 45
Views: 25190

Re: Need better 6050 gyro calibration, any ideas?

Indeed ... full scale also changed from 8g to 2g and the division by 8 is gone, too ... that changes the ACC_1G define by a factor of 32 To scale the value correctly in the GUI accSmooth should be divided by the same factor. GyroData does not need division, because it's scaled in computeIMU() ... Gy...
by Sebbi
Wed Aug 14, 2013 2:32 pm
Forum: Ideas
Topic: Need better 6050 gyro calibration, any ideas?
Replies: 45
Views: 25190

Re: Need better 6050 gyro calibration, any ideas?

timecop wrote:
for(uint8_t i=0;i<3;i++) serialize16(accSmooth[i]>>3);

for loops on one line, for FASTER EXECUTION.
You heard it here first.


And you'll only hear it here ...
by Sebbi
Wed Aug 14, 2013 2:24 pm
Forum: Ideas
Topic: Need better 6050 gyro calibration, any ideas?
Replies: 45
Views: 25190

Re: Need better 6050 gyro calibration, any ideas?

MultiWii is using a struct imu ... no accSmooth/gyroData/etc ...

Anyway, you have to adapt ALL changes from the Github branch. Not just some of them. The repo itself is based on trunk, so this should work right away ...
by Sebbi
Mon Aug 12, 2013 10:05 am
Forum: Ideas
Topic: Need better 6050 gyro calibration, any ideas?
Replies: 45
Views: 25190

Re: Need better 6050 gyro calibration, any ideas?

Could be a problem with the gyro calibration ... if it can't calibrate it wont start.
by Sebbi
Mon Aug 12, 2013 6:16 am
Forum: Software development
Topic: Unified communication (for telemetry, GUI, logging, etc)
Replies: 21
Views: 7809

Re: Unified communication (for telemetry, GUI, logging, etc)

Nickman1200 wrote:Any news on this Sebbi ?


Not much has happened, because of brain melting temperatures ... but August seems like a good month to get a simple implementation going.
by Sebbi
Sun Aug 11, 2013 12:41 am
Forum: Ideas
Topic: Need better 6050 gyro calibration, any ideas?
Replies: 45
Views: 25190

Re: Need better 6050 gyro calibration, any ideas?

All GYROs will drift it is just a matter of how much. The GYRO is the principal sensor mostly because it is a first order derivative and the second order derivatve ACC is comingled with the gravitational acceleration. OK so we have angular rate of change where as it would be better to have just the...
by Sebbi
Sun Aug 11, 2013 12:06 am
Forum: Ideas
Topic: An Observation about Multiwii and an interface question
Replies: 3
Views: 2149

Re: An Observation about Multiwii and an interface question

The gcc "-E" option outputs just the code after the preprocessor ...
by Sebbi
Sat Aug 10, 2013 1:31 pm
Forum: Ideas
Topic: Need better 6050 gyro calibration, any ideas?
Replies: 45
Views: 25190

Re: Need better 6050 gyro calibration, any ideas?

Why is it important to do NED? Only pitch is reversed to what's considered normal for an airplane. Would just need an inversion in the calculations ...
by Sebbi
Sat Aug 10, 2013 11:47 am
Forum: Ideas
Topic: Need better 6050 gyro calibration, any ideas?
Replies: 45
Views: 25190

Re: Need better 6050 gyro calibration, any ideas?

I should probably do some flight tests and clean up the code (dirty division by 16 for gyrodata) ... so main devs can at least consider this being included into _shared / next release ;-)
by Sebbi
Thu Aug 08, 2013 10:10 pm
Forum: Shields, boards and sensors
Topic: I2C Bus Capacity?
Replies: 6
Views: 2117

Re: I2C Bus Capacity?

It should be between 300 and 600 Hz (gyro gets polled twice that fast in computeIMU()) ... depending on cycle time which largely depends on the features configured in config.h
by Sebbi
Thu Aug 08, 2013 4:50 pm
Forum: Shields, boards and sensors
Topic: I2C Bus Capacity?
Replies: 6
Views: 2117

Re: I2C Bus Capacity?

Since I2C is master/slave communication there is no way you could "overuse" I2C. The master asks a slave for data and when that operation finishes it can immediately do another one ... bus speed / sensor answering speed determines how fast this goes. As for maximum time between sensor read...
by Sebbi
Thu Aug 08, 2013 12:22 pm
Forum: Shields, boards and sensors
Topic: I2C Bus Capacity?
Replies: 6
Views: 2117

Re: I2C Bus Capacity?

in Fast-mode (400 kHz) the bandwith of the bus is 400 kbit/s (suprised?). I2C addresses are 7-10 bit so around 100 to 1000 devices can be on the same bus. Since there is some protocol overhead I'll assume an actual bandwidth of 200 kbit/s ... an MPU6050s complete dataset (acc+temp+gyro+external mag)...
by Sebbi
Thu Aug 08, 2013 11:58 am
Forum: Shields, boards and sensors
Topic: 50 Hz GPS thread (Piksi RTK GPS receiver)
Replies: 8
Views: 4935

50 Hz GPS thread (Piksi RTK GPS receiver)

There is a kickstarter currently looking for funds that promises a RTK GPS receiver for just $900: m What is RTK GPS? Simply put, it uses a base station with its own GPS receiver to do some clever corrections that can be used by the mobile GPS receiver to get centimeter accuracy (similar to DGPS, bu...
by Sebbi
Wed Aug 07, 2013 12:54 am
Forum: Software development
Topic: Continuous Telemetry
Replies: 7
Views: 2963

Re: Continuous Telemetry

I assume this would be needed if only uni-directional (from copter to ground) serial communication is possible? A function like this would write simulated MSP request into the input buffer: void requestMSP(uint8_t msp, uint8_t port) { //header store_uart_in_buf('$', port); store_uart_in_buf('M', por...
by Sebbi
Tue Aug 06, 2013 7:48 pm
Forum: Ideas
Topic: Need better 6050 gyro calibration, any ideas?
Replies: 45
Views: 25190

Re: Need better 6050 gyro calibration, any ideas?

Higher resolution doesn't seem to affect calculations anywhere (I adjusted for overflows in atan2 and accmag calculations). The PID controller uses imu.gyroData instead of imu.gyroADC which has reduced resolution in my "patch" ... should behave like before, although it doesn't benefit from...
by Sebbi
Tue Aug 06, 2013 12:10 am
Forum: Ideas
Topic: Multirotor chasing another Multirotor automatically? Tracker
Replies: 15
Views: 4850

Re: Multirotor chasing another Multirotor automatically?

The P328 should be able to handle that, after all the whole serial protocol is already compiled in ... you "just" need to connect both copters via a serial bluetooth bridge and modify serial.cpp in a way so it periodically sends out the correct MSP message. This waypoint set message should...
by Sebbi
Mon Aug 05, 2013 3:33 pm
Forum: Ideas
Topic: Need better 6050 gyro calibration, any ideas?
Replies: 45
Views: 25190

Re: Need better 6050 gyro calibration, any ideas?

Smartphones indeed made sensors both better and cheaper. Soooo, I conducted some tests with my NanoWii (MPU6050) and these are my results so far (no flight tests were conducted). First test: - configured the gyro for a full scale of +-500 °/s and using the value directly - gyro data (imu.gyroADC) wa...
by Sebbi
Sun Aug 04, 2013 6:33 pm
Forum: Ideas
Topic: Need better 6050 gyro calibration, any ideas?
Replies: 45
Views: 25190

Re: Need better 6050 gyro calibration, any ideas?

Just a quick addition: MultiWii is called MultiWii because of the use of the sensors from a Wii remote. Those gyros and accelerometers were fine 5 years ago, but the 6050 and currently the 9050 from Invensense run circles around them in terms of accurary, cross-axis error, temperature drift, etc ......
by Sebbi
Sat Aug 03, 2013 5:22 pm
Forum: Ideas
Topic: Need better 6050 gyro calibration, any ideas?
Replies: 45
Views: 25190

Re: Need better 6050 gyro calibration, any ideas?

+1 sounds reasonable to me and should be implemented
by Sebbi
Tue Jul 30, 2013 4:48 pm
Forum: Ideas
Topic: wishlist for v2.3
Replies: 104
Views: 43317

Re: wishlist for v2.3

Hey there! Having a look at my FPV gear, another thing just came to my mind: A different mode for the gimbal control, supporting pan/tilt camera mount and a signal from a headtracker, transmitted via R/C radio and (PPM sum) reciever. Possibly with an optional switch for nick compenastion. Greeting ...
by Sebbi
Thu Jul 25, 2013 2:44 pm
Forum: Software development
Topic: OK and safe to check out code from rep for flying ?
Replies: 8
Views: 2771

Re: OK and safe to check out code from rep for flying ?

PatrikE wrote:I hope you are NOT using bullet connectors between esc and motor's.
It's a well known problemsource.


I do and never had a problem. What kind of problems would they cause?