Hello,
I have a problem with tracking service in MRL. I uploaded the last available pyton script (.txt attached below), but i have errors like this:
Traceback(most recent call last): File string line 16 in ModuleAttributeError: org.myrobotlab.service.Servo object hs no attribute as setPin....
Someone can explain me how to proceed or can provide me with an updated pyton script?
Someone can halp me?
Someone can halp me?
Tracking
Tracking is a bit tricky to start.
I hope this script will help you.
https://github.com/MyRobotLab/pyrobotlab/blob/master/home/Mats/Tracking…
Tracking
Hello Mats,
With your script I've a sintax error at line 35!
However I need a working script for tracking objects like showed in this page:
http://myrobotlab.org/content/second-mrl-tutorial-tracking-service-wiri…
I've tried the script reported in that page several times, even by modifying it, but I always get errors. Why?
Fox exemple, the following code lines not work
xpid.setPID(5.0, 5.0, 0.1)
ypid.setPID(5.0, 5.0, 0.1)
None type object has no attribute setPID...
What are the correct lines of code to define and set the PID control?
I thank you for your time!
Tracking
Hi
I updated the script to contain how to set the PID values. It has changed since the Tracking example was made. Now the same PID service can calculate PID values for several inputs.
https://github.com/MyRobotLab/pyrobotlab/blob/master/home/Mats/Tracking…
I also removed the reset loop. I had it there because sometimes the tracking may lock up on an extreme position.
It doesnt
Hey Mats, thanks for sharing your cods. I ran your code but it didn't work. I don't have any idea why, i hope you can tell me.Thanks in advance.