Go to Post Coming up next on Pimp My Ride.....Yo man, here is the real deal. A two-oh-oh-six Segway I-one-eighty, with stock rims, stock fenders, and two 3 horse motors that red-line at twelve point five miles per hour. Get ready, because I'm going pimp this ride! - artdutra04 [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 07-02-2009, 15:37
Sauce Sauce is offline
Registered User
FRC #1245 (Shazbots)
Team Role: Programmer
 
Join Date: Oct 2008
Rookie Year: 2008
Location: Louisville
Posts: 35
Sauce is an unknown quantity at this point
Lightbulb Autonomous problems

After loading our Autonomous code into the basic robot main, the camera tracks the two colors well, but we cant' seem to get the speed controllers to function, we took the whole of the PID loop code at the bottom of the Servo Camera Example and threw into the Two Color Tracking example, added an algorithm that converts the servo values into motor values and puts it into tank drive, we see values being placed into the tank dirve VI, but speed controllers don't respond, I'd give you a picture, but I don't have one at my house.
  #2   Spotlight this post!  
Unread 07-02-2009, 15:40
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,752
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Autonomous problems

Probe the values being sent to the motors. If the math isn't right and you are mostly sending small numbers near zero, that would be the problem. If you are sending numbers that are reasonable and the motors aren't moving, look at the watchdog or wiring issues.

Greg McKaskle
  #3   Spotlight this post!  
Unread 07-02-2009, 15:42
Sauce Sauce is offline
Registered User
FRC #1245 (Shazbots)
Team Role: Programmer
 
Join Date: Oct 2008
Rookie Year: 2008
Location: Louisville
Posts: 35
Sauce is an unknown quantity at this point
Re: Autonomous problems

Watchdog is fine and we are getting values of .6 and -.6, we limited it so we coudl test it in our environment with less risk of serious damage
  #4   Spotlight this post!  
Unread 07-02-2009, 15:55
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,752
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Autonomous problems

If you are sending 0.6 to a motor controller and you aren't getting errors back and the motor isn't running, it is either a wiring or a watchdog issue.

Check for errors from the motor call, and if that doesn't work, verify the module number and channel numbers match how the robot is wired. Also make sure the LED on the motor controller seems right.

Greg McKaskle
  #5   Spotlight this post!  
Unread 07-02-2009, 15:59
Sauce Sauce is offline
Registered User
FRC #1245 (Shazbots)
Team Role: Programmer
 
Join Date: Oct 2008
Rookie Year: 2008
Location: Louisville
Posts: 35
Sauce is an unknown quantity at this point
Re: Autonomous problems

We aren't getting any light change on the controllers... I am almost positive that it's wired correctly but my entire team is working on the bot right so I can't really make sure...
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Autonomous Problems Team_486 Programming 1 08-02-2008 13:59
EasyC/IR problems in Autonomous cardinalman86 Programming 2 22-01-2008 15:50
Gyro Autonomous Problems cprogrammer Programming 5 23-03-2007 14:28
Turning problems in Vex autonomous. jamesgecko Programming 3 09-03-2006 16:41
Autonomous and joystick problems sirbleedsalot Programming 3 11-02-2005 00:11


All times are GMT -5. The time now is 22:38.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi