Search found 39 matches

by BarneyG
Fri Nov 21, 2014 11:33 am
Forum: Software
Topic: Cleanflight aka Multiwii port to STM32 F10x and F30x
Replies: 761
Views: 1571563

Re: Cleanflight aka Multiwii port to STM32 F10x and F30x

hmmmm .... "The AIR Hero•32 features the 6050 Gyro/Acc on SPI bus"

if you look at the data sheet for the 6050 it doesn't do SPI only i2c.
by BarneyG
Fri Oct 10, 2014 11:44 am
Forum: Software
Topic: Cleanflight aka Multiwii port to STM32 F10x and F30x
Replies: 761
Views: 1571563

Re: Cleanflight aka Multiwii port to STM32 F10x and F30x

It's already incompatible with the aux configuration page and has been for some time. I'm in talks with the author of that already which was partly how this and the 5 pos code has come about What i'm planning should be able to be backwards compatible anyway. This evening I've set to work on the con...
by BarneyG
Thu Oct 09, 2014 7:26 pm
Forum: Software
Topic: Cleanflight aka Multiwii port to STM32 F10x and F30x
Replies: 761
Views: 1571563

Re: Cleanflight aka Multiwii port to STM32 F10x and F30x

I'm currently still trying to decide how best to tackle aux configuration. My current thinking is to stop using MSP_SET_BOX and MSP_BOX commands and do something different. Not least because the MSP commands are referring to visual representation of the UI rather than being named after the behavior...
by BarneyG
Fri Aug 15, 2014 7:45 pm
Forum: Boards
Topic: Naze32 hardware discussion thread
Replies: 3249
Views: 1376303

Interesting ... this was a bug in multiwii 2.2 But I thought it was fixed in 2.3 which is what the current Baseflight is based on.
by BarneyG
Sun Mar 16, 2014 10:43 pm
Forum: Software development
Topic: baseflight configurator (win/linux/mac)
Replies: 110
Views: 67659

Re: baseflight configurator (win/linux/mac)

Crap ... I missed that post ... sorry for the stupid question.
by BarneyG
Sun Mar 16, 2014 10:27 pm
Forum: Software development
Topic: baseflight configurator (win/linux/mac)
Replies: 110
Views: 67659

Re: baseflight configurator (win/linux/mac)

I've not used this for some time now but I tried to use it again today and ran into : 21:08:17 -- Serial port successfully opened with ID: 2 21:08:27 -- No configuration received within 10 seconds, communication failed I've tried both USB and BT at 115200 and get the same result. I'm running 21:07:0...
by BarneyG
Tue Feb 11, 2014 3:32 pm
Forum: Getting Started - MultiWii config and setup
Topic: How can I use PPM-SUM pin on Crius v2
Replies: 0
Views: 687

How can I use PPM-SUM pin on Crius v2

Looks like I asked this in the wrong board so I'll put it in the right place. So assuming you don't use the #define PPM_ON_THROTTLE option then it would appear that what you get is: #define PPM_PIN_INTERRUPT attachInterrupt(4, rxInt, RISING); //PIN 19, also used for Spektrum satellite option The com...
by BarneyG
Sat Feb 08, 2014 2:53 pm
Forum: Software development
Topic: PPM-SUM pin on Crius v2
Replies: 4
Views: 1934

Re: PPM-SUM pin on Crius v2

Anyone ?

And based on Hamburgers Last Post should this be in the Setup section ? ... in which case can a Mod move it please :)
by BarneyG
Wed Feb 05, 2014 9:54 pm
Forum: Software development
Topic: PPM-SUM pin on Crius v2
Replies: 4
Views: 1934

PPM-SUM pin on Crius v2

OK so Jimbo385 has got me annoyed with myself for taking the easy route out and just using the A8 pin for PPM-SUM. So assuming you don't use the #define PPM_ON_THROTTLE option then it would appear that what you get is: #define PPM_PIN_INTERRUPT attachInterrupt(4, rxInt, RISING); //PIN 19, also used ...
by BarneyG
Thu Jan 30, 2014 10:08 am
Forum: Software development
Topic: GPS NAV
Replies: 964
Views: 400999

Re: GPS NAV

Jimbo385 wrote:
-ralf- wrote:Move all files to a subfolder named MultiWii ...



This worked. Thanks.

I've never had to do that before though!


It is just another limitation of the Arduino IDE ... The project file must have the same name as the directory it is in
by BarneyG
Thu Jan 30, 2014 10:05 am
Forum: Software development
Topic: NEW: FrSky Smart Port (AKA S.PORT) Support for MultiWii
Replies: 20
Views: 23177

It would probably be worth merging this in with the original FrSky telemetry code viewtopic.php?t=1929
by BarneyG
Sat Nov 23, 2013 7:41 pm
Forum: MultiWii tweaking - flying experience
Topic: angle mode leaning to one side
Replies: 0
Views: 1044

angle mode leaning to one side

I've been flying 2.3 today and noticed some strange behaviour in Angle mode. Acc and Mag have both been calibrated calibrated. I'd been tuning PIDs in Acro mode and all was going well then I flicked onto angle mode and the quad drifted to the left. You could see a clear inclination of the quad, like...
by BarneyG
Tue Nov 12, 2013 1:01 pm
Forum: Shields, boards and sensors
Topic: Mag interference from TX
Replies: 0
Views: 774

Mag interference from TX

I was doing some work on POT based PID tuning on the new 2.3 release and noticed that there was a regular blip on my Mags Yaw trace. Screen Shot 2013-11-11 at 19.11.34.png So basic hardware specs are : Crius V2 FC. FrSky D8R-II Plus with the D8R-XP 27ms CPPM firmware and a DJT module Turnigy 9xr The...
by BarneyG
Mon Nov 11, 2013 1:32 am
Forum: Software development
Topic: Please fix use of prog_char
Replies: 2
Views: 1748

Re: Please fix use of prog_char

The prog_* types are not accepted by new versions of avr-gcc. The problem was reported by NikTheGreek here for Ubuntu 13.04. I see the same errors with Fedora 19. changing [GPS.cpp, line 240] resolves the compile error. void SerialGpsPrint(const char PROGMEM * str) { *******************************...
by BarneyG
Tue Oct 15, 2013 2:38 pm
Forum: Software development
Topic: Release v2.3 is coming soon... prepare
Replies: 96
Views: 46450

Re: Release v2.3 is coming soon... prepare

The baro / board probably heated up. Oh I don't disagree ... I removed the foam I had covering it and it gradually returned to a reasonably correct value but the point is if I don't cover it it is affected by prop wash & light and if I do cover it is affected by heat ... either way the data it ...
by BarneyG
Tue Oct 15, 2013 1:42 pm
Forum: Software development
Topic: Release v2.3 is coming soon... prepare
Replies: 96
Views: 46450

Re: Release v2.3 is coming soon... prepare

to be honest I've kinda given up on Baro on my Crius AIOP v2 board ... I got down to -12m (and still descending) the other night while my quad was sat on the floor for about 20 mins for some testing of the latest pre release version.
by BarneyG
Mon Oct 14, 2013 7:41 pm
Forum: Software development
Topic: Release v2.3 is coming soon... prepare
Replies: 96
Views: 46450

Teslahed look at this thread ... viewtopic.php?t=1701

Also look at my thread in mruk about this feature ... I think I'll be adding it into my build at some point soon if you'd like a copy
by BarneyG
Wed Aug 14, 2013 5:18 pm
Forum: Ideas
Topic: Need better 6050 gyro calibration, any ideas?
Replies: 45
Views: 25183

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 ... Admittedly I did the patching by hand so I may have made a mistake but all the ...
by BarneyG
Wed Aug 14, 2013 11:55 am
Forum: Software development
Topic: V2.2 - ACRO PID implementation is wrong, right?
Replies: 282
Views: 182394

Did you start at defaults for I and D or did you reduce them to 0 first ?
by BarneyG
Wed Aug 14, 2013 4:14 am
Forum: Ideas
Topic: Need better 6050 gyro calibration, any ideas?
Replies: 45
Views: 25183

Re: Need better 6050 gyro calibration, any ideas?

forgive my ignorance ... my low level programming is not what it should be and I'm still getting to grips with multiwii ... so would I need to multiply the 8 by 4 or 32 in order to get things back into line ?
by BarneyG
Wed Aug 14, 2013 3:33 am
Forum: Ideas
Topic: Need better 6050 gyro calibration, any ideas?
Replies: 45
Views: 25183

Re: Need better 6050 gyro calibration, any ideas?

probably but it would appear to me there is also a problem with the line :

if(abs(imu.gyroADC[axis] - previousGyroADC[axis]) > 8) tilt=1;

in sensors.cpp

At least on my quad abs(imu.gyroADC[axis] - previousGyroADC[axis]) is always greater than 8.
by BarneyG
Wed Aug 14, 2013 2:50 am
Forum: Software development
Topic: V2.2 - ACRO PID implementation is wrong, right?
Replies: 282
Views: 182394

Re: V2.2 - ACRO PID implementation is wrong, right?

Can someone outline their PID tuning process for this algorithm ... I'm finding that changes I'm making don't seem to be having much effect ... don't get me wrong I'm actually loving the way it is flying but I think it could be better ... especially yaw ... it was getting twisted about quite badly b...
by BarneyG
Wed Aug 14, 2013 1:31 am
Forum: Ideas
Topic: Need better 6050 gyro calibration, any ideas?
Replies: 45
Views: 25183

Re: Need better 6050 gyro calibration, any ideas?

Ok you are right ... it does look like calibration is the problem ... I patched trunk and got the same result. Uploaded normal 2.2 with a cleared eeprom and tried to arm without first having done ACC Calibration ... and got exactly the same slow GUI refresh and cycle time becomes very negative ... r...
by BarneyG
Mon Aug 12, 2013 10:34 am
Forum: Ideas
Topic: Need better 6050 gyro calibration, any ideas?
Replies: 45
Views: 25183

I don't think so ... Calibration looks like it completes and if I change the x08 back to x18 and upload it will immediately arm. Besides the lack of arming is only part of the problem ... Why does everything run slow too ? I'm going to try making the changes to trunk and uploading that to see if it ...
by BarneyG
Mon Aug 12, 2013 8:50 am
Forum: Ideas
Topic: Need better 6050 gyro calibration, any ideas?
Replies: 45
Views: 25183

Re: Need better 6050 gyro calibration, any ideas?

I was trying to back port this into the regular 2.2 "release" ... I'm running into problems with : i2c_writeReg(MPU6050_ADDRESS, 0x1B, 0x08); in Gyro_init() in Sensors.ino When it is set like this the board wont arm and in the GUI the Cycle time becomes a large negative number and the grap...
by BarneyG
Sun Jul 28, 2013 9:56 am
Forum: General discussions
Topic: Tapatalk plugin
Replies: 10
Views: 3422

Re: Tapatalk plugin

This appears to have stopped working with tapatalk 4 ... It used to work all be it very very very slowly
by BarneyG
Sun Jul 14, 2013 11:33 pm
Forum: Software development
Topic: V2.2 - ACRO PID implementation is wrong, right?
Replies: 282
Views: 182394

Re: V2.2 - ACRO PID implementation is wrong, right?

So, i tried AlexK Pid today: Gyro mode is working nice. I ended with more or less the same tuning as the oldschool controller. I can find that the stick are a lot more sensitive... this lead me to do some mistake and to crash twice. I wil have to get used to it. Yaw is less stable than before. I ha...
by BarneyG
Tue Jul 09, 2013 4:41 pm
Forum: Software development
Topic: NOTICE: Trunk has been migrated to .cpp/.h files
Replies: 64
Views: 26400

Re: NOTICE: Trunk has been migrated to .cpp/.h files

I followed that through for a Mac ... the only thing I did differently was use mac ports to install the avr stuff and had xcode installed (don't know if this made a difference but it was already installed on my machine). Depending on which distribution of Linux you should be able to do something lik...
by BarneyG
Mon Jul 08, 2013 12:16 am
Forum: Software development
Topic: NOTICE: Trunk has been migrated to .cpp/.h files
Replies: 64
Views: 26400

Re: NOTICE: Trunk has been migrated to .cpp/.h files

I'm using avr-libc version 1.8 so prog_char doesn't exist ... I either had to add some compiler flags or change : void SerialGpsPrint(const prog_char* str) { to void SerialGpsPrint(const char* str) { and I needed to changed : #if defined(UBLOX) prog_char UBLOX_INIT[] PROGMEM = { to #if defined(UBLOX...
by BarneyG
Sun Jul 07, 2013 9:56 am
Forum: Ideas
Topic: Direct Frsky telemtry data from MW FC
Replies: 359
Views: 1157221

Re: Direct Frsky telemtry data from MW FC

Is there any way we can get this included in Trunk ?
by BarneyG
Sat Jul 06, 2013 9:30 pm
Forum: Software development
Topic: V2.2 - ACRO PID implementation is wrong, right?
Replies: 282
Views: 182394

just have to say ... epic video .... I tried those settings (well I turned the rates down a fair bit ) on my 450 clone and wow ... the best flight I've had with the thing since I started in the hobby a few months back. The arm were rock solid ... very few of the little twitches I've been seeing and ...
by BarneyG
Sat Jun 22, 2013 9:59 am
Forum: Software development
Topic: V2.2 - ACRO PID implementation is wrong, right?
Replies: 282
Views: 182394

Indeed ... At least post your latest version for those of us who are seeing the benefits of your efforts :)
by BarneyG
Mon Jun 17, 2013 9:11 am
Forum: Software development
Topic: V2.2 - ACRO PID implementation is wrong, right?
Replies: 282
Views: 182394

I've got a v2 ... The reason I asked is that it is the line you bolded has been changed to 100000 in Alex's code :)
by BarneyG
Sun Jun 16, 2013 12:49 pm
Forum: Software development
Topic: V2.2 - ACRO PID implementation is wrong, right?
Replies: 282
Views: 182394

Re: V2.2 - ACRO PID implementation is wrong, right?

Am I right in saying v 2.21 is in the trunk/MultiWii_shared folder in svn ? You are right .... but don't forget to use the latest multiwiiconf.pde. In which case the IMU fix is already in place in the current _shared directory Edit and I'm also very confused ... there is an awful lot of changes for...
by BarneyG
Sun Jun 16, 2013 11:42 am
Forum: Software development
Topic: V2.2 - ACRO PID implementation is wrong, right?
Replies: 282
Views: 182394

Re: V2.2 - ACRO PID implementation is wrong, right?

Am I right in saying v 2.21 is in the trunk/MultiWii_shared folder in svn ?
by BarneyG
Sat Jun 15, 2013 7:48 pm
Forum: Software development
Topic: V2.2 - ACRO PID implementation is wrong, right?
Replies: 282
Views: 182394

Re: V2.2 - ACRO PID implementation is wrong, right?

I just added this into my code along with the Gyro Scaling changes. Unfortunately I'd also removed the expo from the MultiWii config as I had that set up in my RX as well so it wasn't a direct comparison. I reset my PID's to the defaults set in the code after making a backup of my existing ones. Bei...
by BarneyG
Sat Jun 15, 2013 10:31 am
Forum: Ideas
Topic: Direct Frsky telemtry data from MW FC
Replies: 359
Views: 1157221

Re: Direct Frsky telemtry data from MW FC

I'm assuming you mean the dohicky to connect the Multiwii to the Frsky RX ?

I've been using this :

multiwii_to_frsky.png
(33.49 KiB) Not downloaded yet
by BarneyG
Sat Jun 15, 2013 10:22 am
Forum: Software development
Topic: V2.2 - ACRO PID implementation is wrong, right?
Replies: 282
Views: 182394

Re: V2.2 - ACRO PID implementation is wrong, right?

Alex ... any reason why you've changed the #define I2C_SPEED 400000L to #define I2C_SPEED 100000L for the Crius AIOP v1 definitions ?
by BarneyG
Tue May 07, 2013 5:00 pm
Forum: MultiWii tweaking - flying experience
Topic: Multiwii 2.2 - GPS hold
Replies: 93
Views: 124560

Re: Multiwii 2.2 - GPS hold

I've managed to get GPS working with Multiwii 2.2 quite well now. What made the difference for me was raising the flight controller up by using longer nylon standoffs. I have a power distribution board mounted under the flight controller and it must have been causing the magnetometer problems. I ha...