rirze / mirobot-py

A Python interface library for WLkata's Mirobot
https://rirze.github.io/mirobot-py/
MIT License
24 stars 9 forks source link

How to get this library working? #8

Closed rirze closed 3 years ago

rirze commented 4 years ago

Hi,

How do you get this library going?

Running the example code etc I'm just getting "010000000ALARM: Hard Limit" then the programme exits.

Or if I try:

increment_axis(5,5,5,5,5,5,5) or similar - nothing happens.

How am I supposed to use these?

Thanks

Mark

Originally posted here

rirze commented 4 years ago

Hi Mark,

It seems like your Mirobot is stuck on a hard limit. This doesn't seem like a problem with the python library but rather a homing problem with the physical Mirobot itself.

I recommend trying WKlata's Studio to see if the result is the same. If it is, then you should attempt to recalibrate it manually so it doesn't hit the hard limits.

If WKlata's Studio works or you've fixed the hard limit and you still run into issues, please let me know.

rirze commented 4 years ago

Hi - I've tried with " wlkata studio" and that seems to work. But nothing when I run that code sample above - i.e. the alarm every time

Mark

Originally posted here

rirze commented 4 years ago

I'm not sure how to help without more information-- I can't fathom a reason why one would get a hard limit error with my package but not get one with WLkata's Studio program.

Are you sure there no similar warning in the Studio program when starting up the device and doing homing?