Go to Post The goal isn't to keep the "bad" kids out. The goal is to take the "bad" out of kids, thereby transforming OUR culture. - Michael Corsetto [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 18-01-2015, 17:17
katzekitteh katzekitteh is offline
Software Mage
AKA: Patrick Walls
FRC #0708 (Hatters Robotics)
Team Role: Alumni
 
Join Date: Aug 2014
Rookie Year: 2014
Location: Pennsylvania
Posts: 2
katzekitteh is an unknown quantity at this point
Re: RobotDrive.drive() usage

Quote:
Originally Posted by Team3266Spencer View Post
curve just represents how to distribute power between the wheels to make the robot turn. It sounds like you might want to write your own code for controlling the robot, maybe using PID loops, gyros, and encoders. You might want to just control each motor individually, or if you are using a skid drive you can just control the left and right side of the robot individually using RobotDrive.
Thank you for the helpful response, I greatly appreciate it!

We are using tank drive/skid steer. I should have clarified that in the initial post, sorry about that. Is the distribution by percentage? I believe I can implement the drive method if that is the case. I think it is probably a better idea to do as you have said and write the methods from scratch to get proper control, so if I can implement the drive command I will probably use it for proof of concept code.
Reply With Quote
  #2   Spotlight this post!  
Unread 18-01-2015, 17:30
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 989
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: RobotDrive.drive() usage

Quote:
Originally Posted by katzekitteh View Post
Is the distribution by percentage?
I would recommend right clicking on the method in your code and selecting Open Declaration. That will show you the source which will tell you exactly what it does.
Reply With Quote
Reply


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


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

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