|
|
|
| My motors are hot for you! |
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Rookie Team needing some help
Good Morning,
We are a rookie team looking for some help on programming the robot. I know we may be starting on this process a bit late in the build process, but due to the dynamics of our team (6 students, 0 expertise in anything this build requires and our mentor is at the exact same place as the students) we took things one challenge at a time. Below is our accomplishments and current challenges when it comes to getting our little bot moving. Accomplishments: Wiring the robot Flashing the RIO Getting the radio up and running (way harder than expected. Ended up using an old desktop to get it to work) Challenges: Programming the robot. We have no idea if it's best to use C++, Java, or labview. We don't even know how to use them. We built a very simple robot that can deliver gears with no moving parts. That means we only need to code for the motors powering the wheels and for the autonomous part of the competition (we kept it simple for our first year). We may add a climber if we have time, but that is a big if. Limitations: Budget: minimal. Ability to get parts/supplies is extremely limited. We are one of the most remote schools outside of Alaska. Its a 4 hour roundtrip drive to the nearest walmart and 6 hours roundtrip to the nearest hardware store. Our mail delivery is very slow. So what would be the best next step for our team to get programming? We are good to go for any challenge that this may entail. Our team motto is "Determination". You could not even imagine what we have had to go through to get this far (seriously). Thanks in advance! |
|
#2
|
||||
|
||||
|
Re: Rookie Team needing some help
Great job knowing what you can tackle and tackling it. Delivering a gear in Auto as a rookie team is a great goal.
I personally would recommend using Java and RobotBuilder. if you have a basic drivetrain, this will take care of most of your needs with only basic configuration. Start here: https://wpilib.screenstepslive.com/s/4485/m/26402 Then you can focus your efforts on your autonomous, and a possible climber. Do you plan to (or want to) use any sensors to help your autonomous? Also, on a separate note, I would be happy to look at your robot for basic inspection issues if you want. See the thread here for the full description: https://www.chiefdelphi.com/forums/s...d.php?t=154257 |
|
#3
|
||||
|
||||
|
Re: Rookie Team needing some help
There's a lot of discussion here on what's the best programming language to use. The short answer is they're all good. If you have a programming mentor, or someone with prior experience with any of the three, then use that. Generally, more teams use Java, and is generally simpler to use than C++. LabView is second, but offers a completely different paradigm than text based languages, it may take longer to learn for people already familiar with text based programming. Really, experiment with all of them and whichever one gets what you need done first is the one you should use. There is no "This is the best language in all circumstances" for every team.
|
|
#4
|
|||
|
|||
|
Re: Rookie Team needing some help
As a rookie team with (I'm guessing) little on site assistance from veteran teams, it sounds great that you are getting a robot that can contribute to the game.
It would be good to post detailed pictures of your robot as there are several common 'rookie' mistakes that you may not know you have made.
Good luck ! |
|
#5
|
|||
|
|||
|
Re: Rookie Team needing some help
Quote:
We are not planning on using any sensors. As a rookie team we are trying to do one thing really well. We chose to do gears. Climbing would be a bonus and should not be too hard as it only requires an extra motor. That would be awesome! After we get everything assembled i will get in touch with you for some inspection tips. |
|
#6
|
||||
|
||||
|
Re: Rookie Team needing some help
some sensors may help you do gears better. the KoP Gyro plugs in with no wiring, and you can get the angle back very easily. this might help you drive more accurately in autonomous, and if it doesn't work, you can just not use it.
|
|
#7
|
||||
|
||||
|
Re: Rookie Team needing some help
I was in that position earlier last year.
Our team used Labview depending on one students our rookie year, he graduated and we were back to square one. I'm a data miner freak... so I got a table with data from every robot that connected to a field last year worldwide and found that top 2 were: 49% Java 35% Labview With that in mind, we choose Java, ended up not using the robotbuilder but use it for training... found tons of example online and we had a driveable robot early on... fun part will be the setup for sensors, but we are happy with our move... younger kids are also learning java with FTC.. so overall, it was a good move for us. |
|
#8
|
|||
|
|||
|
Re: Rookie Team needing some help
Quote:
|
|
#9
|
||||
|
||||
|
Re: Rookie Team needing some help
Quote:
How is your internet connection there? If you decide to do Java, I (or I'm sure several others) would help via skype or similar to walk you through questions in real time. |
|
#10
|
|||
|
|||
|
Re: Rookie Team needing some help
I see that your team is registered for the Utah regional. We are using Java this year, so if that's what you choose to use, I'm sure our programmers would be more than willing to provide assistance at the event if you need it.
|
|
#11
|
||||
|
||||
|
Re: Rookie Team needing some help
I would probably go with either of the text languages and Java is what we use, but like has been said before "pick what you know".
I would also suggest you check a few other things too: 1 - Know (write down) how your motors and motor controllers are connected. This is called the IO map and is required to help develop the software. a - Which PWM output from the RoboRio is the motor controllers connected? b - Which output on the PDP is the motors connected? c - are you using 1 or 2 motors per side and how are they connected to the PDP? d - Update your RobotMap.java (or its equivalent) to update the motor controller locations from above. 2 - Are you using the default Joysticks or borrowing someones gamepad? I would assume the Joystick. 3 - Use RobotBuilder or modify one of the Example projects (in eclipse you can go to: New->Other...->WPILib Robot Java Development->Example Robot Java Project (next) Then select a simple project like the "Getting Started" project is the simplest 4 - Try your first tests with the robot up on blocks. That way it doesn't run away from you when you test the code for the first time. These will be a start. Please keep up the posts since a number of people are here wanting to make sure you succeed. Enjoy! |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|