Welcome to Multi-Rotor UK. Please login or sign up.

Thursday,November 14, 2024, 22:12:49

Login with username, password and session length

Shoutbox

Bad Raven:
12 May 2024 08:13:51
 I have some F1 Abusemark boards going spare,,,,,,,,,,,,,    ;)    :azn
DarkButterfly:
11 May 2024 22:12:29
And with oldskool parts  :D
DarkButterfly:
11 May 2024 22:11:57
I must be the only one doing tricopters right now  :laugh:
DarkButterfly:
11 May 2024 22:09:30
 :D
Gaza07:
11 May 2024 21:15:16
Domain has been renewed closure has been cancelled  :D
Gaza07:
02 May 2024 08:07:52
Who are most people ??? I think the person you are referring to has put in a lot of effort to keep things moving  :rolleyes:
hoverfly:
01 May 2024 10:16:12
Most people I have spoken to are pizzed off with the yellow peril  flooding the forum,go figure. :whistling:
Gaza07:
23 Apr 2024 08:09:45
The Domain expires for the forum in 60 days, I'm not going to renew it this time unless I see any activity  :beer2:
Gaza07:
20 Apr 2024 18:02:50
Is there anyone who would like to see this forum stay open ? :shrug:
hoverfly:
17 Apr 2024 17:15:13
 :rolleyes:
Members
Stats
  • Total Posts: 201,488
  • Total Topics: 20,272
  • Online today: 21
  • Online ever: 530
  • (Tuesday,June 26, 2012, 08:34:46 )
Users Online
Users: 0
Guests: 10
Total: 10

Theme Changer





3d - Printworx

Lux or Rewrite?

Started by Roland Sausage, Monday,February 29, 2016, 17:33:15

Previous topic - Next topic

Roland Sausage

I';m ready to update the Naze I';ve transplanted to a new build and not sure whether to set up with Luxfloat or Rewrite.  It hasn';t been touched since last year and has 1.1.10 on it with pretty much default lux PIDs.

I';ve joined the new Betaflight group on facebook which has been helpful and also looked at the latest changelog for 2.5.0 but I';m not really any better informed.

Any thoughts or advice on which controller to use would be appreciated  :beer2:

Gandhi

I don';t think there is a lot between them now. I';d try both personally. you can set them up on different PID profiles and switch between them when landed. Fairly easy to do a back to back comparison then.

DarkButterfly

I use lux on betaflight, but as gandhi said test them both ~~
Why use 4 motors when you can use 6?

YouTube channel
[url="https://www.youtube.com/user/RobR386"]https://www.youtube.com/user/RobR386[/url]

atomiclama

I run LUX on a CC3D very nice now.

Why ? I can follow the code easily in LUX as it';s not doing lots of jiggery pokery to try and do the same in integers
Wasdale X, Ow that hurt

Cheredanine

About 3 or 4 full releases ago Boris stated there was no appreciable difference between rewrite and lux, however since the PID incrementals were smaller on rewrite it gives you more granularity on tuning, hence rewrite was (marginally) better.

Whilst he was playing with 2.4.1 he tried out mw2.3 and was impressed, I think he is pushing getting that working well ATM

In RC 4 I and one or two others have found the stock PIDs for rewrite were not as good as those for luxfloat so as of RC4 have gone back to luc

atomiclama

Quote from: Cheredanine on Monday,February 29, 2016, 21:20:26 however since the PID incrementals were smaller on rewrite it gives you more granularity on tuning, hence rewrite was (marginally) better.


This is true if you are using the GUI configurator, which is limited.

If however you use the CLI then you have full float granularity in the terms. So LUX is just as tune able.
Wasdale X, Ow that hurt

nub

i use rewrite, might have to finally give lux a try seeing as it seems to be so popular :laugh:
Point and click.

Monkey see, Monkey do.

Roland Sausage

Luxfloat it is then...for now  ~~

I';m not sure my fingers would benefit from the finer grain control of smaller PID increments and I';ve no idea what I';m doing in CLI anyway!

Thanks for the info and pointers folks!

Revs


atomiclama

Quote from: Roland Sausage on Monday,February 29, 2016, 23:31:01

I';m not sure my fingers would benefit from the finer grain control of smaller PID increments and I';ve no idea what I';m doing in CLI anyway!


you might not need to change the defaults anyway. I haven';t

I only have a little wobble on hard turns into propwash to sort out, but I prefer to fly so just live with it  ::)
Wasdale X, Ow that hurt

Gandhi

Quote from: Revs on Tuesday,March 01, 2016, 00:56:36
Lux, tis smoother :smiley:

Yeah, I get that impression too. It doesn';t play quite so nicely on my v-tail though, which is odd.

Roland Sausage

I';ve just flashed 2.5.0 RC4 and now the 3D model quad on the Cleanflight configurator setup screen no longer moves?!  I';m sure I saw this mentioned but can';t remember where.

My gyro and acc are working fine according to the sensors tab.

Cheredanine

Rc4 has a bug where bb logging and acc don';t work even if enabled.
Wait for rc5 or take dev build 225
Ps and hike your processor speed up, I have a lux running 8khz/125 loop time and it is excellent

Roland Sausage

Quote from: Cheredanine on Tuesday,March 01, 2016, 21:06:27
Rc4 has a bug where bb logging and acc don';t work even if enabled.
Wait for rc5 or take dev build 225
Ps and hike your processor speed up, I have a lux running 8khz/125 loop time and it is excellent

Thanks, I';ll probably hold off for RC5.

I';m not sure how to overclock my naze but I';ll get looking into it  ~~

nub

think he';s just talking about upping the looptime, sure the naze can run at around 4khz/250 now, would have to check.
Point and click.

Monkey see, Monkey do.

Cheredanine

Rc5 is out, acc is fixed.

Release notes tell you what speed the board types can run at

nub

i';ve just been told by someone that lux can damage your FC :laugh:

so ya better watch out!
Point and click.

Monkey see, Monkey do.

Cheredanine

Quote from: nub on Wednesday,March 02, 2016, 16:15:39
i';ve just been told by someone that lux can damage your FC :laugh:

so ya better watch out!
yeah when you are not looking it creeps out and hits the gpu with a hammer

nub

witty though not sure if they meant directly but i have asked them to explain what they meant, wonder if they will reply :laugh: stupid useless support, never the hardware at fault is it.
Point and click.

Monkey see, Monkey do.

Cheredanine

Lux is just some math. It isn';t going to damage your processor, in fact on f3 boards the gpu doesn';t even do the math as it has a separate floating point unit that does it
Whoever is telling you that is either pulling your leg or doesn';t understand

nub

clutching at straws comes to mind.



Point and click.

Monkey see, Monkey do.

Roland Sausage

I did recently see someone commenting about the micro oscillations produced by Luxfloat and how it can lead to a lot of excess motor heat.  Is that still the case?  I thought it was worked out a long time ago.

atomiclama

That was an old thing, all sorted now
Wasdale X, Ow that hurt

Roland Sausage

Quote from: nub on Tuesday,March 01, 2016, 23:56:38
think he';s just talking about upping the looptime, sure the naze can run at around 4khz/250 now, would have to check.

You';re right about that according to Boris release notes.  I';ll give it a go.

Cheredanine

Naze can not handle 4K with acc enabled, and suspect will also struggle with luxfloat

nub

good excuse for a new FC Roland hehe ::)
Point and click.

Monkey see, Monkey do.

Roland Sausage

Quote from: Cheredanine on Friday,March 04, 2016, 15:17:05
Naze can not handle 4K with acc enabled, and suspect will also struggle with luxfloat

Do I have to switch off acc manually via CLI or is it disabled when looptime is set low enough?  When I go below 1000 the 3D model in cleanflight config stops working.  I can still arm and throttle up though.

What do you suggest?

Roland Sausage

Quote from: nub on Friday,March 04, 2016, 18:39:13
good excuse for a new FC Roland hehe ::)

A new FC would be wasted on me!  :wack0

atomiclama

Quote from: Roland Sausage on Friday,March 04, 2016, 20:09:06
Do I have to switch off acc manually via CLI or is it disabled when looptime is set low enough?  When I go below 1000 the 3D model in cleanflight config stops working.  I can still arm and throttle up though.

What do you suggest?

If you do it via the GUI then it is taken care of for you, I think.
Venture into the CLI then it';s up to you to disable everything needed, but you more control over it and it';s easier to break.

If the model stops moving the ACC is disabled.
Wasdale X, Ow that hurt

Roland Sausage

Quote from: Roland Sausage on Friday,March 04, 2016, 20:09:06
Do I have to switch off acc manually via CLI or is it disabled when looptime is set low enough?  When I go below 1000 the 3D model in cleanflight config stops working.  I can still arm and throttle up though.

What do you suggest?

Just found the answer in the RCgroups thread - I see you were having a good chat with Boris.  Looks like acc is automatically disabled below looptime of 1000.

You reckon it';d still struggle on Luxfloat with acc disabled?