|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools |
Rating:
|
Display Modes |
|
#1
|
||||
|
||||
|
Command Base Programming Tutorials/Help?
Hello Chief Delphi,
Our team's programming department needs more education in command base robot programming. We all understand programming logic, as we program other types of software, but we are having some trouble understanding command base Java. If anyone has any tutorials or sample code that we can use, we would greatly appreciate it. We especially need help with programming a drivetrain and pneumatics programming. Thank you. |
|
#2
|
|||||
|
|||||
|
Re: Command Base Programming Tutorials/Help?
Let's see...
Getting Started With Java for FRC WPILib User Guide Programming Guide (robot drive can be found on page 29 and pneumatics on page 34) And here are two examples of team's java code that I found floating around CD Media: one and two. |
|
#3
|
||||
|
||||
|
Re: Command Base Programming Tutorials/Help?
Oh my goodness! Opportunity!
If you are interested in learning command-based, I'd look into our base code that we have written. It follows the basic uses that the WPI stuff has, but gives you a way more in-depth look at how it works, lets you change it, and has a ton more features. I'm currently working on video tutorials that are found here. All information is available there. I'd love if you'd check it out! It's fine if you don't choose to use it, but I'd love some feedback anyways. Thanks, Joel |
|
#4
|
||||
|
||||
|
Re: Command Base Programming Tutorials/Help?
Thank you guys for the information.
I liked your videos and thought that they were very helpful, joelg236. I will definitely be looking out for more videos from you. I would just add some more emphasis on what each package does and an example of programming a robot. For example, make a project and show how to add subsystems and commands, while showing the programming of a simple drivetrain and maybe some pneumatic programming. That way, new teams and/or programmers can know how to program solenoids for gear-shifting, or something like that? I put our 2012 competition code on our team's Github page. So, if you guys want to check it out, here is the link: http://www.github.com/team4element/F...undRumble-2012 Do you guys think that it is too messy? How could we better improve our code, and its organization, in the future? If anyone has their competition code online, could you please posts links? Thank you CD! ![]() Last edited by shawn.schwartz : 07-21-2012 at 09:24 PM. |
|
#5
|
||||
|
||||
|
Re: Command Base Programming Tutorials/Help?
Thanks for the input! I am currently working on some videos about modules, about driving, threading, logging, game periods, and most importantly, how to use it for your code.
|
|
#6
|
||||
|
||||
|
Re: Command Base Programming Tutorials/Help?
I also see the need for some additional tutorials in this area.
I have been trying to figure out how to get the command based java approach to work but I don't fully comprehend the details. My goal is to have a presentation that will walk any student thru the basics. I am currently stuck on how the Commands are called by the autonomousInit, autonomousPeriodic, TeleopInit and TeleopPeriodic. The cookbook is weak in this area. I have attached my current presentation and Welcome feedback. Dave Frederick Team 1895, Mentor |
|
#7
|
|||||
|
|||||
|
Re: Command Base Programming Tutorials/Help?
That's an interesting presentation. I don't have specific notes right now but if I do I'll post them.
Here is a link to a presentation I gave this summer during our summer workshop series. http://goo.gl/EjLHM (It looks better if you download it, the online viewer messes with the fonts). Also here is the demo program I had students work with the next day. https://github.com/Spectrum3847/SpectrumWorkshop |
|
#8
|
||||
|
||||
|
Re: Command Base Programming Tutorials/Help?
Update to the draft. About 40% complete.
Lots more to learn. Dave Frederick, Mentor Team 1895, Manassas, VA |
|
#9
|
||||
|
||||
|
Re: Command Base Programming Tutorials/Help?
Quote:
Last edited by Ginto8 : 08-16-2012 at 06:28 PM. |
|
#10
|
||||
|
||||
|
Re: Command Base Programming Tutorials/Help?
Thank you for the feedback. I will review your comments in detail this weekend and update the presentation accordingly.
I posted an updated version a couple of days ago on a similar thread. Http://www.chiefdelphi.com/forums/sh...3&postcount=12 I'm fairly new to Object Oriented programming and struggle with JAVA. It took me about two weeks to get the first example to work. I have a much better understanding now but miles to go. While looking for help to learn this command based programming, I saw a lot of questions and few answers. I hoped to fill some of the void. Thank you again, Dave Frederick |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|