|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: Programmers: I Have A Challenge For You
I am bumping this one up cause I honestly did not want to start another thread and as the kickoff gets closer, I thought people should see this.
I found a solution to the image processing problem. http://microcontrollershop.com/produ...ucts_id=352 9 No battery: Legal 4 USB ports = Good Runs Linux (The Arm 9 Linux uses 32 mb of ram, and this has 32 mb ram... So IDK...) I realized I can not use the PS3 or a PC due to lack of voltage generated form the batteries... Don't they need a minimum of 110v? and the battery is 12 v. It says it supports up to 4 webcams, but I do not know how well it can perform while processing images. I can either just process the data and send the raw data obtained from the camera to the cRio and process the logic there or process the logic on the board. Thats a minor detail that can be experimented with. |
|
#2
|
||||
|
||||
|
Re: Programmers: I Have A Challenge For You
Quote:
Have you written any successful programming logic since your last post? |
|
#3
|
|||
|
|||
|
Re: Programmers: I Have A Challenge For You
Quote:
![]() |
|
#4
|
||||
|
||||
|
Re: Programmers: I Have A Challenge For You
When an artist works on something for too long, nothing about it seems to be good enough. It isn't until he leaves it alone for a while before returning that he can see what truly needs to be worked on.
--Me |
|
#5
|
|||
|
|||
|
Re: Programmers: I Have A Challenge For You
Agreed with the above. I backed off of it, and instead have been studying the bigger picture of how to build a decent robot, as well as some of the sensors available for input. There's no reason to try all autonomous anyways if your robot just flat-out sucks.
|
|
#6
|
|||
|
|||
|
Re: Programmers: I Have A Challenge For You
Well I plan to get a hold of that GadgetPC sometime soon and start working on the cameras and stuff. I really wanted to try parallel processing with multiple cores, but I guess I can hold off for a while.
|
|
#7
|
||||
|
||||
|
Re: Programmers: I Have A Challenge For You
Quote:
Code:
is it a wall?
yes
{avoid}
no
{is it a robot?
yes
{do something, maybe add an extra "is it an opposing robot?" test}
no
{is it a scoring object?
yes
{pick it up}
no
{is it a goal?
yes
{score, if scoring objects are in possession}
no
{is it part of the field that can be driven over?
yes
{ignore}
no
{avoid}
}}}
Motion would be controlled by another part of the system that uses all of this information gathered by the three "lobes" and maps out the best route to take. ----------------------------------------------------------------------------------- **note** this isn't exactly how the human brain works, I'm just simplifying it to fit the application better and to avoid confusion of some people, myself included. ___________________________________________ I'm sorry if this is hard to follow or makes no sense, I had a hard time wording it, or even figuring out what I was trying to say, maybe I should take a break and come back to it later Last edited by PAR_WIG1350 : 29-11-2010 at 18:55. |
|
#8
|
|||
|
|||
|
Re: Programmers: I Have A Challenge For You
Quote:
I been looking at the Machine Learning lectures by Andrew Ng @Stanford, I think that will give me a better insight on this. I totally understand what you are saying, my mind thinks the same. What I was hoping I could do was use the PS3, but that does not seem likely. There are 8 SPEs, only 7 are available, but thats fine. I was thinking each SPE was to be responsible for one part. All the SPEs can access the images without writing to it, so no problem there since all the SPEs would be only reading. Like 1 SPE can do the color detection, another do the distances of the objects, another do object recognition, and ect. They all relay that info to the PPE which will then compile the info and then do the logic. Then the PS3, through the ethernet, sends the instructions to the cRio. Now that seems like a stretch, but honestly I like to aim high. I am 1/4 through the MIT PS3 lectures, I have learned so much just from that LOL. If the PS3 is legal and the DC to AC inverters are legal, I can go ahead with this. Only problem, its my only PS3, do I want to potentially risk it getting crushed or something? I have 2 options too, run linux or go the homebrew way? I got a 60GB Japanese launch PS3, I still run linux on it, I have not updated it. The linux libraries for the PS3 are well documented and very thorough (IBM wrote them), but I would assume the homebrew route would have incomplete and shady libraries since its in its infancy. The down side of the linux on PS3 is the boot time, takes at least 45 seconds to boot up. The game OS only takes 2 seconds. |
|
#9
|
|||||
|
|||||
|
Re: Programmers: I Have A Challenge For You
That's about as fast as the cRio anyway (seriously, it takes forever to boot)
|
|
#10
|
|||
|
|||
|
Re: Programmers: I Have A Challenge For You
Which confuses me since the CRIO I have at work boots up and runs my code nearly instantly.
|
|
#11
|
|||
|
|||
|
Re: Programmers: I Have A Challenge For You
I think he meant the time it takes to connect to the classmate and have full control of it. Usually our robot has a 10-15 second delay when the green light comes up on screen and when it actually has connection
|
|
#12
|
|||
|
|||
|
Re: Programmers: I Have A Challenge For You
Which is not at all what he said. In the future we should try to be more precise on what we mean especially when complaining about things.
|
|
#13
|
|||
|
Re: Programmers: I Have A Challenge For You
Quote:
(or, a partial implementation seeing as the field doesn't change from one match to the next (hopefully), and a full map could be made once) Quote:
And if this was constantly updated with current sensor information, it could try to find a route around other robots too. Quote:
This video shows an IRobot Create with a Kinect camera performing SLAM: http://www.youtube.com/watch?v=dRPEns8MS2o |
|
#14
|
|||
|
|||
|
Re: Programmers: I Have A Challenge For You
For what it's worth, you may want to check out CMU's intro to robotics course
http://www.cs.cmu.edu/afs/cs.cmu.edu...1/www/current/ Especially check out Lab3 which has the some useful dead reckoning code (Yes, we are using their code in our robots). |
|
#15
|
|||
|
|||
|
Re: Programmers: I Have A Challenge For You
Quote:
People will disagree with my mentality especially engineers, but I feel that is what I need as a student and as a person. My counselor told me that no one will just wait for me to help me, I have to actively seek help if I need it. I always think that if you reinvent the wheel, chances of you doing it better is greater than just reusing it. If you just reuse it, you will never be able to improve it. Also if I fail, I learn, which in my book is success. "I have not failed. I've just found 10,000 ways that won't work." -Thomas Edison |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| For those of you that have seen a field | goldenglove002 | General Forum | 1 | 13-02-2010 21:56 |
| SE MI Teams - I have pool noodles for you! | kmcclary | General Forum | 1 | 05-02-2010 20:29 |
| Any Programmers Have The Same Feeling As Me? | davidthefat | Programming | 23 | 16-01-2010 22:07 |
| What have you given up for FIRST? | Michael Leicht | General Forum | 138 | 11-01-2008 10:47 |