Go to Post Hey, I'm not my dad, I dont know anything! - Lil' Lavery [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
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 23-01-2013, 13:52
MoMo MoMo is offline
Registered User
FRC #1721
 
Join Date: Jan 2013
Location: Concord, NH
Posts: 18
MoMo will become famous soon enoughMoMo will become famous soon enough
Mecanum wheels code for c++

Hello, we are having a problem with finding/writing a program that will work with mecanum wheels. We are using a Logitech extreme 3D pro. We need help with writing a c++ program that will work; This is our 1st year writing in c++ and we are not the best at it. Any help would be amazing, thank you.
Reply With Quote
  #2   Spotlight this post!  
Unread 23-01-2013, 14:19
Andrew Schreiber Andrew Schreiber is offline
Joining the 900 Meme Team
FRC #0079
 
Join Date: Jan 2005
Rookie Year: 2000
Location: Misplaced Michigander
Posts: 4,060
Andrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond repute
Re: Mecanum wheels code for c++

Look into RobotDrive::MecanumDrive_Cartesian or RobotDrive::MecanumDrive_Polar.

These can be found in RobotDrive.h in the WPILib. There may be documentation too but I don't have that handy.
__________________




.
Reply With Quote
  #3   Spotlight this post!  
Unread 23-01-2013, 14:32
MoMo MoMo is offline
Registered User
FRC #1721
 
Join Date: Jan 2013
Location: Concord, NH
Posts: 18
MoMo will become famous soon enoughMoMo will become famous soon enough
Re: Mecanum wheels code for c++

How do we get or see this WPIlib?
Reply With Quote
  #4   Spotlight this post!  
Unread 23-01-2013, 14:50
MoMo MoMo is offline
Registered User
FRC #1721
 
Join Date: Jan 2013
Location: Concord, NH
Posts: 18
MoMo will become famous soon enoughMoMo will become famous soon enough
Re: Mecanum wheels code for c++

Dose anyone have a simple ex.?
Reply With Quote
  #5   Spotlight this post!  
Unread 23-01-2013, 14:57
Andrew Schreiber Andrew Schreiber is offline
Joining the 900 Meme Team
FRC #0079
 
Join Date: Jan 2005
Rookie Year: 2000
Location: Misplaced Michigander
Posts: 4,060
Andrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond repute
Re: Mecanum wheels code for c++

In project explorer (pic)

You should see Includes, expand that and you should see a list of libraries (in my picture it's already expanded).

Expanding the one that ends in WPILib will show you all the header files in WPILib. I then navigated to RobotDrive.h and searched for Mecanum.

You SHOULD be including WPILib if you used one of the default templates to get started.
__________________




.
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 18:23.

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