Go to Post No offense, but telling the Killer Bees they should do something is like telling Micheal Jordan how to dunk a basketball (or Lebron James for you young'ens who don't know who Michael Jordan is)... - Don Wright [more]
Home
Go Back   Chief Delphi > FIRST > Robot Showcase
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #21   Spotlight this post!  
Unread 10-10-2006, 16:58
artdutra04's Avatar
artdutra04 artdutra04 is offline
VEX Robotics Engineer
AKA: Arthur Dutra IV; NERD #18
FRC #0148 (Robowranglers)
Team Role: Engineer
 
Join Date: Mar 2005
Rookie Year: 2002
Location: Greenville, TX
Posts: 3,078
artdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond repute
Re: pic: it's a Vex Holonomic Drive!

Quote:
Originally Posted by Dmkaz
I love bringing back up old topics =)

Anyways, I tried to import this code into EasyC 1.1 to see how it actually worked. To no avail though. After the code transfers to the controller, the motors seem to randomly spin at different times. I've tweaked this for numerous hours and still no luck. It would be great if someone could help on this issue. Thanks in advance
If the motors seem to be randomly moving, it's probably because of a code overflow error. (I.e. 256 would wrap back around to 0, reversing the motor.) EasyC 1.1 does not support the Else If blocks. If you substitute regular If blocks for the If Else ones, the code should work fine.

Also, the variable names are shorthand for which motor is controlled. RF is short for Right Front, LR is short for left rear, and so on. Make sure the your code controls the correct motors; if you were to swap two or three of the motors around, then the motors would appear to move randomly.

If you are still having problems, can you add some PrintScreen commands to display the values for each motor (add them right before the SetMotor blocks, download the original code (posted here), and then post the values you are getting? Or a simpler way would be to look at each of the motors while you control the robot. When you hit forward, the motors should rotate like this:



Quote:
Originally Posted by Dylan Gramlich
did u use just one of the joysticks to control this or some other combination? I should think about building something like that...hmm...
The left joystick controlled the laternal movement - up on the joystick moved the robot forward, left on the joystick moved the robot to the left, and so on. The right joystick was used to control spin. Move the joystick to the right and the robot would spin to the right, etc. Any combination of the two joysticks, such as moving diagonally while applying a spin would mix the values, so it really would spin while driving diagonally.
__________________
Art Dutra IV
Robotics Engineer, VEX Robotics, Inc., a subsidiary of Innovation First International (IFI)
Robowranglers Team 148 | GUS Robotics Team 228 (Alumni) | Rho Beta Epsilon (Alumni) | @arthurdutra

世上无难事,只怕有心人.
 


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
Direct Drive Four Motor System Collin Fultz Technical Discussion 42 02-11-2006 12:03
Holonomic Drive Question Jeff Waegelin Technical Discussion 12 20-11-2005 21:23
vex programming arcade drive setting Michael Leicht FIRST Tech Challenge 3 17-10-2005 21:26
pic: Team 870 Front Drive Train CD47-Bot Robot Showcase 4 27-02-2003 15:23
pic: Team 870 Rear Drive Train CD47-Bot Robot Showcase 2 27-02-2003 00:22


All times are GMT -5. The time now is 20:37.

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