Hello guest, if you read this it means you are not registered. Click here to register in a few simple steps, you will enjoy all features of our Forum.
This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Latest Drama - Raceflight source code has been leaked
#16
About Kalman filter, i just read this part on rcg:

"It's exactly the same implementation, just rewritten to look differently. It's unsuited for the job it's supposed to do. The Kalman gain is supposed to adapt according to the error in prediction, yet in no place is any prediction error being considered. It's a plain lowpass the way it works currently."

True?

I.e. is this just a question of definition, and does not using prediction error make it any less worth using?
Reply
Login to remove this ad | Register Here
#17
(22-Dec-2017, 10:03 AM)fftunes Wrote: About Kalman filter, i just read this part on rcg:

"It's exactly the same implementation, just rewritten to look differently. It's unsuited for the job it's supposed to do. The Kalman gain is supposed to adapt according to the error in prediction, yet in no place is any prediction error being considered. It's a plain lowpass the way it works currently."

True?

Yes, the implementation of what's in RF1 and what RS2K has in his branch of Betaflight is essentially the same thing, opening Betaflight up to trouble if they merge it. Compare the functions InitPaf and PafUpdate in RF1's flight_controller/src/filter.c with the fastKalmanInit and fastKalmanUpdate functions in src/main/common/filter.c in RS2K's fork of betaflight in the 3.2_kalman_test branch.

It's hard to see what is used and what isn't used in RF1 as there's so much dead code that's never called and lots of commented out code that makes it hard to read. You almost get the impression that they don't know how to use a version control system.

Glowtape's observation that the error in prediction is not fed back into the filter is also correct. So, the filter, as implemented is not actually a proper Kalman filter.
Reply
#18
(22-Dec-2017, 10:03 AM)fftunes Wrote: I.e. is this just a question of definition, and does not using prediction error make it any less worth using?

That's an interesting question.

In the end, flight performance is what matters.

However, the criticism being levelled at both RF and Betaflight that using 32KHz sampling and super fast loop times to the detriment of filtering accuracy and correct algorithm implementation due to time constraints is probably quite valid.

The KISS firmware and firmwares like dRonin and Arducopter use much slower gyro sample rates and much slower loop times so that the filters can be much smarter and use techniques like sensor fusion to integrate all the available sensor data into a much richer and more accurate model of the system's state.

Does any of this matter if your quad flies well? Probably not.
[-] The following 1 user Likes unseen's post:
  • fftunes
Reply
#19
It looks like rs2k just took the gloves off!

https://ornerydevelopment.wordpress.com/

The Cease and Desist posted on the web site demands that Preston stops using RaceFlight and that he pays rs2k $250,000 to avoid court action.

I have a feeling this drama is going to keep on giving through 2018.
[-] The following 3 users Like unseen's post:
  • Drone0fPrey, fftunes, Tom BD Bad
Reply
#20
I also noticed that the RaceFlight-One repo on rs2k's github account is no longer blocked via Preston's DMCA complaint to github, possibly implying that rs2k could prove that he is the copyright owner to get it unblocked.
[-] The following 1 user Likes unseen's post:
  • Drone0fPrey
Reply
#21
i'm really enjoyed the drama, yet jokes aside this might be also a really tough time for the guys,
looking at the code... i'd say it is good nothing to whine about so the guy actually knows his ways around programming.

i look at it like this ... i've builded something or done significant contribution... and afterwards i would be left with nothing... cmon...
anyone who has created something has (or should have) some pride in building such quality (comparing to BF).

as for some parts being "recoded to avoid duplication" that is normal stuff... look at stack overflow - 2/3 of current programmers would be jobless without it Smile
All the best
Grzesiek (Grisha/ Greg)

Curently flyable: Nox 5, Minimalist 112
Bench / in progres: fixing Nox 3,  Scrap
thinking about building: 450


Reply
#22
I have no idea what went on behind the scenes to cause such a rift between Kalyn and Preston but it looks like the situation is going to get lots worse before it gets better.

To be frank, I have no sympathy for Preston at all.

When he was caught red handed using open source code in his closed source product, the video that came out where Preston attempted to re-write history and wriggle out of any accusation of wrongdoing was enough to convince me that Preston is not a nice person. The way that he spoke over and for Kalyn, despite the fact he was sitting right next to him was painful to watch.

What I don't understand is why Kalyn went along with closing the branch of Betaflight they started off with in the first place. He must have known that what they were doing was wrong. The fact that Preston has made a point of insulting Boris and the rest of the Betaflight developers, both publicly and in snide comments in the Raceflight code, speaks volumes about the contempt with which he can treat other people. Maybe he had some kind of hold over Kalyn at the time.

Anyone who tries to run a business where part of the business strategy is trying to sow FUD about other projects and create feeling against them, has the wrong way of looking at the world. If you behave like Preston has done, sooner or later, karma will catch up with you.
[-] The following 3 users Like unseen's post:
  • Drone0fPrey, fftunes, Tom BD Bad
Reply
#23
Does per work mean that he could end up being fined 150k for each piece sold or produced? 250k is a bargain if that's the way it is.
Reply
#24
(08-Jan-2018, 02:41 AM)JukeJoint Wrote: Does per work mean that he could end up being fined 150k for each piece sold or produced? 250k is a bargain if that's the way it is.

I believe it does.
Reply
#25
I wonder when they will make the movie! ROFL
I mean the documentary has already been made for the similar happenings in the 3D printer world! (on Netflix even lol)

JB and I share a very similar opinion.
The Obsession IS Real!
My Youtube and Instagram links
[-] The following 1 user Likes Drone0fPrey's post:
  • Tom BD Bad
Reply
#26
Love you too JB!!
Windless fields and smokeless builds
Reply
#27
Have any one of you keeping g up with the Kalman filter thread on RCG? It is get very heated over there.
Reply
#28
I don't really visit RCG much anymore, it reminds me too much of London, too many people in too much of a hurry. As JB says it's all about sharing, if people didn't share their knowledge and experience of the hobby, there would be far fewer people enjoying it. Those people bring money to Dev's to enhance the hardware, and again sharing ideas of how to move forward to improve software to take better advantage of enhanced hardware.

As the 'tagline' of the forum used to be (and still is on Oscars blog) "Share Knowledge and Ideas"
Windless fields and smokeless builds
[-] The following 1 user Likes Tom BD Bad's post:
  • Drone0fPrey
Reply
#29
Yeah RCG get hard to follow sometimes. Might have to stop over if I need some entertaining lol.
Its like arguing about, Chevy came out with the spare tire idea first! Ford stole it!
A good idea is just that, a good idea. Sooner or later it becomes a standard.

In my opinion this hobby would have taken 5-10 more years to get where we are today with sole proprietary development. And the community would be that much smaller too because of it.
Sharing is caring! Wink
The Obsession IS Real!
My Youtube and Instagram links
[-] The following 1 user Likes Drone0fPrey's post:
  • Tom BD Bad
Reply
#30
Couldn't find the RCG thread... And I really wanted to laugh too! Lol
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Latest on the RDQ vs. FAA Lawsuit from RDQs! Skavage 22 3,075 29-Jul-2022, 11:46 PM
Last Post: SnowLeopardFPV
  Latest TBS Agent M app: Telemetry viewer and GPS logging kafie1980 12 3,014 20-Feb-2022, 03:07 PM
Last Post: kaitylynn
  Drama Alert - RotorRiot & JB VS. Armattan Oscar 23 4,562 27-Jul-2019, 05:26 PM
Last Post: hugnosed_bat
  [Drama Alert] More people leaving Rotor Riot Oscar 10 8,932 24-Mar-2019, 07:15 AM
Last Post: Drone0fPrey
  HelioRC IMU-F source code is now open source Oscar 3 920 10-Mar-2019, 09:16 PM
Last Post: brnmd


Login to remove this ad | Register Here