Right Front Corner Servo Does Not Respond to Angles Below ~-21° #509
-
|
Iam encountering an issue with the right front corner servo on our Open Source Rover (Rev F): Observed Behavior: Steps Taken So Far: Hardware Setup: Suspicions: Request: I’d appreciate help confirming: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
|
Hello and welcome! Happy to try to help here but just an FYI that you'll likely get most input from the community on the Slack group - see the main README page for instructions for joining. I remember some folks commenting on there that they had issues turning servo motors beyond 180 degrees, which sounds slightly different but perhaps is the same issue. link to Slack discussion I'm not sure where you got 'Rev F' from, that is the denomination we used for the legacy rover, which didn't use servo motors. The releases are here and the control board is likely either v2.0.1 or v2.0.3. Did you follow the instructions to calibrate the corner servos? If not done correctly, you will run into the limit of the servo motor. I would recommend using the same script without any ROS 2 code to see if you can isolate the issue to a particular piece of software. |
Beta Was this translation helpful? Give feedback.
-
|
Hello, thank you for your answer! I did the calibration correctly if you meant the one to set the servos to 150 and adjust them accordingly while they rotate freely and then edit the values for slight offsets. I got the problem that i want to implement the inplace rotation correctly, but when i use the normal functions only two servos (left front and right back) make a 90° turn and then all wheels drive instead of each servo doing a 45° turn for rotation. I tried to hardcode them with math.rad(45°) and -45° and so on but the turn was still to big. math.rad(22.5°) was as close as i could get to a 45° angle. But as i already described, the front right somehow wont accept -22.5° as an angle and i dont know why. I updated the software to the latest version of this repo and read the intructions carefully butt i still couldnt find the error. i will also write this question into the slack forum. Thank you for your help! |
Beta Was this translation helpful? Give feedback.
This code has worked for many people so I doubt the issue is with the higher level code - though debugging by simplification is a great way to isolate the issue.
In that slack thread I linked, @igillespie specified which version of ServoKit they're using: