- Posts: 75
- Thank you received: 0
Nan - voltage
6 years 1 month ago #183425
by Tesremos
Replied by Tesremos on topic Nan - voltage
also, it dosent sort its self out..once it boots with a nan..
it stays nan until you reopen linuxcnc.
if u run with nan. it crashes.
or from memory. if mode 0.
never reaches arc okay. and dosent do anyrhing but pop a hole in stuff.
it stays nan until you reopen linuxcnc.
if u run with nan. it crashes.
or from memory. if mode 0.
never reaches arc okay. and dosent do anyrhing but pop a hole in stuff.
Please Log in to join the conversation.
6 years 1 month ago #183426
by phillc54
Replied by phillc54 on topic Nan - voltage
Does it ever show a nan at some later stage or only on startup?
Please Log in to join the conversation.
6 years 1 month ago #183429
by Tesremos
Replied by Tesremos on topic Nan - voltage
only ever on startup.
maaaayyybbeee once ive seen it "appear"
maaaayyybbeee once ive seen it "appear"
Please Log in to join the conversation.
6 years 1 month ago #183450
by Clive S
Phill. Not sure this is relevant but recently I have been playing around with denounce like this:
setp scale.0.gain 60
setp lowpass.0.gain 1.000000
net spindle-velocity-feedback-rps => lowpass.0.in
net spindle-fb-filtered-rps lowpass.0.out => abs.0.in
net spindle-fb-filtered-abs-rps abs.0.out => scale.0.in
net spindle-fb-filtered-abs-rpm scale.0.out => pyvcp.spindle-speed
Using 2.8 on a P/port with lathe for spindle display from a 100 slot disk with opto's
That is I have seen nan in the display with some odd setting in the gain.
Replied by Clive S on topic Nan - voltage
phillc54 wrote: Does it ever show a nan at some later stage or only on startup?
Phill. Not sure this is relevant but recently I have been playing around with denounce like this:
setp scale.0.gain 60
setp lowpass.0.gain 1.000000
net spindle-velocity-feedback-rps => lowpass.0.in
net spindle-fb-filtered-rps lowpass.0.out => abs.0.in
net spindle-fb-filtered-abs-rps abs.0.out => scale.0.in
net spindle-fb-filtered-abs-rpm scale.0.out => pyvcp.spindle-speed
Using 2.8 on a P/port with lathe for spindle display from a 100 slot disk with opto's
That is I have seen nan in the display with some odd setting in the gain.
Please Log in to join the conversation.
6 years 1 month ago #183451
by phillc54
Replied by phillc54 on topic Nan - voltage
Thanks Clive, it is a bit different. We are getting an inf (infinity) from the encoder on startup and because we do a bit of math with it we ended up with a nan.
Please Log in to join the conversation.
6 years 1 month ago #183906
by Tesremos
still no nan
Replied by Tesremos on topic Nan - voltage
Please Log in to join the conversation.
6 years 1 month ago #183908
by phillc54
Great, thanks for reporting.
It would be nice to know why it does appear. When I get a spare minute I may pose the question on the developers list.
Replied by phillc54 on topic Nan - voltage
Tesremos wrote:
still no nan
Great, thanks for reporting.
It would be nice to know why it does appear. When I get a spare minute I may pose the question on the developers list.
Please Log in to join the conversation.
6 years 1 month ago #184130
by Tesremos
Replied by Tesremos on topic Nan - voltage
im quite happy to guinea pig things, let me know if you need anything
Please Log in to join the conversation.
6 years 1 month ago #184234
by phillc54

I have pushed those changes to 2.8 and master.
Replied by phillc54 on topic Nan - voltage
I'll keep that in mind.Tesremos wrote: im quite happy to guinea pig things, let me know if you need anything
I have pushed those changes to 2.8 and master.
Please Log in to join the conversation.
Time to create page: 0.367 seconds
