Configuration

General discussion of using Roboclaw motor controllers
IagoMonroy
Posts: 6
Joined: Sat Feb 22, 2020 8:29 am

Re: Configuration

Post by IagoMonroy » Tue Dec 15, 2020 2:12 am

That was it. Encoder value in one of the motors switches between 0 and 1 continuously. So the encoder may be damaged. Thanks.

IagoMonroy
Posts: 6
Joined: Sat Feb 22, 2020 8:29 am

Re: Configuration

Post by IagoMonroy » Wed Jan 13, 2021 1:49 am

So, right now I have 2 roboclaws and 4 motors. I also have 2 nodes, one for the rear motors and one for the front motors. When I launch the rear one all works perfectly but when I launch the front one, appears this warning:

[WARN] [1536598156.519549]: Could not get version from roboclaw

And it causes the malfunction of both nodes. Because I keep pushing the joystick and nothing moves. And, sometimes, the rear nodes seems to be able to briefly listen to the joy topic and it moves both wheels for a little bit of time.

--EDIT--
So apparently, both roboclaws have the same idProduct and idVendor on Linux and I don´t know how to differentiate them in the udev rules. In this way, when both are plugged in the rpi there are some issues and one node process is killed. So please, do you know some way to differentiate them when typing the udev rules?
Thanks in advice.


And another question: Can I get information about the batteries through the controllers?

User avatar
Basicmicro Support
Posts: 1488
Joined: Thu Feb 26, 2015 9:45 pm

Re: Configuration

Post by Basicmicro Support » Tue Jan 19, 2021 10:11 am

The first answer in the link below, I believe will let you do what you want.

https://askubuntu.com/questions/49910/h ... l-adapters

Post Reply