linear_movement _vibration
Is this built into RO 2.0??
https://discord.com/channels/582187371529764864/1069063230443507763/1069063230443507763 The directory for the output at a min is now different? was /home/pi/klipper_config/linear_vibrations/ but that path is not in R) v2.0 updates? corrections? (am i out in left field?)
https://discord.com/channels/582187371529764864/1069063230443507763/1069063230443507763 The directory for the output at a min is now different? was /home/pi/klipper_config/linear_vibrations/ but that path is not in R) v2.0 updates? corrections? (am i out in left field?)
33 Replies
yes it is installed by default now, see https://github.com/Rat-OS/RatOS/blob/v2.x/src/modules/linear_movement_analysis/start_chroot_script
installed to
/home/pi/klipper_linear_movement_analysis
i see that dir in winscp.... so no moonraker update section needed? (for lmv) what about printer.cfg configuration for motion ranges etc?
specifically the output directory?
yeah it was updated: https://github.com/Rat-OS/RatOS-configuration/blob/v2.x/moonraker.conf#L63-L73
DOOOHL! ...I see it is indeed already there in moonraker.cfg. nothing in printer.cfg? I don't see a file dir in 'machine' for the output as before
not sure
normal parsing... the old printer.cfg stuff for lmv is not throwing an error on restart...hence my start down this Q path. even though the old path does not exist now in RO 2.0
perhaps it all command line arguments only now
i'm commenting it out for now...will test latter today
tnx
https://github.com/Rat-OS/RatOS/commit/824365da42e301d63dbb6909ba6d705a446430df
looks like it got registered as a plugin? Sorry, this is above my head now
Yeah you still need to define it in printer.cfg, it doesn't come preconfigured (never got around to it)
output_directory: /home/pi/klipper_config/linear_vibrations/ was the old dir.... where is it now? (new path needed)
/home/pi/printer_data/config/linear_vibrations
?no such animal. will manually create and test/see
that was just a guess based off old klipper_config changing with moonraker updates
ha! exactly where I started. he he
was my WAG as well
ok...still didn't error out, but at least it's a writeable path
atleast they'll all end up in one directory
ambitious-aqua•2y ago
I created a new folder via WinSCP in the path output_directory: /home/pi/printer_data/config/linear_vibrations/ because I had the same problem. I had the same problem and found no other way to get the whole thing running unless I use the same folder as input_shaper, but then it becomes too confusing for me.
I now have the problem that when I execute MEASURE_LINEAR_VIBRATIONS_RANGE it gives me this error,
Internal error on command: "MEASURE_LINEAR_VIBRATIONS_RANGE"
it writes all but one diagram but the first diagram for the vibration Peak Axis X is not written.
Does anyone have any ideas about this?
Translated with www.DeepL.com/Translator (free version)
@MarschallMarc any input here?
as long as the user running klipper can write in the parent directory, it will create the directory
I wonder, if you fckd the rights by creating stuff via winscp and another user
and the other issue, can you show some logs?
I got to admit, I didnt follow klipper updates the last couple of weeks, so maybe sth changed?
but when it creates everything but one plot, it probably means, that sth is wrong during plotting
which plot is missing?
who wrote that code fgs, is so unreadable xd
so i guess it does not plot the frequency response over velocity?
thats weird, if it fails there, it should fail at other places as well
read as in: already before creating the plos
@miklschmidt I assume you got a current installation of ratos? 😛
can you test if it runs for you?
I can later, yes
i am still on old versions and got no system to debug assembled right now...
and next maintenance window is in 2 weeks
sorry xD
You need more printers 😂
no worries though i'll let you know how it goes
thanks
@MarschallMarc oh you might want to fix the readme though, new path to config is /home/pi/printer_data/config
(moonraker decided to mix things up)
I remember that it will happend and then I got sick and forgot about all of that xD
will fix the readme on the fly
We should prolly add default configurations to the printers as well in RatOS
So the commands are available out of the box
if it works, that would be great 😛
i commited directly on master branch, need to go take a shower now
that felt too dirty
😂
ambitious-aqua•2y ago
After running MEASURE_LINEAR_VIBRATIONS_RANGE it gives an error and does not create the graph (image) , the others are created . I now have 2 x LinearMovementAnalysis in the Update Manager, but one is written incorrectly (LinearMovevementAnalysis). Since I did the update today, both have been updated, so I think it is not bad.
ambitious-aqua•2y ago
Of course, it could also be that it has something to do with my path change, but I don't think so, it only appears once in the moonraker updates, maybe someone can tell me how to get the second entry out.
We just found an issue which is introduced through a now different version of matplotlib. Fix expected soon
see.. logs ARE worth while ha ha !
Discord
Discord - A New Way to Chat with Friends & Communities
Discord is the easiest way to communicate over voice, video, and text. Chat, hang out, and stay close with your friends and communities.
Now imagine they would be actually readable XD
There is so much stuff that belongs there only in debug mode imho
crap..sorry wrong thread...right subject...wrong thread moved back to https://discord.com/channels/582187371529764864/1085580782485110855