View unanswered posts | View active topics It is currently Mon Dec 22, 2014 9:35 pm






Reply to topic  [ 1 post ] 
VEX Omni wheels 
Author Message
Rookie

Joined: Thu Dec 01, 2011 12:07 am
Posts: 45
Post VEX Omni wheels
I worked on a VEX Omni wheel project last year. There was a key software function written to allow motion based on a compass type heading. The picture shows how the wheels are installed on the chassis. The video shows how sensors were used to track the table edge at high speed.
Code:
void robotmove(int heading)         //Function to move a specific direction
{  //Heading of 0 degrees is foreward, 90 is right, 180 is reverse, 270 is left
  lfspeed = speed * sinDegrees(heading+225);
  rfspeed = speed * sinDegrees(heading+135);
  lrspeed = speed * sinDegrees(heading+315);
  rrspeed = speed * sinDegrees(heading+45);
}


Attachments:
File comment: VEX Omni chassis
image.jpeg
image.jpeg [ 515.3 KiB | Viewed 1766 times ]
File comment: VEX Omni wheel demo

[ Play Quicktime file ] IMG_0201.MOV [ 679.26 KiB | Viewed 1766 times ]
Wed Aug 28, 2013 10:08 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.