Nan - voltage
23 Sep 2020 07:44 #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.
The following user(s) said Thank You: phillc54
Please Log in or Create an account to join the conversation.
23 Sep 2020 07:46 #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 or Create an account to join the conversation.
23 Sep 2020 08:23 #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"
The following user(s) said Thank You: phillc54
Please Log in or Create an account to join the conversation.
23 Sep 2020 11:09 - 23 Sep 2020 11:10 #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
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.
Last edit: 23 Sep 2020 11:10 by Clive S.
The following user(s) said Thank You: phillc54
Please Log in or Create an account to join the conversation.
23 Sep 2020 11:15 #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.
The following user(s) said Thank You: Clive S
Please Log in or Create an account to join the conversation.
27 Sep 2020 00:58 #183906
by Tesremos
Replied by Tesremos on topic Nan - voltage
still no nan
The following user(s) said Thank You: phillc54
Please Log in or Create an account to join the conversation.
27 Sep 2020 01:36 #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
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 or Create an account to join the conversation.
28 Sep 2020 10:25 #184130
by Tesremos
Replied by Tesremos on topic Nan - voltage
im quite happy to guinea pig things, let me know if you need anything
The following user(s) said Thank You: phillc54
Please Log in or Create an account to join the conversation.
29 Sep 2020 02:24 #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.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 or Create an account to join the conversation.
Moderators: snowgoer540
Time to create page: 0.187 seconds