Search found 8 matches

by Allen1234
Mon Dec 11, 2017 12:53 pm
Forum: Technical Discussion
Topic: TypeError : object 'line' is not a tuple or list
Replies: 9
Views: 768

Re: TypeError : object 'line' is not a tuple or list

s1 = Servo(1) # P7 Motor s2 = Servo(2) # P8 Steering print (s1.calibration()) # show throttle servo calibration cruise_speed = 1500 # how fast should the car drive, range from 1000 to 2000 steering_gain = 500 kp = 0.8 # P term of the PID ki = 0 # I term of the PID kd = 0 # D term of the PID def ste...
by Allen1234
Mon Dec 11, 2017 12:49 pm
Forum: Technical Discussion
Topic: TypeError : object 'line' is not a tuple or list
Replies: 9
Views: 768

Re: TypeError : object 'line' is not a tuple or list

Thank you kwagyeman :D . I'll post it here once I've found the code
by Allen1234
Mon Dec 11, 2017 11:37 am
Forum: Technical Discussion
Topic: TypeError : object 'line' is not a tuple or list
Replies: 9
Views: 768

Re: TypeError : object 'line' is not a tuple or list

Oh, its functional. It was my mistake. img.draw_line(l.line(), color=(127)) # Draw lines, i mistakenly typed img.draw_line(l.lines(), color=(127)) # Draw lines. Sorry for that. Thank you aakoch. Although, the camera detects, my rover did not move. I have already adjusted the cruising speed to 1500. ...
by Allen1234
Sun Dec 10, 2017 11:06 pm
Forum: Technical Discussion
Topic: TypeError : object 'line' is not a tuple or list
Replies: 9
Views: 768

Re: TypeError : object 'line' is not a tuple or list

Thank you aakoch for the information. :P But it still does not work. Thanks for the help btw

Can't wait to hear from you kwagyeman :D
by Allen1234
Sun Dec 10, 2017 10:26 pm
Forum: Technical Discussion
Topic: TypeError : object 'line' is not a tuple or list
Replies: 9
Views: 768

TypeError : object 'line' is not a tuple or list

I tried to run this code on OpenMV IDE, but the system suddenly says TypeError and I don't know how to fix this. This is the code. The TypeError box appears on the code line ( img.draw_line(l, color=(127)) # Draw lines) # Autonomous rover code by Chris Anderson, 3DR, DIY Robocars # Copyrigbt 2017 # ...
by Allen1234
Sun Dec 10, 2017 10:16 pm
Forum: Project Discussion
Topic: OpenMV IDE coding for gear motor
Replies: 2
Views: 902

Re: OpenMV IDE coding for gear motor

Thank you but I've already solved it :D
by Allen1234
Thu Dec 07, 2017 3:48 am
Forum: Project Discussion
Topic: OpenMV IDE coding for gear motor
Replies: 2
Views: 902

OpenMV IDE coding for gear motor

Hi everyone. I'm Allen and I am just a beginner for this OpenMV IDE software. It is out of my curiosity to buy the RC Smart Kit and OpenMV Cam M7. Right now, I was using the example code of detecting circle object. I thought of making the RC Car to move towards the Circle Object it detected. Unfortu...

Go to advanced search