|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: C++ Command Based Robot Template
The original post wasn't a question, it was more stating that I have found the template to be wrong and thus have created a template that works. I don't see how that could really be considered desperate. If there are other teams out there that would like to use the template and it helps, then great, I helped someone. What I am not okay with is people saying that by not using RobotBuilder, which doesn't support Talon SRXs fully by the way so not usable for us, I am throwing my team under the bus.
|
|
#2
|
||||
|
||||
|
Re: C++ Command Based Robot Template
I believe you may be using an old template and that's what the problem is. Like you said the examples don't have CommandBase and thats because it was removed this year. And the Robot.h I believe was called RobotTemplate last year. If you are using Eclipse with this years plugins I don't know how you would be having these problems but that seems like what it is.
|
|
#3
|
||||
|
||||
|
Re: C++ Command Based Robot Template
Quote:
|
|
#4
|
||||
|
||||
|
Re: C++ Command Based Robot Template
Yes, but I am not programming in C++.
|
|
#5
|
|||
|
|||
|
Re: C++ Command Based Robot Template
I mean, we use robot builder and I don't see anything wrong with it, it generates all the tedious stuff which would be hard to keep track of by hand. The wiring table is indispensible and how easy it is to use means that it allows you more time to make the code more complex. Teaching freshmen with it is insanely easy(especially when you have the pretty pictures enabled) because it allows them to visualize what's going on more easily, which IMHO is the most important part of FRC programming, or programming in general for that matter.
|
|
#6
|
|||
|
|||
|
Re: C++ Command Based Robot Template
FWIW, for a test I ran earlier this week, I created a new command based C++ project from the template and didn't run into any of the issues you describe.
|
|
#7
|
||||
|
||||
|
Re: C++ Command Based Robot Template
Does the template have CommandBase.ccpp/.h? That's what throws off the whole robot. You can still get it to work, just takes a lot of editing.
|
|
#8
|
||||
|
||||
|
Re: C++ Command Based Robot Template
Quote:
|
|
#9
|
|||
|
|||
|
Re: C++ Command Based Robot Template
Yes, the new project I created has CommandBase.cpp and CommandBase.h.
It's hard for me at this point to know what exactly your question is. |
|
#10
|
||||
|
||||
|
Re: C++ Command Based Robot Template
There is no question. Look at the original post and you'll see I did not ask for help with anything. I was simply stating a problem I ran into and then saying how I fixed it.
|
|
#11
|
||||
|
||||
|
Re: C++ Command Based Robot Template
This looked a lot like a question:
Quote:
|
|
#12
|
|||||
|
|||||
|
Re: C++ Command Based Robot Template
Quote:
Quote:
|
|
#13
|
|||
|
|||
|
Re: C++ Command Based Robot Template
Sorry to revive this thread, but is it just me, or is the CANTalon not LiveWindow Sendable? If so, what do you guys do for test mode? Because the livewindow is awesome for testing stuff but it would totally suck if it doesn't support CANTalons :/
|
|
#14
|
||||
|
||||
|
Re: C++ Command Based Robot Template
Quote:
What does the code look like that you're trying to use? |
|
#15
|
|||||
|
|||||
|
Re: C++ Command Based Robot Template
That is not the case. RobotDrive will support any speed controllers you can instantiate.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|