cleanflight / cleanflight

Clean-code version of the baseflight flight controller firmware
http://cleanflight.com
GNU General Public License v3.0
2.59k stars 1.39k forks source link

Prepare for CF 2.0.0 release #2696

Closed hydra closed 7 years ago

hydra commented 7 years ago

CF 2.0.0-RC2 is out now.

https://github.com/cleanflight/cleanflight/releases/tag/CLFL_v2.0.0-RC2

Please leave bug reports/testing feedback as comments below.

nightflasher commented 7 years ago

uploaded to my naze32 rev6 10dof => nothing...absolute nothing is working. even tried to compile by myself to get BARO and Sonar working, but it's also not working. even not compiling with all sensors enabled.

mikeller commented 7 years ago

absolute nothing is working

So your flight controller does not even connect in the configurator? Try reflashing with 'Full chip erase' enabled.

In order to be able to build with BARO and SONAR, you will have to disable some other features to make it fit into the small amount of flash available on F1 chips. Unfortunately, there is not much left to be disabled on F1 targets like the NAZE.

nightflasher commented 7 years ago

i always use "Full chip erase", so that's not the problem. after flashing and dis-/reconnecting power and usb the configurator only shows the version of the board (right board) but nothing more. i already have tested the v2.0.0 of cleanflight configurator, so it can be eliminated as a faulty point.

sooo...what's next?

mikeller commented 7 years ago

Will test this with a NAZE later on when at home.

McGiverGim commented 7 years ago

I've tested my NAZE32 REV6 10DOF a lot this days, including the actual code in the repository and it works perfectly. I've added MAG and BARO and it's working. I haven't tried with SONAR because I didn't have one.

tteskac commented 7 years ago

I can't get BARO to work neither, but on CC3D revC. Is it normal that in the "resource list" for B10 and B11 (UART3) stands "FREE" but not "I2C_SCL/SDA"?

And for SERVO_TILT I had to remap resource SERVO 1 -> MOTOR 5 and SERVO 2 -> MOTOR 6.

nightflasher commented 7 years ago

i've tried again, my compiled version and the one in unstable in the cf configurator, it's always the same. my boards are "afroflight32", maybe this is a different one to @McGiverGim !? https://anonimag.es/image/JT9snEH

McGiverGim commented 7 years ago

Maybe it's a stupid question... Have you activated it into the configuration tab?

nightflasher commented 7 years ago

@McGiverGim as you can see on the picture, i can't do anything. not in the "old" configurator nor the "new" one. I'm stuck on the first tab AND i even can't tick the "Reset Settings" button.

EDIT: BUT i've found something i've never thought of before: different rivisions on the rev6 board but i can't find any deeper informations; which also is a thing with my "no MAG on rev6 issue"

mikeller commented 7 years ago

@nightflasher: I couldn't download the picture. But if it's not an original NAZE (which is what I've got) then there is not much point in me verifying that it works on different hardware. Sorry I couldn't help.

McGiverGim commented 7 years ago

If I'm not wrong, this happened to me when using the master branch of the cleanflight-configurator. Please, use this: https://github.com/cleanflight/cleanflight-configurator/tree/update-for-api-1.33.0 to see if it solves the problem.

nightflasher commented 7 years ago

@McGiverGim you're best bro! :-D now i can flash AND use my firmware...now i'm testing

nightflasher commented 7 years ago

so now, first flights in my bedroom (14m² ; who also tries first flights in the bedroom?) seems very good to me. thumbs up! hope there's some time to fly outside. a friend of me will test with hexacopter, i'm testing on my ZMR 250.

btw: where to put pid-config and setup examples? i think this could be a good startpoint for newbies ;-)

hydra commented 7 years ago

@nightflasher thanks for feedback - release notes of CF2.0 had the links to the the configurator BTW 😄

McGiverGim commented 7 years ago

I've made several tests today with the new code. I've seen this commit: https://github.com/cleanflight/cleanflight/commit/99c87ba2dc930ad2e426f69f7fd19eff2ed63e98 changed the defaults so I suppose some code has changed in the PID controller.

With the code of one week ago, with the default values, my quad was totally flyable. But with the code of today and default values, every throttle punch mades my quad derive to one side (sometimes left, sometimes right). I see in the blackbox that the error is trying to be collected by the I gain, but it is too slow.

I've seen too that the quad does not hold the desired angle, so for me it's clear that I need to increase the I gain. This happened too with the code of one week ago.

Maybe the new code makes the quad more sensible to thottle punch when the I gain is low? Or this happens only to my quad?

Regards!

rgn15996 commented 7 years ago

Flashed 2.0RC2 to my SP3NEO+VTX with full chip erase. OSD Graphic elements (e.g. battery and Signal strength icons) are corrupt. Alphanumerics all OK - but there is no option in the configurator to upload a font as there is in BF - unless I am missing something?

mikeller commented 7 years ago

Yes there is. Bottom right, see image.

image

rgn15996 commented 7 years ago

Ah - I don't see that in the version of the configurator I am using - just a save button as below. image

I was using the directed in the release notes (cleanflight-configurator-update-for-api-1.33.0

rgn15996 commented 7 years ago

OK - I just looked with Chrome tools and the button is hidden with an applied style image

If I unhide it and click on the button, I can load up the font! Presumably some logic is incorrectly hiding this from my SP3NEO+VTX?

hydra commented 7 years ago

@rgn15996 thanks for the report, I'll look into that for you.

hydra commented 7 years ago

just checked on my NEO with the latest build of master and the latest configurator from the new branch and it's OK for me, can you confirm this?

wjreeds commented 7 years ago

Even though I am new to Cleanflight, I decided to give v2.0.0 RC2 a try; once I figured out I needed to use the developmental configurator I was able to connect no problem. The issue I have ran into is that my Mag is not recognized in this version. It was recognized and I was able to use it using the last stable version.

I am using an EMAX Skyline32 Advanced V.2 (which uses the NAZE firmware in Cleanflight) cleanflight 2 0 0 rc2 calibrate mag cleanflight 2 0 0 rc2

McGiverGim commented 7 years ago

@wjreeds The MAG was removed in NAZE32, but it has been enabled again three days ago: https://github.com/cleanflight/cleanflight/commit/0cf08ec8c042f679731e178ec02e3900b5a1e15e

So you can compile the actual master code or wait for the next version published.

rgn15996 commented 7 years ago

@hydra So I should try with the latest master cleanflight and the latest main branch of configurator (rather than the API version1.33.0?

asulwer commented 7 years ago

I flashed to spracingf3neo (with osd attached) from rc1 to rc2 and none of the menu config options will work. I had to roll back to 1.14 then to rc1 before I was back to what I started with.

When I click on any of the menu options the config app doesn't go to that section. I am stuck on the menu that has the Calibrate Accelerometer button.

Sorry! let me redact my statements. I used rc1 configurator to update. maybe that's my issue? I overlooked the notes for rc2!

mikeller commented 7 years ago

@asulwer: Try this branch of the configurator: https://github.com/cleanflight/cleanflight-configurator/tree/update-for-api-1.33.0

hydra commented 7 years ago

@asulwer use latest master and the latest version of the configurator from here: https://github.com/cleanflight/cleanflight-configurator/tree/update-for-api-1.33.0

Angrybee23 commented 7 years ago

MOTOR_STOP isn't working. I'm running CLFL version 2.0.0 MultiWii API version 1.35.0 Flight Controller is a SPRACINGF3 and the ESC's are Makerfire 20 amp with OneShot125. I reflashed with full chip erase and it's still not working. The motors start spinning when I arm the quad and the RPMS slowly get higher over time. If I drop the Minimum Throttle from the default 1070 to 1000 the motors don't spin once armed until I give it some throttle but when moving the throttle back down the stay spinning and slowly and the RPM's start to go up again... This didn't happen with firmware 1.14.2 and the older version of the configurator.

Angrybee23 commented 7 years ago

Sorry, I had airmode enabled lol.

hydra commented 7 years ago

@Angrybee23 thanks for the update. closing this issue now,

hydra commented 7 years ago

For bug reports on CF v2.0.0 please add comments to https://github.com/cleanflight/cleanflight/issues/2720 for the CF v2.0.1 release.