![]() |
Re: Button programin C++
Oops i put in myRobot.Drive(0.5,1.0); for your half speed...that would make you turn sharply! you need myRobot.Drive(0.5,0.0);
|
Re: Button programin C++
For the button, you could just use this:
Code:
if (leftStick.GetRawButton(1) == true) {X = 1 Y = 2 Z = 3 for controllers with 2 joysticks (like xbox or 360), rotX = 4 rotY = 5 |
Re: Button programin C++
Quote:
|
| All times are GMT -5. The time now is 14:27. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi