![]() |
Striving to learn more with Programming!
Hello all:
Entering my fourth year on a Robotics Team, and being my third year programming, I find myself a little upset with how much I truly know about programming with LabVIEW. I see teams at competitions where their code is crisp, clean, and is 99% autonomous. Through the use of cameras and sensors they can target from anywhere, and in autonomous they shoot the frisbees then back up about 4 ft to prepare to go to the loading areas. What I want to do is learn how perform some of these functions, not just your standard Drive, shooter, and basic Autonomous codings. Think of it as a form of "This is your task, this is what you'll do and how it'll function" almost like a classroom being taught how to perform tasks through teaching, trial, and error. This thread is, I'm hoping, where users and programmers can come and try to learn something new. In example: someone could post saying to make your camera work you'll need a Begin, Teleop, and Finish vi with code to call the camera. See if you can get the camera to function! Then someone who is rather new, unlike myself, would try to challenge themselves and see if they can truly figure out how to work the camera through this website, the tutorials on LabVIEW and other means of finding out. I welcome any and all challenges/tips/advice/misc. information on this thread, as well as pictures of your code, wiring for specific functions, and anything else! |
Re: Striving to learn more with Programming!
I'm not sure I understand how you expect this to work, but if you post questions or challenges that you are having difficulties with, myself and many others will be happy to help.
Greg McKaskle |
Re: Striving to learn more with Programming!
Quote:
With that, they already know exactly what they want to do in the first week or so. 1986, the powerhouse from missouri, "only" had a floor pick up for the 7 disk autonomous mode. I put only in quotes because they did use it during tele-op, but the 7 disk auton gave them a HUGE advantage right from the start of the match, and the other team had to start behind, which can be very daunting starting a match 30 points behind in the finals of a regional. The issue you have is no lack of skill, as you have said. It is lack of strategy. It's what separates the good and the great teams. It is very hard to pick up these skills as a team. My team, 1706, has been a team for I believe 8 years now and don't even think of going for extra disks in auton. We added moving backwards after we shot our 3 disks to get us closer to the feeder station to begin our fcs tactic. When we were blocked, we really couldn't do anything. We were tall and slow. 2056 was a fcs and when they were blocked, they'd just cycle. and if a robot didn't follow them to the feeder station, they'd continue being a fcs. This year 2056 and 1114 were unstoppable, winning 3 regionals together, I think I remember hearing that they work together, but I don't know if that has any merit (but they do at least sign up for the same competitions, so...) It isn't difficult to program making the robot move back 4 feet after auton, or programming your robot to move forward, pick up two disks, repeat, move back and then shoot. Just takes timing of the motors, or vision (which an entirely different aspect of programming). |
Re: Striving to learn more with Programming!
Quote:
Quote:
If/when you've gone through this, check back and I'm sure we can help you brainstorm some more ideas for projects. If you want something that's more directly usable in the future, try coding a waypoint autonomous framework. It should work something like as follows: Accept a list of (x, y, angle) coordinates, where (0, 0, 0) is the center of the field, facing away from your team's driver station. The first coordinate represents the starting position of the robot. The robot should then calculate the necessary movement to reach the next waypoint's coordinates, and drive their using gyro and encoder feedback. Then, when you get the game, you can quickly try out autonomous routines by simply inputting lists of coordinates. Wildstang (111) had it working in 2003 (video is reposted on YouTube with 111's permission). Quote:
|
Re: Striving to learn more with Programming!
Quote:
|
Re: Striving to learn more with Programming!
Quote:
|
Re: Striving to learn more with Programming!
If you are just interested in learning more about how to use LabVIEW to program your robot, including image processing, you could try this thread:
http://www.chiefdelphi.com/forums/sh...d.php?t=120756 |
Re: Striving to learn more with Programming!
Quote:
Question1: In the video, is the positive X axis pointing to the left or to the right? |
Re: Striving to learn more with Programming!
Quote:
I think I see where you're going with this though... in that the diagram showing angle theta as an acute angle doesn't match the angle that would be calculated from delta-x and delta-y in the world coordinate system. So to answer your original question, I think at this point it's probably just worth noting that the video is meant to give an intuitive sense of how things work and the general types of formulae that will be needed instead of being mathematically rigorous. My request for one of your odometry posts was meant to ask whether you already had a post somewhere that gave the correct mathematics, as it seems like something you might have covered before. |
Re: Striving to learn more with Programming!
Quote:
Quote:
|
| All times are GMT -5. The time now is 09:46. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi