Search found 16 matches

by Niclas Hedlund
Thu Jul 11, 2013 3:47 pm
Forum: Software development
Topic: Building MultiWii in Eclipse
Replies: 25
Views: 9922

Re: Building MultiWii in Eclipse

Great guide! Feels good to leave the Arduino IDE. But it only compiles the first .cpp file in both projects (Arduino and Multiwii) when I hit build. So malloc.cpp and Alarms.cpp get compiled but nothing else. Feels like something is wrong in the make file? (I'm not that familiar with make files) (I ...
by Niclas Hedlund
Mon Dec 26, 2011 8:07 pm
Forum: Software development
Topic: MultiWii 1.9
Replies: 211
Views: 80225

Re: MultiWii 1.9

There is a thread describing the difference in i2c handling between 1.8 and 1.9. 1.8 basically ignored i2c errors, but 1.9 highlights them. Read more in this thread: http://www.multiwii.com/forum/viewtopic.php?f=8&t=986 Try adding two 2,2kOhm pull up resistors between SDA and 3,3v (if you are us...
by Niclas Hedlund
Mon Dec 26, 2011 4:59 pm
Forum: Software development
Topic: MultiWii 1.9
Replies: 211
Views: 80225

Re: MultiWii 1.9

Hi and welcome!

I suppose you have made the defined for the BMA020 in config.h?
What does your debug2 counter says in the GUI when running 1.9 with only WM+ and with both connected?
Debug2 is a i2c error counter and should stay at 0. There is i2c-bus errors if it increases.
by Niclas Hedlund
Fri Dec 09, 2011 7:11 pm
Forum: Software development
Topic: New serial code induces instability? SOLVED
Replies: 86
Views: 20918

Re: New serial code induces instability?

I have experienced exactly the same thing.
I used the PC GUI over BT-link and my quad was very jerky. I thought it was due to i2c errors again, but it could be the Serial data then.
The search continues!
by Niclas Hedlund
Thu Dec 08, 2011 9:46 pm
Forum: Software development
Topic: MAG and BARO problem
Replies: 5
Views: 2792

Re: MAG and BARO problem

Hey! I was just gonna make a thread with the same content. I have the same problems. Nothing happens except that the boxer become green when I activate Mag and Baro. I have ITG3200, NUNCHACK, BMP085 and HGC5883. But my TRUSTED_ACCZ has been commented out by mistake, so I haven't tried with that enab...
by Niclas Hedlund
Wed Dec 07, 2011 11:23 pm
Forum: Software development
Topic: MultiWii 1.9
Replies: 211
Views: 80225

Re: MultiWii 1.9

- The head/front will be remembered when you turn on the engines. So it means that you can turn on/off the "simple/head free" mode during the flight... That explains why I got so confused earlier today when I tried it. I thought it "stored" the orientation when the mode was enab...
by Niclas Hedlund
Tue Dec 06, 2011 10:20 pm
Forum: Software development
Topic: MultiWii 1.9
Replies: 211
Views: 80225

Re: MultiWii 1.9

Wayne wrote:What are the hardware requirements? Do I need to have GPS working and a Mag or will Mag only work.

Mag, ACC and Gyro if I understood everything correctly.
No need for GPS.
by Niclas Hedlund
Tue Nov 29, 2011 9:46 pm
Forum: Software development
Topic: Copter jerks extremely
Replies: 14
Views: 4803

Re: Copter jerks extremely

I just found my jerk-problem today. Everything was fine until i let the quad loose in the air. I even held it with two arms and a friend gave it full throttle and I shaked it and really tried to get the problem to appear. It sounded just like the ESC´s stopped for a short while and the quad started ...
by Niclas Hedlund
Sun Nov 27, 2011 3:09 pm
Forum: Software development
Topic: v1.10 - added simple check for GUI<->MWii communicati
Replies: 11
Views: 3978

Re: v1.10 - added simple check for GUI<->MWii communicati

Good idea's! I have made some changes myself. (but not commited them yeat) I added support for closing the com-port when pressing the "stop"-button. Then open the selected port again when pressing "start"-button. This is due to I have the FTDI-chip onboard my MultiWii-controller ...
by Niclas Hedlund
Fri Nov 25, 2011 10:47 am
Forum: Software development
Topic: Cycle Time on 1.9
Replies: 10
Views: 4047

Re: Cycle Time on 1.9

Frank> I get about the same time with/without the Tx active. (it decreases about 50-100 when i activate the Tx) Good info about D-value. I'll try that! How much did you raise it? The lower cycle time the better? Or am I'm wrong on that point? We get better refresh-rate from the sensors, and that's g...
by Niclas Hedlund
Thu Nov 24, 2011 9:30 pm
Forum: Software development
Topic: Cycle Time on 1.9
Replies: 10
Views: 4047

Re: Cycle Time on 1.9

I have about 2600 with 1.9 if my memory is correct. (cant check it right now) I have ITG3200, NK (i2c connected), BMP085, HMC5883 and running i2c on 400Hz. But I have very weird behavior, it is "shaking" in the air, both in stable and acro-mode. But this is with totally uncalibrated PID. T...
by Niclas Hedlund
Mon Nov 21, 2011 10:19 pm
Forum: Software development
Topic: Rushduino OSD - Multiwii based open software osd
Replies: 782
Views: 244326

Re: Rushduino OSD - Multiwii based open software osd

Great initiative!
Will the schematic be released?
Would be nice if users would like to build their own board. (of course without selling it)

Perfect to have a OSD that has a close connection with the MultiWii-board so they can share sensors, input/output status, GPS etc.
by Niclas Hedlund
Thu Sep 29, 2011 5:37 pm
Forum: Software development
Topic: EagleTree ALT-V4 Baro Integration. Success!
Replies: 79
Views: 22547

Re: EagleTree ALT-V4 Baro Integration. Hardware Working!

Can you see what sensor-chip that is located on the board?
by Niclas Hedlund
Fri Sep 16, 2011 7:20 am
Forum: Shields, boards and sensors
Topic: Turn Acc-sensor direction
Replies: 2
Views: 1664

Re: Turn Acc-sensor direction

Thats correct! Just watch out if you use the "#define GYRO_ORIENTATION()" in config.h because it seems to be altered compared to the "#define GYRO_ORIENTATION" that is used by default in Sensors.pde. X and Y are mixed up in the 1.8 patch1 release. config.h -->//#define GYRO_ORIEN...
by Niclas Hedlund
Wed Sep 14, 2011 12:58 pm
Forum: Ideas
Topic: GPS integration
Replies: 14
Views: 5640

Re: GPS integration

GUI uses 115200, right?

Many GPS units can select baudrate. That would solve the problem, but may be a "dirty" solution because it might not work with all GPS modules.
by Niclas Hedlund
Wed Sep 14, 2011 7:16 am
Forum: Ideas
Topic: GPS integration
Replies: 14
Views: 5640

Re: GPS integration

Hi everyone! I'm very new to the MultiWii-code, but I'm working as firmware programmer, so coding isn't new to me. Does the GUI ever send a '$' sign? (0x24) This shouldn't be a problem since all NMEA-strings start with the '$' sign. (so we can use 0x24 as key for GPS-data) If (received byte == '$') ...