Search found 287 matches

by brm
Mon Sep 01, 2014 9:38 pm
Forum: Boards
Topic: Baro keeps incrementing / decrementing its value. BMP085
Replies: 8
Views: 3960

Re: Baro keeps incrementing / decrementing its value. BMP085

-hate that sinusoidal swing of the BMP as well -it is cured with my slightly off datasheet driver Rob, care to explain the changes and the reason / thoughts behind ? Hi my grumpy friend! Im grumpy because my tricopter with the same board went nuts, uncontrollable, did fly away 100 meters and crashe...
by brm
Sat Aug 30, 2014 8:04 pm
Forum: Software
Topic: Cleanflight aka Multiwii port to STM32 F10x and F30x
Replies: 761
Views: 1571623

Re: Cleanflight aka Multiwii port to STM32 F10x and F30x

... I've got two Flip32+ units here, one of which I'll be puting into the quad and it seems the latest Flip32+ board I received from Paul doesn't include the second accelermeter (Freescale MMA8452). It includes just the single Invensense MPU6050 like the Naze32 includes. I was curious, if choosing ...
by brm
Fri Aug 29, 2014 7:55 pm
Forum: Boards
Topic: Baro keeps incrementing / decrementing its value. BMP085
Replies: 8
Views: 3960

Re: Baro keeps incrementing / decrementing its value. BMP085

Hi my grumpy friend! thank you very much for your answer, is there any way i can move my question to the right section? I am sorry that i am missing 24 bits to post here :p. I posted from my cellphone and I didn't read the part where it says 32 bits, sorry. The test I made on my desk were only with...
by brm
Thu Aug 28, 2014 6:56 am
Forum: Software
Topic: Cleanflight aka Multiwii port to STM32 F10x and F30x
Replies: 761
Views: 1571623

Re: Cleanflight aka Multiwii port to STM32 F10x and F30x

Ouch! Nasty. Yes... I wouldn't trust the baseflight GPS code any further than I could throw my quad... m I would love to see improvement. IMO it's one of the things that is holding back this board in a big way. I know TC doesn't care about it, but the reality is, some people want the safety net for...
by brm
Thu Aug 28, 2014 6:54 am
Forum: Software
Topic: Cleanflight aka Multiwii port to STM32 F10x and F30x
Replies: 761
Views: 1571623

Re: Cleanflight aka Multiwii port to STM32 F10x and F30x

Have used GPS in baseflight and cleanflight on naze32 and they are both worse than useless. Cause random very fast loss of control - almost guaranteed to crash. After a few such crashes, I tried harakiri newest version, and it works excellent with GPS hold and rth. With newest harakiri firmware I h...
by brm
Sat Aug 23, 2014 8:01 am
Forum: Boards
Topic: Naze32 hardware discussion thread
Replies: 3249
Views: 1378261

Re: Naze32 hardware discussion thread

having problems with my naze32 and my tri, i seem to be getting servo jitter while its on the ground. and when hovering it does tilt backwards every 3 seconds. does anyone know any settings i can change within the cli? there is a stupid problem. tc mentions buy another fc i hope to fly my servo mod...
by brm
Sun Aug 17, 2014 6:58 am
Forum: Boards
Topic: Naze32 - drift after aggressive turning or flips
Replies: 18
Views: 8372

Re: Naze32 - drift after aggressive turning or flips

mess with the LPF and CMPF stuff IMHO the LPF may be responsible for a Gravity vector offset after flips. The LPF does smooth the acc data BEFORE they are rotated, which will give them a good delay of some cycles. Then the CMPF filter will use this delayed acc data to correct a properly rotated, no...
by brm
Sat Aug 16, 2014 9:55 pm
Forum: Boards
Topic: Naze32 - drift after aggressive turning or flips
Replies: 18
Views: 8372

Re: Naze32 - drift after aggressive turning or flips

Too much vibration hitting the acc is one reason for that. The mwii IMU part is also part of the problem but holding the copter still in the air for a short time should correct the internal horizon. If only landing is able to correct that your setup has too much vibrations coming through to the acc...
by brm
Sat Aug 16, 2014 2:18 pm
Forum: Boards
Topic: Quanton STM32F4 baseflight
Replies: 24
Views: 12858

Re: Quanton STM32F4 baseflight

Gimbal wrote:Am i stupid or something, how can i flash fw to Quanton?

SWD
by brm
Tue Aug 12, 2014 7:56 pm
Forum: Software
Topic: Cleanflight aka Multiwii port to STM32 F10x and F30x
Replies: 761
Views: 1571623

Re: Cleanflight aka Multiwii port to STM32 F10x and F30x

@brm; here's the procedure to get cleanflight on your CC3D: http://forums.openpilot.org/topic/43569-baseflightcleanflight-ported-to-cc3d/page-8#entry360867 . Based on this post for recovery of CC3D (with screenshots): http://forums.openpilot.org/topic/43350-have-i-bricked-my-board/page-2#entry34768...
by brm
Fri Aug 08, 2014 6:35 pm
Forum: Software
Topic: Cleanflight aka Multiwii port to STM32 F10x and F30x
Replies: 761
Views: 1571623

Re: Cleanflight aka Multiwii port to STM32 F10x and F30x

treym wrote:
brm wrote:after updating cleanfligth i did run into linking issues:
[code]
rtfm


not my code.
just wanna load my cc3d with a hex file and do some testing.
nothing more.
by brm
Fri Aug 08, 2014 5:22 pm
Forum: Software
Topic: Cleanflight aka Multiwii port to STM32 F10x and F30x
Replies: 761
Views: 1571623

Re: Cleanflight aka Multiwii port to STM32 F10x and F30x

pequod wrote:Use a more recent version of the compiler like GNU Tools ARM Embedded\4.8 2014q2 to avoid that linker problem.

yes, solves the issue - thnaks.
but the code is 10 percent slower ;-)

need to switch back where it is critical.
by brm
Fri Aug 08, 2014 3:44 pm
Forum: Software
Topic: Cleanflight aka Multiwii port to STM32 F10x and F30x
Replies: 761
Views: 1571623

Re: Cleanflight aka Multiwii port to STM32 F10x and F30x

after updating cleanfligth i did run into linking issues: make arm-none-eabi-gcc -o obj/main/cleanflight_NAZE32PRO.elf obj/main/NAZE32PRO/startup_stm32f30x_md_gcc.o obj/main/NAZE32PRO/drivers/adc.o obj/main/NAZE32PRO/drivers/adc_stm32f30x.o obj/main/NAZE32PRO/drivers/bus_i2c_stm32f30x.o obj/main/NAZ...
by brm
Mon Aug 04, 2014 2:14 pm
Forum: Boards
Topic: Quanton STM32F4 baseflight
Replies: 24
Views: 12858

Re: Quanton STM32F4 baseflight

i cloned the repo - never got so many warnings when compiling. when looking at the video - i am not sure ... the picture isn't clear - either the motors or the user has a problem ... at least one more spare serial port to hook up the ardu logger ... the board itself is top - prob. one of the best wi...
by brm
Mon Aug 04, 2014 7:58 am
Forum: Software development
Topic: Multiwii Automatic Altitude Hold, no PIDs, source and video
Replies: 7
Views: 7068

Re: Multiwii Automatic Altitude Hold, no PIDs, source and vi

Here's a plot of the important data in windy conditions, it should help explain how it works. Please test it out and give feedback. graph.png i hope to test it this week. if possible i create a video. this little framework can also be used to autotune the regular pid settings. then it needs a bit m...
by brm
Sat Aug 02, 2014 1:34 pm
Forum: Software development
Topic: Multiwii Automatic Altitude Hold, no PIDs, source and video
Replies: 7
Views: 7068

Re: Multiwii Automatic Altitude Hold, no PIDs, source and vi

very nice example of an adaptive control!
by brm
Thu Jul 31, 2014 9:07 pm
Forum: Software
Topic: Harakiri aka multiwii port to stm32
Replies: 1502
Views: 556679

Re: Harakiri aka multiwii port to stm32

Hi, guys! That is actually not perfect - but I was searching for a method to keep the user always in control and not let the gps fly the copter too much. IMHO some other things concerning the GPS need to be adressed first - aka errorhandling, that must be improved to make GPS functions generally sa...
by brm
Wed Jul 30, 2014 5:33 pm
Forum: Boards
Topic: CJMCU microquad board
Replies: 161
Views: 113947

Re: CJMCU microquad board

timecop wrote:I dunno, are there any breakouts for it? I have some junk in queue with MPU6500 and LSM303D but no time, as usual...


aha, if the mpu-6500 stuff pops out of the queue send it pls.
i am prepping my gimbal copter with flyingf3 ... the acc device is nice ...
by brm
Wed Jul 30, 2014 5:31 pm
Forum: Software
Topic: Cleanflight aka Multiwii port to STM32 F10x and F30x
Replies: 761
Views: 1571623

Re: Cleanflight aka Multiwii port to STM32 F10x and F30x

NoShoes wrote:I think including one-shot would attract a huge amount of people to clean flight. Ronco (felix) has already posted the sample code to do it, im not sure how much work would be involved.


you are riding a dead horse.
you didn't notice it?
by brm
Wed Jul 30, 2014 12:08 pm
Forum: Boards
Topic: CJMCU microquad board
Replies: 161
Views: 113947

Re: CJMCU microquad board

i'll port the support for the CJMCU to cleanflight soon, if anyone's interested cleanflight now also supports the CC3D board - see the cleanflight thread for more details. Feel free to back-port the changes to baseflight. I'm pretty sure you that nobody is interested in your jobless java changes. Y...
by brm
Mon Jul 28, 2014 9:50 am
Forum: Boards
Topic: Naze32Pro STMF3 help thread
Replies: 61
Views: 31647

Re: Naze32Pro STMF3 help thread

Unless someone actually spent the time to read reference manual and/or do some debugging to find entry point for ROM bootloader, I wouldn't expect R to reboot to work. With DFU devices, it should be different anyway - it should provide a "dfu capable" descriptor on the VCP device, so that...
by brm
Sun Jul 27, 2014 5:27 pm
Forum: Boards
Topic: Naze32Pro STMF3 help thread
Replies: 61
Views: 31647

Re: Naze32Pro STMF3 help thread

So look at datasheet and make sure command IDs match. Read ID command is always same, but read/write block/etc stuff could be different. like 2 years ago I had 4mbit flash chips that I used, which have different commands from 16mbit ones. Compare what's on the label, and if that's the case, special...
by brm
Sun Jul 27, 2014 4:35 pm
Forum: Boards
Topic: Naze32Pro STMF3 help thread
Replies: 61
Views: 31647

Re: Naze32Pro STMF3 help thread

timecop wrote:Then it works.
This is the flash chip used:
M25P16-VMN6TP

Pretty sure this is ds:
http://www.micron.com/-/media/Documents ... M25P16.pdf

yes, i can read the id.
but not the uid bytes.
which is possible with the 'previous' version.
by brm
Sun Jul 27, 2014 9:37 am
Forum: Boards
Topic: Naze32Pro STMF3 help thread
Replies: 61
Views: 31647

Re: Naze32Pro STMF3 help thread

timecop wrote:All of those were loaded with treym's baseflight which did work - but I'm not sure if he touches SPI flash in his code.

yes, the access to the spi flash fails.
it does respond to the read ID comand. but not much more ...
by brm
Sat Jul 26, 2014 5:01 pm
Forum: Software
Topic: Cleanflight aka Multiwii port to STM32 F10x and F30x
Replies: 761
Views: 1571623

Re: Cleanflight aka Multiwii port to STM32 F10x and F30x

dominicclifton wrote:I'm about to fly Cleanflight on my CC3D board - with WS2812 led's and updated PPM code:
https://www.youtube.com/watch?v=EViw4lBRa94


ups, that explains some nasty situations i had when testing new functionality.
up to now i didn't trust frsky to much ... as i run occasionally into problems.

thanks for showing the problem!
by brm
Sat Jul 26, 2014 4:52 pm
Forum: Boards
Topic: Naze32Pro STMF3 help thread
Replies: 61
Views: 31647

Re: Naze32Pro STMF3 help thread

Unfortunately, the modified reset sequences on startup had no effect on the poor bias/scale factor accuracy issue. These two MPU6000 chips may be on the outer edge of the specs, plain and simple. ok, i got 3 more boards - 2 ok with baseflight and one doesn't boot at all. seems to be a sad issue. in...
by brm
Sat Jul 26, 2014 8:45 am
Forum: Boards
Topic: Naze32 Altitude Hold Problem - Any Ideas?
Replies: 32
Views: 16494

Re: Naze32 Altitude Hold Problem - Any Ideas?

[youtube][/youtube] hmm you broke it.. deltaT is an uint32_t data type, mutiplying it with 1e-6 and then storing it as integer made the result zero and broke the pt1 element. I allready fixed it in the code, a pull req is on the way i am working with my own code base. and yes, i have a few more floa...
by brm
Fri Jul 25, 2014 7:05 am
Forum: Boards
Topic: Naze32 Altitude Hold Problem - Any Ideas?
Replies: 32
Views: 16494

Re: Naze32 Altitude Hold Problem - Any Ideas?

seems like brm found a bug thanks btw... i somehow totally missed that when implementing it. xeo-star it could be that the bug in the code caused your issues. Please try it again with this change. I have attached the compiled .hex for that change. there is one more bug - the same which makes the pt...
by brm
Thu Jul 24, 2014 7:50 am
Forum: Boards
Topic: Naze32Pro STMF3 help thread
Replies: 61
Views: 31647

Re: Naze32Pro STMF3 help thread

maybe just a variation of the init sequence: https://www.google.ch/search?q=multiwii+Signal+Path+Reset&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:de:official&client=firefox-a&channel=np&source=hp&gfe_rd=cr&ei=mqvQU7LoD82-_QazwYHQDw resetting the signal path is on my l...
by brm
Sun Jul 20, 2014 4:52 pm
Forum: Boards
Topic: Naze32 Altitude Hold Problem - Any Ideas?
Replies: 32
Views: 16494

Re: Naze32 Altitude Hold Problem - Any Ideas?

crazyal wrote:
xeo-star wrote:@brm how about producing some useable code yourself instead of just talking big all the time...

easy - https://www.youtube.com/watch?v=yY8xULg1gUU&list=UUIq1PaR9qEuyT_N0JqyIVpw
by brm
Thu Jul 17, 2014 9:51 pm
Forum: Boards
Topic: Naze32 Altitude Hold Problem - Any Ideas?
Replies: 32
Views: 16494

Re: Naze32 Altitude Hold Problem - Any Ideas?

Hi Crazyal, Thanks the reply and yep I think the acc's are calibrated. It flies really well in manual, horizon and horizon with alt hold for most of the time. Its just when I'm in horizon with mag and baro activated something triggers a full throttle signal after a bit of flying. Its also a repeata...
by brm
Sat Jun 28, 2014 3:25 pm
Forum: Boards
Topic: CJMCU microquad board
Replies: 161
Views: 113947

Re: CJMCU microquad board

You can try dropping all the "legacy" sensors like ADXL,MPU3xxx,MMA, etc, and undefine GPS, which should bring your code below 64k even with GCC. I'm not sure what the deal is with C8 chips - old ones DID have 128k of flash even tho flash size register reported 64k. HOWEVER, with my curre...
by brm
Thu Jun 19, 2014 5:39 pm
Forum: Software development
Topic: GPS NAV
Replies: 964
Views: 401226

Re: GPS NAV

Yesterday, I had the third crash with the NAV_b7 sw. This time, I cleared the eeprom ( all 4096 Bytes ) before flashing. m On the ground , I checked GPS-fix for 30 seconds and had 9 stable satellites. I could start and use horizon, MAG,headhold and baro. But when I switched to GPS-hold the copter d...
by brm
Tue Jun 17, 2014 6:42 pm
Forum: Boards
Topic: Porting Multiwii to Arduino DUE - Done
Replies: 24
Views: 10350

Re: Porting Multiwii to Arduino DUE - Done

timecop wrote:We're talking into tens of thousands of rewrite cycles, not something to really give a shit about.

depends on WHAT flash:
- MLC
- SLC

the later is ok - MLC can be as low as 800 read/write cycles.
depends what you pay for ;)

chinese stuff is prob. write only ...
by brm
Sun Jun 08, 2014 8:38 pm
Forum: Ideas
Topic: Add Temperature Sensor
Replies: 9
Views: 4154

Re: Add Temperature Sensor

peltier cooling,
i still think my cpu cooler works.

but you do not know why these devices do have some sort of temperature measing device?
it ends up comparing apples with bananas ;-)
by brm
Sun Jun 08, 2014 10:51 am
Forum: Ideas
Topic: Add Temperature Sensor
Replies: 9
Views: 4154

Re: Add Temperature Sensor

yeah, i am happy my cpu cooler works.
by brm
Sun Jun 08, 2014 10:03 am
Forum: Software
Topic: Harakiri aka multiwii port to stm32
Replies: 1502
Views: 556679

Re: Harakiri aka multiwii port to stm32

@mr-fiero: been reading your experience with interest. One thing you might not have tried is looking at the lat /long output of your gps. Does it jitter? I'm guessing it does. They all do. I might be barking up the wrong tree but you might consider differential gps. Typically it's used for surveyin...
by brm
Fri Jun 06, 2014 10:15 pm
Forum: Software
Topic: Cleanflight aka Multiwii port to STM32 F10x and F30x
Replies: 761
Views: 1571623

Re: Cleanflight aka Multiwii port to STM32 F10x and F30x

Well, BRM you know I respect you as a someone with very good input (like Hinkel) and scientific background. I've seen TC turning down your calibration improvements (too fast for me to look at them further, or copy them onto my hddsk) but on the other hand your github repo (bubi-007) lacks all the a...
by brm
Fri Jun 06, 2014 9:28 pm
Forum: Software
Topic: Cleanflight aka Multiwii port to STM32 F10x and F30x
Replies: 761
Views: 1571623

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 com...
by brm
Fri Jun 06, 2014 9:27 pm
Forum: Software
Topic: Cleanflight aka Multiwii port to STM32 F10x and F30x
Replies: 761
Views: 1571623

Re: Cleanflight aka Multiwii port to STM32 F10x and F30x

jihlein's solution is quite nice, which uses the systick hander, and can be seen here: I asked timecop about his statement above, but i never got an answer. I would like to hear his thoughts. i took baseflight apart to reduce the noise on the readings. thus reading the mems devices at 1khz and the ...
by brm
Fri Jun 06, 2014 6:11 pm
Forum: Software
Topic: Cleanflight aka Multiwii port to STM32 F10x and F30x
Replies: 761
Views: 1571623

Re: Cleanflight aka Multiwii port to STM32 F10x and F30x

my main point on the latest baseflight incarnations is jitter on the time axis. this is valid for all variations and flavours of baseflight. using a hw timer would be the solution. What do you mean by the above? Jitter on the time axis? You do realize an external oscillator clocks the STM32- and th...
by brm
Fri Jun 06, 2014 6:25 am
Forum: Software
Topic: Cleanflight aka Multiwii port to STM32 F10x and F30x
Replies: 761
Views: 1571623

Re: Cleanflight aka Multiwii port to STM32 F10x and F30x

Just why cannot you give the guy cedit for picking up and trying to improve upon the standstill in functionality we have witnessed since evolution of 32bit hardware more than 2 years ago? Where are the super duper features that make everyone rush and buy into it? What once looked promising with the...
by brm
Thu Jun 05, 2014 5:47 pm
Forum: Software
Topic: Cleanflight aka Multiwii port to STM32 F10x and F30x
Replies: 761
Views: 1571623

Re: Cleanflight aka Multiwii port to STM32 F10x and F30x

hmm,
what do you understand using the term clean?
in one area it is very clean: inline doc.
so this is cleanflight ;-)
by brm
Tue Jun 03, 2014 7:09 pm
Forum: Software
Topic: Cleanflight aka Multiwii port to STM32 F10x and F30x
Replies: 761
Views: 1571623

Re: Cleanflight aka Multiwii port to STM32 F10x and F30x

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. We need more dev's like this, and less devs like TimeCop! we need more hw - therefore we need TC - t...
by brm
Thu May 29, 2014 9:29 am
Forum: Software development
Topic: ThrottleAngleCorrection
Replies: 8
Views: 2844

Re: ThrottleAngleCorrection

Me want see. Is your stuff opensource / available? Btw if you good at vector math i have a problem here: http://www.multiwii.com/forum/viewtopic.php?f=8&t=5088 at the moment i am doing mostly mems device calibration - can i do inhouse. else a good source is https://github.com/jihlein i have a b...
by brm
Wed May 28, 2014 6:20 pm
Forum: Software development
Topic: ThrottleAngleCorrection
Replies: 8
Views: 2844

Re: ThrottleAngleCorrection

:-)
yes, you are right.
the angle constrain i am using is 25 degrees.
by brm
Sun May 25, 2014 6:31 pm
Forum: Boards
Topic: Naze32 hardware discussion thread
Replies: 3249
Views: 1378261

Re: Naze32 hardware discussion thread

timecop wrote:Wait, why the fuck do YOU care why people buy it?
People buy Macbook Air, and its "not very usefull" [sic] does it mean you have to ask them for their reasoning?

yes, we know.
no windoze installed.
by brm
Thu May 08, 2014 9:52 pm
Forum: Software development
Topic: Hardware in the loop simulation
Replies: 18
Views: 6629

Re: Hardware in the loop simulation

@treym
hmm,
je vriend uit amersfoort benut zo een flexbot.
is dat ding goed?
by brm
Thu May 08, 2014 9:26 pm
Forum: Software development
Topic: Hardware in the loop simulation
Replies: 18
Views: 6629

Re: Hardware in the loop simulation

i removed lib math , please tries again what mcu are you using ? ps : make is everywhere .. cmake is not everywhere oh, all mcu's which are decent. 8 bit is braindamaged to a certain extend. but event with 32 bits it can happen to run out of cpu cycles. and this happens often love it to have a peli...
by brm
Thu May 08, 2014 7:37 pm
Forum: Software development
Topic: Hardware in the loop simulation
Replies: 18
Views: 6629

Re: Hardware in the loop simulation

what does it says ? if this is about __STRICT_ANSI__and -pedantic .. i wont change that MAVLINK_SRC_CFLAGS := -lm ähh!? you mean linker flags, isn't it adminuser@adminuser-VirtualBox:~/multiwii-mavlink-gc$ make cc -lm -o src/mwgc/mwgc-1.1 src/mwgc/mwgc.o src/serial/serialport.o src/mwi/mwi.o src/ut...