![]() |
Re: Code running slow
Quote:
|
Re: Code running slow
It might be helpful if you posted your project.
|
Re: Code running slow
1 Attachment(s)
I have absolutely not idea what's slowing it down. The good news is that the delay is now only about 2 seconds (no idea why) but that's still too long. The entire project is attached.
|
Re: Code running slow
The starting of a command in teleopInit is not conventional. I would suggest removing that as well as making another subsystem that implements all your drive motors. This command would be the one that has the default command of normDrive as well as being the subsystem normDrive requires. Also, after doing the above, make sure to remove all the require commands from your motor subsystems.
What I believe is happening is your starting 5 normDrive commands in your code, which are all trying to control the same thing at the same time, which could possibly be your delay issue. |
| All times are GMT -5. The time now is 11:49. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi