Go to Post SELECT YOUR STRATEGY BEFORE YOUR ROBOT DESIGN. - Kims Robot [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
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 14-09-2014, 12:15
orangemoore orangemoore is offline
Registered User
AKA: Roger Moore
FRC #3135 (Robotic Colonels)
Team Role: College Student
 
Join Date: Dec 2012
Rookie Year: 2013
Location: Chicago
Posts: 2,309
orangemoore has a reputation beyond reputeorangemoore has a reputation beyond reputeorangemoore has a reputation beyond reputeorangemoore has a reputation beyond reputeorangemoore has a reputation beyond reputeorangemoore has a reputation beyond reputeorangemoore has a reputation beyond reputeorangemoore has a reputation beyond reputeorangemoore has a reputation beyond reputeorangemoore has a reputation beyond reputeorangemoore has a reputation beyond repute
Re: ftc mecanum code

Here are the screen shots of our code.
There are 3 pictures.

The way it works by adding and subtracting the values of the joysticks depending of the wheel. The middle attempts to normalize the value of the joysticks because if you don't it will end up driving really fast all the time.

**I have not included our code from last year directly because we had a really weird problem with our code that we couldn't figure out. When ever the joystick value got higher than aprox. 100 the motor outputs were reversed. I rewrote this code several times and could never get it to work.
Attached Thumbnails
Click image for larger version

Name:	TeleOp.jpg
Views:	62
Size:	184.8 KB
ID:	17310  Click image for larger version

Name:	NormTrue.png
Views:	40
Size:	131.5 KB
ID:	17311  Click image for larger version

Name:	NormFalse.png
Views:	32
Size:	134.6 KB
ID:	17312  
__________________
Stronghold


Student 2013-2016
3135 -- Robotic Colonels
3507 -- Robotheosis (FTC)
Reply With Quote
  #2   Spotlight this post!  
Unread 14-09-2014, 12:53
5383robotsrule's Avatar
5383robotsrule 5383robotsrule is offline
Registered User
FTC #5384 (code red robotics family of teams)
Team Role: Driver
 
Join Date: Dec 2012
Rookie Year: 2005
Location: michigan
Posts: 19
5383robotsrule is an unknown quantity at this point
Talking Re: ftc mecanum code

thanks so much for the screenshots these will come in handy for programming our robot. i really appreciate it. now my team will be able to do mechanum. we have been debating on whether or not to use mechanum it all depended on if we had code or not.i could talk to one of our coders to fix your code problem.
__________________
there are no mistakes only lessons
nothing is impossible some things are harder than others :yikes
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 03:21.

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