![]() |
Re: roboRIO Command Based Problems
Code:
48void DriveBase::AutoDriveTurn(float speed, float angle){The better way to do this that won't cause you problems is to use a command. Code:
32 class AutoDriveTurnCommand() { |
Re: roboRIO Command Based Problems
Quote:
|
Re: roboRIO Command Based Problems
I know this is an old thread, and I'm replying to myself, but yesterday we figured out the problem. In the Robot.cpp we were calling auto_command->End(); in the TeleOpInit Phase, but we had not given a specific command to auto_command, so when TeleOp was enabled it couldn't end the command and just died... At least that's how I believe we fixed it. Commenting out the auto_command->End() got rid of this problem, so we believe that's what it was.
Hope this helps! Isaac |
| All times are GMT -5. The time now is 14:05. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi