Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   C/C++ (http://www.chiefdelphi.com/forums/forumdisplay.php?f=183)
-   -   Mecanum wheels code for c++ (http://www.chiefdelphi.com/forums/showthread.php?t=111868)

MoMo 23-01-2013 13:52

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.

Andrew Schreiber 23-01-2013 14:19

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.

MoMo 23-01-2013 14:32

Re: Mecanum wheels code for c++
 
How do we get or see this WPIlib?

MoMo 23-01-2013 14:50

Re: Mecanum wheels code for c++
 
Dose anyone have a simple ex.?

Andrew Schreiber 23-01-2013 14:57

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.


All times are GMT -5. The time now is 18:23.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi