|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
camera tracks but no movement from Robot
We have our camera tracking the various colors. We are able to manually drive our robot. When we go injto autonomous mode the camera seeks out the vision tetras, but no movement happens at the robot. It just appears that no information is being sent to move the robot, Can you guys please help my programming team....
Stills |
|
#2
|
|||
|
|||
|
Re: camera tracks but no movement from Robot
Hi! I think you haven't declared the proper values for pwm or maybe you missing a step in your programm. If you want I can look at your code and give you suggestions here is my e-mail address jigarjuhi@yahoo.ca
|
|
#3
|
|||||
|
|||||
|
Re: camera tracks but no movement from Robot
Without knowing anything about what your autonomous code is supposed to do, I can't really suggest anything helpful. All I have are questions:
Is your autonomous code controlling the same pwm outputs as your driver code? How are you putting the robot into autonomous mode? Are you sure you aren't accidentally disabling the robot when you're activating autonomous? If your program is based on the v2.4 default code, are you using pwm1 and 2 for your drive motors, or pwm11 and 12? The default tracking code puts the commands on pwm11 and 12, the same place used for single-joystick control. If you're using two-joystick "tank" control on the lower pwms, you will have to change the tracking outputs. |
|
#4
|
|||
|
|||
|
Re: camera tracks but no movement from Robot
Quote:
const int speed_setting = 150; //forward speed setting (127 to 254) We found ours was set at 100. We bumped it up (by 10s) until we good good movement. The real trick is taking all of that and putting it into an autonomous routine. We're still working on that. |
|
#5
|
||||
|
||||
|
Re: camera tracks but no movement from Robot
255 is full speed, and I like going down from there.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Is the suggested Vision Camera setup ILLEGAL?! | Mr. Lim | Rules/Strategy | 37 | 20-01-2005 21:46 |
| Is allowing a practice robot good for FIRST? | Matt Adams | General Forum | 38 | 19-01-2005 11:35 |
| CMUCam2 Camera Code - Are important parts commented out? | Mr. Lim | Programming | 4 | 14-01-2005 12:11 |
| Tank tracks vs. Wheels | MBosompra | Technical Discussion | 28 | 16-01-2004 23:31 |
| about how Drive Train push the robot... shouldn't the force accelerate the robot? | Ken Leung | Technical Discussion | 12 | 26-11-2001 09:39 |