Search found 203 matches
- Fri Jun 06, 2014 10:01 pm
- Forum: Software
- Topic: Cleanflight aka Multiwii port to STM32 F10x and F30x
- Replies: 761
- Views: 1583570
Re: Cleanflight aka Multiwii port to STM32 F10x and F30x
void setupTaskEntries() { clearTaskEntries(); setTaskEntry(eFrame_1Hz, 1, frame_Hartbeat); setTaskEntry(eFrame_10Hz, 10, frame_10Hz); setTaskEntry(eFrame_50Hz, 50, updateCommands); setTaskEntry(eFrame_Sensor_Fusion, 500, updateActuators); setTaskEntry(eFrame_Read_IMU, 1000, readImu); } a tasklet wo...
- Fri Jun 06, 2014 8:54 pm
- Forum: Software
- Topic: Cleanflight aka Multiwii port to STM32 F10x and F30x
- Replies: 761
- Views: 1583570
Re: Cleanflight aka Multiwii port to STM32 F10x and F30x
yes, i'm in favor of supplementing the MSP to allow GUI clients to configure cleanflight. I hate going into the CLI to configure telemetry, for example. And a GUI for serial port configuration would also be nice. I have already made MSP changes in cleanflight, trying to keep things as backwards comp...
- Fri Jun 06, 2014 6:35 pm
- Forum: Software
- Topic: Cleanflight aka Multiwii port to STM32 F10x and F30x
- Replies: 761
- Views: 1583570
Re: Cleanflight aka Multiwii port to STM32 F10x and F30x
I've written code for TC's F1 and F3 boards, and the AeroQuad F4 board. At the moment they are not as feature rich as some of the other code bases, but the code performs very well. They make use of the hardware floating point, and limited use of the DSP functions (in the F3 and F4 incarnations). An...
- Wed Jun 04, 2014 11:37 pm
- Forum: Software
- Topic: Cleanflight aka Multiwii port to STM32 F10x and F30x
- Replies: 761
- Views: 1583570
Re: Cleanflight aka Multiwii port to STM32 F10x and F30x
Cleanflight looks very promising, will be testing it out shortly. A few questions meanwhile. I have a stock minimosd which runs @ 57600, in Harakiri set tele_prot = 3 brings the live to it. Any chance to do something similar in Cleanflight? Is the Gps code will stay similar to Baseflight, or will b...
- Wed Jun 04, 2014 11:24 pm
- Forum: Software
- Topic: Cleanflight aka Multiwii port to STM32 F10x and F30x
- Replies: 761
- Views: 1583570
Re: Cleanflight aka Multiwii port to STM32 F10x and F30x
I updated cleanflight and the configurator today to support AUX1-8 configuration as per this screenshot and video.
- Wed Jun 04, 2014 11:18 pm
- Forum: Software
- Topic: Cleanflight aka Multiwii port to STM32 F10x and F30x
- Replies: 761
- Views: 1583570
Re: Cleanflight aka Multiwii port to STM32 F10x and F30x
We need more dev's like this, and less devs like TimeCop! we need more hw - therefore we need TC - that simple. No-one's denying TC makes some nice hardware, my Naze's all fly great and I'm looking forward to more F3 boards from him. He already spends more time making hardware and trolling than wri...
- Wed Jun 04, 2014 11:07 pm
- Forum: Software
- Topic: Baseflight aka multiwii port to stm32
- Replies: 1036
- Views: 2572588
Re: Baseflight aka multiwii port to stm32
There is nothing to see here people, please move along. Actually one good thing has come out of it, it reminded me that the GPL notices were missing from all the source files and the GPL license file was missing. This has been corrected in Cleanflight, baseflight still needs to be correctly updated...
- Wed Jun 04, 2014 4:38 pm
- Forum: Software
- Topic: Baseflight aka multiwii port to stm32
- Replies: 1036
- Views: 2572588
Re: Baseflight aka multiwii port to stm32
further to this: m m and from section 7 of the GPL v3: "All other non-permissive additional terms are considered "further restrictions" within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License...
- Wed Jun 04, 2014 3:38 pm
- Forum: Software
- Topic: Baseflight aka multiwii port to stm32
- Replies: 1036
- Views: 2572588
Re: Baseflight aka multiwii port to stm32
At least you should have the balls to discuss that in the channel and not lurk there like the coward you are. I'd love to comment on that in the channel but fiendie +q'd me because timecop threw a tantrum because I forked his code and was using a multiwii irc channel to discuss a multiwii fork! [20...
- Wed Jun 04, 2014 3:34 pm
- Forum: Software
- Topic: Baseflight aka multiwii port to stm32
- Replies: 1036
- Views: 2572588
Re: Baseflight aka multiwii port to stm32
Sorry for spam but wt* is this: m Besides, theoretically you could only relicense contributions or code that wasn't copied from another project anyway. And you can't retroactively relicense anything. So it's more of a taunt really. Hahahah! Yes, HydraIRC's source was made available for others to re...
- Tue Jun 03, 2014 1:46 pm
- Forum: Software
- Topic: Cleanflight aka Multiwii port to STM32 F10x and F30x
- Replies: 761
- Views: 1583570
Re: Cleanflight aka Multiwii port to STM32 F10x and F30x
I've made it so that UBLOX GPS SBAS mode can be configurable. A recent change in baseflight made my GPS unit, here in Europe, take longer to get a lock. The SBAS setting was changed to AUTO which appeared to be the cause. Allowing the user to choose a mode based on their region should help with GPS ...
- Sat May 31, 2014 12:54 pm
- Forum: Software
- Topic: Harakiri aka multiwii port to stm32
- Replies: 1502
- Views: 568813
Re: Harakiri aka multiwii port to stm32
that's a very wise decision, just make sure harakiri's features get merged into cleanflight and carry on working on Dominic's fork ! dominic isn't interested in playing with others anymore than I am. So it's pretty unlikely he's going to be "working" with anyone but himself don't speak fo...
- Fri May 30, 2014 8:53 am
- Forum: Software
- Topic: Baseflight aka multiwii port to stm32
- Replies: 1036
- Views: 2572588
Re: Baseflight aka multiwii port to stm32
The only reason i'm banned on multiwii is because you don't like my fork, plain and simple. you can't deal with people that don't have the same goals as you. I offered many solutions to your points and there was never any rational answers or alternative solutions to the bits you don't like. There wa...
- Fri May 30, 2014 2:46 am
- Forum: Software
- Topic: Baseflight aka multiwii port to stm32
- Replies: 1036
- Views: 2572588
Re: Baseflight aka multiwii port to stm32
While I'm at it I'll list some other commits that were mine, in cleanflight and pull requests opened, but for which Timecop has purposely not credited me for:
https://github.com/multiwii/baseflight/ ... 8c644baf6c
https://github.com/multiwii/baseflight/ ... 55a8e9a47b
https://github.com/multiwii/baseflight/ ... 5bc054bbdc
https://github.com/multiwii/baseflight/ ... a734628a82
https://github.com/multiwii/baseflight/ ... 2e3dd046be
He's doing this out of spite too not because he's lazy and can't work git. In fact git makes it easy with cherry-pick.
https://github.com/multiwii/baseflight/ ... 8c644baf6c
https://github.com/multiwii/baseflight/ ... 55a8e9a47b
https://github.com/multiwii/baseflight/ ... 5bc054bbdc
https://github.com/multiwii/baseflight/ ... a734628a82
https://github.com/multiwii/baseflight/ ... 2e3dd046be
He's doing this out of spite too not because he's lazy and can't work git. In fact git makes it easy with cherry-pick.
- Fri May 30, 2014 2:31 am
- Forum: Software
- Topic: Baseflight aka multiwii port to stm32
- Replies: 1036
- Views: 2572588
Re: Baseflight aka multiwii port to stm32
From IRC tonight: [2014-05-30 01:29:01] <dongs> adcConfig() looks ok [2014-05-30 01:29:26] <dongs> only thing.. [2014-05-30 01:29:30] <dongs> wonder if it needs to be volatile [2014-05-30 01:29:34] <dongs> or else shit gets half writes [2014-05-30 01:29:43] <dongs> it already is [2014-05-30 01:29:44...
- Fri May 30, 2014 2:20 am
- Forum: Software
- Topic: Baseflight aka multiwii port to stm32
- Replies: 1036
- Views: 2572588
Re: Baseflight aka multiwii port to stm32
yeah, just like this one: m Where *I* spotted and and you purposely don't credit me just like with many other recent commits you're taking from cleanflight. Your attitude to open source is appalling Timecop. Crashpilot, I would not do what he suggests until he changes his policy towards giving prope...
- Wed May 28, 2014 3:42 am
- Forum: Software
- Topic: Cleanflight aka Multiwii port to STM32 F10x and F30x
- Replies: 761
- Views: 1583570
Re: Cleanflight aka Multiwii port to STM32 F10x and F30x
For those feeling brave, i've ported over the autotune feature from BradWii. It's not field tested yet and only supports pid controllers 1 and 2 and not Lux's new pid controller. If you want to try it then switch to the 'autotune' branch and grab the binaries or compile it yourself. Code here: m Doc...
- Wed May 28, 2014 3:36 am
- Forum: Software
- Topic: Cleanflight aka Multiwii port to STM32 F10x and F30x
- Replies: 761
- Views: 1583570
Re: Cleanflight aka Multiwii port to STM32 F10x and F30x
Ok, just added a new feature. RSSI via ADC. Latest binaries have it.
Code here:
https://github.com/hydra/cleanflight/co ... 8501e4079f
Instructions here:
https://github.com/hydra/cleanflight/bl ... cs/Rssi.md
Code here:
https://github.com/hydra/cleanflight/co ... 8501e4079f
Instructions here:
https://github.com/hydra/cleanflight/bl ... cs/Rssi.md
- Wed May 28, 2014 12:55 am
- Forum: Software
- Topic: Cleanflight aka Multiwii port to STM32 F10x and F30x
- Replies: 761
- Views: 1583570
Re: Cleanflight aka Multiwii port to STM32 F10x and F30x
We need more fragmentation and less developers actually developing towards a common goal. Totally a great idea If you have thoughts on open source projects and how people should collaborate then perhaps a separate thread would be best Timecop. I'd do with the same with my thoughts on source control...
- Tue May 27, 2014 11:33 am
- Forum: Software
- Topic: Cleanflight aka Multiwii port to STM32 F10x and F30x
- Replies: 761
- Views: 1583570
Re: Cleanflight aka Multiwii port to STM32 F10x and F30x
Just got an email from Pierre_A who was kind enoigh to let me know the HoTT telemetry which I wrote some unit tests for the other day is now working. Still work in progress but satallite count, battery voltage and GPS position are all working now, all via soft serial. For those that don't know the w...
- Mon May 26, 2014 6:17 pm
- Forum: Software
- Topic: Cleanflight aka Multiwii port to STM32 F10x and F30x
- Replies: 761
- Views: 1583570
Re: Cleanflight aka Multiwii port to STM32 F10x and F30x
Open Source right? yes Just for the record, I do not approve of the direction, file structure, or overall attitude of this particular fork, and specifically the waste of developer time that will ensue from this silliness. Without wanting to feed the trolls too much, your opinion is noted thanks. We...
- Mon May 26, 2014 2:52 pm
- Forum: Software
- Topic: Cleanflight aka Multiwii port to STM32 F10x and F30x
- Replies: 761
- Views: 1583570
Cleanflight aka Multiwii port to STM32 F10x and F30x
UPDATE: Discussion has moved to RCGROUPS - m Hiya, I'd like to introduce Cleanflight, it's a fork of baseflight that attempts to improve the quality of the codebase by * introducing tests * improving naming * code decoupling * other software development best practices Cleanflight also has: * Multi-...
- Sun May 25, 2014 3:45 pm
- Forum: Boards
- Topic: Naze32 hardware discussion thread
- Replies: 3249
- Views: 1447026
Re: Naze32 hardware discussion thread
Since we cannot link failsafe to RTH and RTH is not reliable why buy FunFly Controller "Naze 32" Robert Nobody is forcing you to buy anything. Infact, if GPS is what you want, look no further than DJI Phantom Vision V2+, and stay the fuck away from opensource projects. Nah, he could contr...
- Mon May 12, 2014 11:28 am
- Forum: Boards
- Topic: STM32F3DISCOVERY , a flight controller for US$10
- Replies: 30
- Views: 15608
Re: STM32F3DISCOVERY , a flight controller for US$10
Everything is possible but my focus is not on the F4 at the moment and I don't have a suitable board here either. Feel free to add support and make a pull request.
- Fri May 09, 2014 8:19 pm
- Forum: Ideas
- Topic: Auto descent when VBat critical
- Replies: 9
- Views: 4357
Re: Auto descent when VBat critical
triggering the failsafe seems reasonable after a configurable delay, if the failsafe works. this feature should be user selectable. however, if the failsafe triggers gps return to home then you might damage the batteries more than if it just landed immediately. I guess it depends which is more expen...
- Fri May 09, 2014 2:44 pm
- Forum: Software development
- Topic: need help understanding some code in RX.cpp
- Replies: 5
- Views: 1998
Re: need help understanding some code in RX.cpp
actually, since removing this from my fork of the baseflight code i find it's easier to set the trims and limits correctly on my TX since the < 3 / > 3 doesn't get in the way anymore. bonus!
- Thu May 08, 2014 3:16 pm
- Forum: Software development
- Topic: need help understanding some code in RX.cpp
- Replies: 5
- Views: 1998
Re: need help understanding some code in RX.cpp
Hi Pluschi, thanks for taking the time out to answer my question, much appreciated. That really helps alot. So I'm guessing that with a processor that can measure the ppmsum inputs with greater accuracy this is not needed at all?
- Thu May 08, 2014 2:00 pm
- Forum: Software development
- Topic: need help understanding some code in RX.cpp
- Replies: 5
- Views: 1998
need help understanding some code in RX.cpp
m rcDataMean[chan] = 0; for (a=0;a<4;a++) rcDataMean[chan] += rcData4Values[chan][a]; rcDataMean[chan]= (rcDataMean[chan]+2)>>2; if ( rcDataMean[chan] < (uint16_t)rcData[chan] -3) rcData[chan] = rcDataMean[chan]+2; if ( rcDataMean[chan] > (uint16_t)rcData[chan] +3) rcData[chan] = rcDataMean[chan]-2;...
- Sat May 03, 2014 11:35 pm
- Forum: Boards
- Topic: STM32F3DISCOVERY , a flight controller for US$10
- Replies: 30
- Views: 15608
Re: STM32F3DISCOVERY , a flight controller for US$10
Hi guys, just to let you know I ported baseflight to the STM32F3DISCOVERY board. Source here: m It's not been flight tested yet but I plan on hooking it up to one of my quads as soon as a breakout board arrives for it in the next week or so. Subscribe to my YouTube channel if you want to see the vid...
- Fri Apr 18, 2014 7:23 pm
- Forum: Software development
- Topic: General servo handler - almost done
- Replies: 115
- Views: 47801
Re: General servo handler - almost done
Putting my money where my mouth is, I've implemented a solution in my git repo for baseflight:
https://github.com/hydra/baseflight/com ... 18ed64b9aa
I think it should be back-ported into MultiWii too.
https://github.com/hydra/baseflight/com ... 18ed64b9aa
I think it should be back-ported into MultiWii too.
- Fri Apr 18, 2014 5:54 pm
- Forum: Software development
- Topic: General servo handler - almost done
- Replies: 115
- Views: 47801
Re: General servo handler - almost done
I also know that servo[].middle is commented in the header to be "SERVO PWM VALUE, DEFAULT OF 1500". So why the fuck it would EVER be an index into rcData[] array is absolutely fucking mindboggling. This is not "high level of coding", this is high level of obfuscation and idiocy...
- Tue Apr 08, 2014 2:35 pm
- Forum: Software
- Topic: Baseflight aka multiwii port to stm32
- Replies: 1036
- Views: 2572588
Re: Baseflight aka multiwii port to stm32
Thats a good eclipse gdb setup. I was always a command line guy but have warmed up to eclipse in recent times. Yes it's good these days. Can hott data streams be used for osd ? Too slow i bet. Yes, too slow and not the right solution anyway, the MSP (iirc Multiwii Serial Protocol) exists and is wha...
- Tue Apr 08, 2014 12:42 am
- Forum: Software
- Topic: Baseflight aka multiwii port to stm32
- Replies: 1036
- Views: 2572588
Re: Baseflight aka multiwii port to stm32
Speaking of things I did today, I created a wiki page so you can see Eclipse and step debugging via GDB in action and some screen grabs of my configuration.
https://github.com/multiwii/baseflight/ ... and-J-Link
https://github.com/multiwii/baseflight/ ... and-J-Link
- Tue Apr 08, 2014 12:41 am
- Forum: Software
- Topic: Baseflight aka multiwii port to stm32
- Replies: 1036
- Views: 2572588
Re: Baseflight aka multiwii port to stm32
One thing I like about Baseflight is the quality of dev's involved in the project and the group having a priority of ensuring only quality code gets included and it uses the right mechanism for devs to collaborate on it (using Git correctly). TOTALLY agreed. Awesome work that you are doing with the...
- Mon Apr 07, 2014 1:09 am
- Forum: Software
- Topic: Baseflight aka multiwii port to stm32
- Replies: 1036
- Views: 2572588
Re: Baseflight aka multiwii port to stm32
Here's a video describing the softserial frsky telemetry
https://www.youtube.com/watch?v=dahGlc3 ... e=youtu.be
https://www.youtube.com/watch?v=dahGlc3 ... e=youtu.be
- Sun Apr 06, 2014 9:17 pm
- Forum: Software
- Topic: Baseflight aka multiwii port to stm32
- Replies: 1036
- Views: 2572588
Re: Baseflight aka multiwii port to stm32
I'm uploading a demonstration showing software serial that I implemented sending telemetry data to an FrSky D4R-II Receiver which is subsequently displayed on a Turnigy 9XR running OpenTX and on an Android phone via bluetooth, all while simultaneously running GPS and MinimOSD. I'll edit this post wi...
- Thu Apr 03, 2014 11:03 pm
- Forum: Software
- Topic: Baseflight aka multiwii port to stm32
- Replies: 1036
- Views: 2572588
Re: Baseflight aka multiwii port to stm32
I've done some software serial updates to baseflight today, from the pull request: "Add support for 2 softserial ports on PWM5+6/TIM3_CH1+2/PA6+PA7 and PWM7+8/TIM3_CH3+4/PB0+PB1. The software serial ports share the same baud rate both both are independently invertible. The configuration paramet...
- Thu Apr 03, 2014 11:00 pm
- Forum: Software
- Topic: Baseflight aka multiwii port to stm32
- Replies: 1036
- Views: 2572588
Re: Baseflight aka multiwii port to stm32
What is to stop us from taking a page from his book and creating our own fork Nothing, and git and github encourages this. However, rather than just merging into a new codebase from baseflight why not contribute to baseflight? As a baseflight developer I'd be happier if we all worked together to im...
- Mon Sep 30, 2013 11:24 pm
- Forum: Software development
- Topic: Arduino src not shared, cpp shared, why?
- Replies: 9
- Views: 3290
Re: Arduino src not shared, cpp shared, why?
Alexinparis wrote:sorenkuula wrote:To avoid confusion, I've just deleted MultiWii and MultiWiiConf folders.
Thanks for that, when i checked out the code i spent a while fixing up that code only to find it was old and out of date. So yes, avoiding confusion is great, thanks!
Now how about that move to git instead of SVN?
- Fri Sep 20, 2013 8:35 pm
- Forum: Software development
- Topic: [PATCH] Support Sonar on Crius I2C_GPS_NAV board
- Replies: 0
- Views: 2307
[PATCH] Support Sonar on Crius I2C_GPS_NAV board
With this patch the Crius I2C_GPS_NAV board can be connected to an HC-SR04 type sonar via the ICSP pins. The pins used previously were not connected on the Crius board. See the USE_SONAR_ALTERNATE_PINS define in config.h for connection details. Please note, I wasn't sure of the actual trig/echo conn...
- Fri Sep 20, 2013 7:32 pm
- Forum: Software development
- Topic: [PATCH] I2C_GPS_NAV Fix millis() rollover & status reporting
- Replies: 2
- Views: 1039
Re: [PATCH] I2C_GPS_NAV Fix millis() rollover & status repor
agreed, but i prefer to have code "out there" that people can re-use without introducing bugs if they wanted it for another purpose.
- Fri Sep 20, 2013 12:10 am
- Forum: Software development
- Topic: [PATCH] I2C_GPS_NAV Fix millis() rollover & status reporting
- Replies: 2
- Views: 1039
[PATCH] I2C_GPS_NAV Fix millis() rollover & status reporting
1) Used signed comparisons to avoid problems with millis() rollover. 2) avoid normal status blinking (short blinks) until communication has been established once. Index: I2C_GPS_NAV_v2_2.ino =================================================================== --- I2C_GPS_NAV_v2_2.ino (revision 62) ++...
- Wed Sep 11, 2013 3:50 pm
- Forum: Software development
- Topic: MSP protocol documentation
- Replies: 32
- Views: 10431
Re: MSP protocol documentation
Having descriptive variable names will increase code size. Only source code size. Not onboard code size. Self-descriptive code is very usefully then comments. Yes i fully agree. Properly named variables, functions, files and classes all increase code readability. I recommend everyone watch this epi...
- Sun Sep 08, 2013 5:00 am
- Forum: Software
- Topic: Harakiri aka multiwii port to stm32
- Replies: 1502
- Views: 568813
Re: Harakiri aka multiwii port to stm32
I can confirm that software serial inversion works fine when direct connected into an FrSky receiver. I have two such devices running like that and into D8R-II receivers. They are both FrSky modified Open-Altimeters. The serial data is sent by the Atmel 328P MCU at 3.3V level on the Servo 2 pin. Ma...
- Thu Sep 05, 2013 7:00 pm
- Forum: Software development
- Topic: [PATCH] Support Crius SE V2.0
- Replies: 4
- Views: 2494
Re: [PATCH] Support Crius SE V2.0
great thanks.
- Tue Sep 03, 2013 5:41 pm
- Forum: Software development
- Topic: [PATCH] Support Crius SE V2.0
- Replies: 4
- Views: 2494
Re: [PATCH] Support Crius SE V2.0
Hi guys,
How do I get this accepted into the source repo (trunk)?
How do I get this accepted into the source repo (trunk)?
- Tue Sep 03, 2013 5:39 pm
- Forum: Software development
- Topic: [PATCH] Support Crius SE V2.0
- Replies: 4
- Views: 2494
Re: [PATCH] Support Crius SE V2.0
Hi guys,
How do I get this accepted into the source repo (trunk)?
How do I get this accepted into the source repo (trunk)?
- Mon Sep 02, 2013 10:21 pm
- Forum: Software development
- Topic: [PATCH] Support Crius SE V2.0
- Replies: 4
- Views: 2494
[PATCH] Support Crius SE V2.0
Add support for a board type, as per Hobby King's site: m http://www.hobbyking.com/hobbyking/store/catalog/27108.jpg From 3be09ead74c294f20192e9ab6d409e6aba4b00fb Mon Sep 17 00:00:00 2001 From: Dominic Clifton <me@dominicclifton.name> Date: Mon, 2 Sep 2013 21:56:20 +0100 Subject: [PATCH 1/2] Adding ...
- Mon Sep 02, 2013 10:16 pm
- Forum: General discussions
- Topic: r1561 breaks compilation in Arduino IDE
- Replies: 3
- Views: 1486
r1561 breaks compilation in Arduino IDE
r1561 - exactly one definition of VERSION + welcome message for arduino IDE users This breaks compilation in Arduino IDE (1.0.5). Anything that tries to #include "MultiWii.ino" fails with "No such file or directory MultiWii.ino" or similar. My solution was this: From f47bff431393...
- Tue Apr 16, 2013 11:01 am
- Forum: Shields, boards and sensors
- Topic: I2C OLED thread
- Replies: 62
- Views: 61530
Re: I2C OLED thread
that's great ardufriki. i'll try that on mine when i get a chance.