|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
|
#1
|
|||
|
|||
|
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.
|
|
#2
|
|||
|
|||
|
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.
|
|
#3
|
||||
|
||||
|
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.
|
|
#4
|
||||
|
||||
|
Re: C++ Command Based Robot Template
Quote:
|
|
#5
|
|||
|
|||
|
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. |
|
#6
|
||||
|
||||
|
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.
|
|
#7
|
||||
|
||||
|
Re: C++ Command Based Robot Template
This looked a lot like a question:
Quote:
|
|
#8
|
|||||
|
|||||
|
Re: C++ Command Based Robot Template
Quote:
Quote:
|
|
#9
|
|||
|
|||
|
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 :/
|
|
#10
|
||||
|
||||
|
Re: C++ Command Based Robot Template
Quote:
What does the code look like that you're trying to use? |
|
#11
|
|||||
|
|||||
|
Re: C++ Command Based Robot Template
That is not the case. RobotDrive will support any speed controllers you can instantiate.
|
|
#12
|
||||
|
||||
|
Re: C++ Command Based Robot Template
Have you verified this by creating a RobotDrive object within C++ and having it drive a robot? If so, this would be very helpful for us, as so far, in our experience, RobotDrive will not work with a CANTalon setup.
|
|
#13
|
|||||
|
|||||
|
Re: C++ Command Based Robot Template
Quote:
|
|
#14
|
||||
|
||||
|
Re: C++ Command Based Robot Template
Quote:
|
|
#15
|
|||||
|
|||||
|
Re: C++ Command Based Robot Template
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|