-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting "SpeedM1M2 OSError 11" and "ReadEncM1/2 OSError 11" and movement commands don't work #7
Comments
That sounds like the driver is outdated now. Will need to get the new python code and replace it |
Thank you for your quick answer, where can I find the latest version of the driver? , the one published on github wasn't updated since last year. |
O strange, then that might not be the problem. I will need to look into this a bit more. |
Ok, thank you. |
After changing the roboclaw settings, I was able to move my wheels but the roboclaw takes too long to respond, the speed is too low and I do still have the warnings. In your code you said that OSError 11 may be caused by a synchronization problem with serial. I would be grateful if you explain to me what is probably causing this problem and how to fix it. |
Did it finally work? can you upload the altered code here? |
I am able to use Is there any way of implementing callback functionality with the driver (specifically the motor and encoder commands)? How long does a motor command take to execute? What is the maximum rate (Hz) of motor commands that can be sent to the motors? |
Are there any updates on this? I get the same error and it kills the odometry of the robot :/ |
I has been a while, as soon as I can remember, I was unable to set the parameters values from the launch file. Make sure to give the node the correct arguments, especially the |
@sonyccd File "/home/vishu/roboclaw_ws/src/roboclaw/nodes/roboclaw_node.py", line 306, in please help me to solve this thank you |
Hey, I am having the same issue as mentioned by vishu2287. If someone finds a solution for this, please post it. |
@Rahul-Ravichandran , @vishu2287 I get rid of this error by defying enc1 and enc2 as integers just before this part with enc1 = None, and delete enc1 = None part. But somethimes, roboclaw is lagging and I don't know what can I do with it |
I was trying to get my teleop code running with roboclaw as motor controller but I got these warnings when launching the roboclaw.launch.
[WARN] [WallTime: 1472045242.277871] SpeedM1M2 OSError: 11
[WARN] [WallTime: 1472045242.376828] ReadEncM1 OSError: 11
[WARN] [WallTime: 1472045242.798931] ReadEncM2 OSError: 11
And of course I was unable to control my robot's wheels with no feedback. Is it the same problem causing the warnings? what could it be? And can such error occur when there is something wrong with the roboclaw's settings?
Any help would be appreciated.
The text was updated successfully, but these errors were encountered: