Search found 3 matches

by matrob
Sun Jan 21, 2018 4:01 pm
Forum: Project Discussion
Topic: Linear Regression Line Following
Replies: 20
Views: 4228

Re: Linear Regression Line Following

I replaced set_servos(throttle_output, steering_output) by ch1 = tim.channel(1, Timer.PWM, pin=Pin("P7"), pulse_width_percent=throttle_output-(90-steering_output)) ch2 = tim.channel(2, Timer.PWM, pin=Pin("P8"), pulse_width_percent=throttle_output+(90-steering_output)) and now it works ! Thank you ve...
by matrob
Sun Jan 21, 2018 6:04 am
Forum: Project Discussion
Topic: Linear Regression Line Following
Replies: 20
Views: 4228

Re: Linear Regression Line Following

Hi, Thank you for the updated version ! I'm not sure what the "PMW script" is, but I tried the pmw_control.py script from the examples of the IDE and it works. I also tried different pulse_width_percent from 30 to 100% and 0% and it works well. I just bought an rc car on hobbyking so I can try the o...
by matrob
Sat Jan 20, 2018 5:48 am
Forum: Project Discussion
Topic: Linear Regression Line Following
Replies: 20
Views: 4228

Re: Linear Regression Line Following

Firstly, I wanted to thank kwagyeman for the OpenMV project. I started arduino projects a few months ago and always wanted to try computer vision. I tried and, till now, always failed to achieve Raspsberry Pi based project in vision. Installing OpenCV on a Raspberry is a real challenge for a newbie ...

Go to advanced search