beagleboard / librobotcontrol

Robotics Focused library for embedded Linux computers. Mirror of https://git.beagleboard.org/beagleboard/librobotcontrol
https://beagleboard.org/librobotcontrol
MIT License
194 stars 154 forks source link

Unable to run rc_test_servos on latest image release. #188

Closed ansarid closed 3 years ago

ansarid commented 4 years ago

When trying to run rc_test_servos on the latest beaglebone image release (AM3358 Debian 10.3 2020-04-06 4GB SD IoT) on a Beaglebone Blue, the error below is returned.

debian@beaglebone:~$ sudo rc_test_servos -c 1 -p 0.0
ERROR in rc_pru_stop while writing to remoteproc state: Operation not permitted
ERROR in rc_servo_init, failed to start PRU1
jadonk commented 3 years ago

Can you try the V1.0.5-RC2 release?

DhruvaG2000 commented 3 years ago

Hey @ansarid was your issue solved or are there any new errors you are facing? Kindly close this issue if your issue has been solved

ansarid commented 3 years ago

@DhruvaG2000 @jadonk The issue no longer exists, and I forgot about this issue, sorry!

Chazlazer commented 2 years ago

Hi, how did you fix the issue or make it go away? I have the same problem with the new image. See https://github.com/beagleboard/librobotcontrol/issues/210

pallantirao commented 2 years ago

Hi, I had the same issue as shown below. But the scenario is as follows: Had three boards one with older version ad other two with 1.0.5 version updated. The older version has -v option enabled where as the 1.0.5 version is removed and seem to have hard coded. the two biards with 1.0.5 version , the same procedure followed for updating OS and librobo. But one board has no issue but anither board failed giving the the following messgae. Great if some one helps. debian@beaglebone:~$ sudo rc_test_servos -c 1 -p 0.0 ERROR in rc_pru_stop while writing to remoteproc state: Operation not permitted ERROR in rc_servo_init, failed to start PRU1