|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools |
Rating:
|
Display Modes |
|
#16
|
|||
|
|||
|
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. |
|
#17
|
||||
|
||||
|
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.
|
|
#18
|
||||
|
||||
|
Re: C++ Command Based Robot Template
This looked a lot like a question:
Quote:
|
|
#19
|
|||||
|
|||||
|
Re: C++ Command Based Robot Template
Quote:
Quote:
|
|
#20
|
|||
|
|||
|
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 :/
|
|
#21
|
||||
|
||||
|
Re: C++ Command Based Robot Template
Quote:
What does the code look like that you're trying to use? |
|
#22
|
|||||
|
|||||
|
Re: C++ Command Based Robot Template
That is not the case. RobotDrive will support any speed controllers you can instantiate.
|
|
#23
|
||||
|
||||
|
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.
|
|
#24
|
|||||
|
|||||
|
Re: C++ Command Based Robot Template
Quote:
|
|
#25
|
||||
|
||||
|
Re: C++ Command Based Robot Template
Quote:
|
|
#26
|
|||||
|
|||||
|
Re: C++ Command Based Robot Template
Quote:
|
|
#27
|
||||
|
||||
|
Re: C++ Command Based Robot Template
Quote:
|
|
#28
|
||||
|
||||
|
Re: C++ Command Based Robot Template
Quote:
|
|
#29
|
||||
|
||||
|
Re: C++ Command Based Robot Template
Quote:
Quote:
At any rate if you're really that unhappy with robotbuilder, then I would recommend using a clean IterativeRobot project. If you don't like RobotDrive, implement your own drive train class. I'm not sure what problem you are seeing with RobotDrive. The only problem I've heard of and confirmed is that RobotDrive tends to trip MotorSafety occasionally, which is easy to workaround by calling RobotDrive:SetSafetyEnabled(false). Sparkyshires brought up a good question. I'm not sure if the LiveWindow Sendable interface is implemented (I don't have the code in front of me). If it's not I'm sure you could put together an easy wrapper to hook it up, or someone from the community could recommend a way to go about it. |
|
#30
|
||||
|
||||
|
Re: C++ Command Based Robot Template
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|