![]() |
Need help in c++ and windriver
Im new to programming in c++ and using the windriver enviornment. I was wondering if any one could post example drivecode (I read the simple robot code and it did not work when I downloaded it).
ThanK you in advance!!! |
Re: Need help in c++ and windriver
Are you using the SimpleTemplate example? What kind of drive are you planning on? Arcade drive? Tank drive? How many motors, and do you have your control system all wired up? And have you looked at the documentation?
http://www.chiefdelphi.com/forums/sh...ad.php?t=71498 |
Re: Need help in c++ and windriver
yes we used the simple template.... we are planning on using tank drive... we have 4 motors...yes the control system is wired up
Thankyou |
Re: Need help in c++ and windriver
Read up on the documentation for different objects. You need to create objects for the different things you are using, then you need to define where they are plugged in, then just implement them in the operator control. I would suggest reading up, look in this folder for documentation
C:\windriver\docs\extensions\FRC\ here is an example adapted from the simple robot example: Code:
class RobotDemo : public SimpleRobot |
| All times are GMT -5. The time now is 10:34 AM. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi