Remora for RP2040

More
3 years 2 months ago #277029 by andypugh
Replied by andypugh on topic Remora for RP2040
I don't know the units, but 0.5mm f-error would be very high, and 0.5 inches would be crazy.

I suspect that you have a problem in the HAL file, maybe there just isn't time to make as many steps as you need per second?

Please Log in or Create an account to join the conversation.

More
3 years 2 months ago - 3 years 2 months ago #277547 by drewnabobber
Replied by drewnabobber on topic Remora for RP2040
Been trying to find the cause of the following errors for a couple of days now and still no luck.  Have reduced the velocity, accels and scale dramatically but still the following errors persist.

Commanded position and feedback track fairly closely, but following error is accumulating.
Last edit: 3 years 2 months ago by drewnabobber.

Please Log in or Create an account to join the conversation.

More
3 years 2 months ago - 3 years 2 months ago #277587 by drewnabobber
Replied by drewnabobber on topic Remora for RP2040
 Here is a better capture of what we're seeing. 

Last edit: 3 years 2 months ago by drewnabobber.

Please Log in or Create an account to join the conversation.

More
3 years 2 months ago #277599 by scotta
Replied by scotta on topic Remora for RP2040
Increasing the pgain for each axis to 100 definitely helps.

However, something strange with "random" steps in the position command. Are you seeing this as well?
 

Please Log in or Create an account to join the conversation.

More
3 years 2 months ago #277640 by drewnabobber
Replied by drewnabobber on topic Remora for RP2040
Yes. Last night before calling it quits for the day, I got the debug output going and I can see that the following errors are correlated with RX failures (RX reset, so no data received).

It really looks to me like somewhere in the pipeline there is some packet loss.

Please Log in or Create an account to join the conversation.

More
3 years 2 months ago #277670 by scotta
Replied by scotta on topic Remora for RP2040
Maybe not, as a RX reset is normal behaviour when e-stoped. For the controller board to disconnect by action of the communications monitoring module, multiple successive packets would need to be lost.

github.com/scottalford75/Remora-RP2040-W.../RemoraComms.cpp#L23

Please Log in or Create an account to join the conversation.

Time to create page: 0.291 seconds
Powered by Kunena Forum