Figured you guys might be interested: Submarine Puppy

Promote Puppy !
Message
Author
Andy875
Posts: 5
Joined: Tue 02 Aug 2005, 01:02

Figured you guys might be interested: Submarine Puppy

#1 Post by Andy875 »

The Southern Polytechnic State University Autonomous Underwater Vehicle Team is using Puppy Linux to drive the hardware for our entry in the AUVSI competition this year in San Diego.

Our documentation is located at:

http://students.spsu.edu/auvrobot

The competition website is:

http://www.auvsi.org/competitions/water.cfm

I don't know if another member of the team might already be on the board or not. If so, forgive the duplication of information. If not, I figured you guys might like to see this. We selected Puppy for a couple of reasons. Primarily we were looking for a minimalist install of Linux that we could use in a very limited amount of space. Alternatively (but not any less importantly) the puppy was just too damn cute not to use.

Puppy has been very stable, despite our best efforts to break it. The distro is running on a PC104 stack located inside of a submarine tube. There has been extensive hardware work conducted while the stack was in operation and many abrupt shut downs. Despite our best efforts we only managed to corrupt the OS once. Reinstall took less than an hour. Any other OS (and our previous Linux experiments) corrupted on a regular and routine basis.

We are leaving for competition tomorrow morning. We'll let you know how it goes. We just wanted to say thanks for providing an excellent OS distro that has served as an excellent basis to work around.

User avatar
Bancobusto
Posts: 168
Joined: Mon 13 Jun 2005, 20:52
Location: Vancouver Island

#2 Post by Bancobusto »

I'm sure I speak for everyone when I say good luck!

That's just awesome :wink:

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#3 Post by Lobster »

This is now on our news section

Puppy Submarine
http://puppylinux.org/wikka/August2005News

8)
Last edited by Lobster on Wed 08 Nov 2006, 00:41, edited 1 time in total.
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#4 Post by Flash »

Hey Lobster, would that look better as 'Submarine Puppy'? Just a thought. :)

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#5 Post by Lobster »

Could be . ..
The original news item when we first heard about this was 'Puppy goes snorkling' if I remember rightly.
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
babbs
Posts: 397
Joined: Tue 10 May 2005, 06:35
Location: Tijuana, BCN, Mexico

#6 Post by babbs »

I'm looking forward to seeing how Puppy's swim meet goes. I have high expectations, but thats par for everyone else on here... Good luck and let us know when you get back!

iuvius

What's in a name?

#7 Post by iuvius »

Okay, if this thing is to be sub-aquatic, run by Puppy, is it too late to christen it "Labrador"? *shrug* Just a thought.

Guest

We're back!

#8 Post by Guest »

Sorry for the extreme delay. It's been a long, long week for us.

The competition for us was a rousing success. After a rough start to the week we put the train back on the tracks and finished out strong (even if we were limping) and scored exactly in the middle of the pack. Considering this was our second year in the competition and the first year with this sub design we were very pleased. Last year we finished 16 out of 18. This year we were 10 out of 19. The final scoring results are located at:
http://www.auvsi.org/competitions/2005 ... ndings.cfm

The week started pretty rough. After tearing the whole submarine down for transport through airport security (and a brief stop at airport security while we explained we were not terrorists) we arrived in San Diego late on Tuesday. We unpacked and inspected the parts on Tuesday night and found everything pretty much ok.

Wednesday we had a meeting and assembled the sub. No problems. Late night.

Thrusday was the first official day of "Practice Runs". All teams are present at the competition site in their assigned area working on what needs to be worked on. Judges and representatives from industry are there watching. We have the main pool and additional smaller test pools available. You spend the day working on your code and tweaking. You explore the actual competition pool with your sub and fine tune your behavior to the actual obsticles as you will see them.

Of course for us this was the worst day. We lost our depth sensor in the first two hours. It was a homebrew creation using an air pressure sensor that depended on the outside water pressure to alter the air pressure inside of a air tight box through a small, small, small hole and a long length of tube. In testing in Marietta we were able to get solid, consistent easy operation in up to 10 feet of water. The 16 feet of water at the competition site ate the sensor. The pressure at that depth was too much and forced water inside of the box through the tube. Scratch the ability to read depth.

Next we lost the compass. The box it was housed in was an underwater camera box. During testing we had zero problems with leakage. We swore by those boxes. We still do. But after the depth sensor debacle - and before the next water test in a small testing pool - the lid to the box was put on backward. It is not obvious and the whole team missed it on inspection. It leaked. Scratch the compass.

The subs have to maintain .1% bouancy. In effect if you loose power to the sub it should slowly float to the top of the water. Our sub weighed right at 60 pounds and we used a combination of fun noodles (those long floats kids use in pools to beat the hell out of each other) and cut up boogie boards. Again, in 10 feet of water it worked perfectly. At 16 feet the fun noodles folded. The pressure at that depth crushed the noodles and the sub sat on the bottom of the pool.

Midway through Thrusday we had lost the ability to navigate and float.

A trip to Home Depot and Kroger fixed the ballast problem. We bought 12 bottles of water. We bought two cans of "Great Stuff" - a filling compound of some indeterminate use. We drank a lot of water. We sprayed the water bottles full of Great Stuff. Attached them all of the sub frame with zip ties. We tested again and the sub floated again.

At the end of Thursday we were down a bit. Despite the ballast comeback the loss of all navigation effectively sealed our fate. Late night planning and testing.

Friday was the second day of practice runs. All work at this point was focused on driving the submarine in as straight of a line as we could manage without any sort of navigation sensor information to correct variation. The competition course begins when the submarine passes through a "gate" in the water. The gate was about thirty feet from the dock and the submarine needs to navigate in a straight line, underwater, and pass through.

The rest of the week was spend in writing the right code to drive the up/down motors the right amount to maintain a controlled depth without a depth sensor and drive the left/right motors in a controlled straight line without a compass.

Friday was also Static Judging in which a group of judges speaks to each team, looks over the documentation and ranks the team in terms of everything except actual water operation. We were hoping for a high mark in this category. We thought our website documentation was very good - if not flashy - and our presentation went well. Or so we believed. At the end of the day we were ranked 16 out of 19 in static. It was a bad hit.

The latest night of all working on the blind run code and testing in the hotel pool.

Saturday was the first day of "qualifying runs". Each team gets two chances to run the course. Our first run was at 9:30 am. University of Florida ran directly before us (the eventual winners of the competition with an impressive, impressive entry). After fifteen grueling minutes of time we limped through the gate on our last attempt. We even got a countdown from the judge (5,4,3,2,1) as our baby headed for the gate. We cleared it at 1 second.

At the end of Saturday we were one of seven teams who managed to get through the date. The worm was turning, so to speak, and even though we were having problems other teams were having much worse problems. To have our basic sub intact (and watertight) and excellent basic motor operation combined with a guy who could fabricate java code on the fly put us in an excellent position. I described our situation as being the leper with all of his fingers to someone on Saturday night.

We got brave. The first objective in the obsticle course was to hit a "docking station". This station, located at the bottom of the 16 foot pool, is seen by the sub by displaying a group of bright red LEDs. In testing our docking station code (effectively color tracking camera control over motors) was excellent. We could follow a box of red LEDs around a pool and it was, by far, the function we were most happy with. If we could limp to the area in which the docking station was we were sure we could hit it. It was just a matter of getting there. From what we could tell it was located another thirty or so feet from the gate - at the bottom of the pool.

Nothing ventured, nothing gained. We had already cleared the gate (and had a run on the score board that assured an ok finish). Why bother to come if you aren't going to push the limits, right?

On Sunday we got our second chance. The sub cleared the gate (after a couple of efforts) much earlier in our fifteen minute time. Just after it cleared the gate though it radically changed course and attempted to run over the "random order" light. No - that isn't right. It attempted to obliterate the random order light. It was mad the random order light was in its pool and it wanted some random order light ass. The divers had to scramble to stop it before we look the random order light out.

The random order light was a signal for advanced teams. You could run the competition in an alternate order (changed daily) for serious, serious bonus points. In the first three days of practice runs this light was green. Guess what color it was on Sunday. Yup.

If we had managed to get the docking station we might have made it to the finals. Alas, we did not. Duke managed to get into the finals with nothing but getting through the gate and hitting the docking station. On the other hand Duke scored much higher than us on static judging so most likely not. Either way, no big deal. We were proud of our recovery and understood, much more clearly, what we have to do this year.

The finals were great. MIT, University of Florida, ETS (a Canadian school) and Duke went at it. The winning series involved clearing the gate and surfacing in the "surface area" - reaching by using Sonar. MIT, Florida and ETS did this and only this. Duke just cleared the gate in their final run. Florida took the competition because their sub weighed in at an impressive 28 or so pounds. The bonus points for being under 70 pounds pushed them way over the top. Check out their website. THAT is a submarine. Those guys did one hell of a job.

Puppy did excellent. In the two days when we were scrambling back from the depths of failure we had to classify everything in terms of what we had and what we didn't. Focus of your strength and compensate for your failure. The PC104 stack hardware, the Puppy OS, the java code and our engines were our pillars on which we managed to stage our comeback. From the first minute of radical redesign and on the fly engineering Puppy always landed in the "works" column.

I'm at heart a hardware guy and as such the endless bickering among the "software" guys always amazes me. I've never understood two intelligent people arguing about something as silly as two working OS's or pieces of code. If it works, it works. Leave it the hell alone and move on. Puppy impressed me - in a big way - because it was as solid as any of our hardware. As the new team captain (big shout out to our outgoing team captain Emmauel Clay) you can rest assured that Puppy will be making a return trip to San Diego next year. At this point it is proven technology under fire and I don't care how many new team members I get who want to turn their nose up at the "unknown" distro. They will learn it or get gone. Puppy has proven itself to me - they haven't.

Our deepest thanks to you guys for making and working on this distro. When the going got rough last week we were able to heavily lean on Puppy and the stability we saw last year in testing reaffirmed itself under heavy fire.

It worked. At this point - after the last week - that is the highest compliment I give anything and Puppy earned it in a big way.

Andy875
Posts: 5
Joined: Tue 02 Aug 2005, 01:02

#9 Post by Andy875 »

PC104 & Controller Stack, pre trip:
http://home.comcast.net/~alinnenkohl/AU ... 32_IMG.JPG

Emmanuel Clay, Dan Vanvolkinburg, Walmart Trip:
http://home.comcast.net/~alinnenkohl/AU ... 55_IMG.JPG

Dan Vanvolkinburg, Michael Dendy, Hotel View:
http://home.comcast.net/~alinnenkohl/AU ... 60_IMG.JPG

Pre-construction condition:
http://home.comcast.net/~alinnenkohl/AU ... 61_IMG.JPG

Rebuilding the stack:
http://home.comcast.net/~alinnenkohl/AU ... 62_IMG.JPG
http://home.comcast.net/~alinnenkohl/AU ... 66_IMG.JPG

All work, No play, Dull Jack:
http://home.comcast.net/~alinnenkohl/AU ... 70_IMG.JPG
http://home.comcast.net/~alinnenkohl/AU ... 72_IMG.JPG
http://home.comcast.net/~alinnenkohl/AU ... 73_IMG.JPG
http://home.comcast.net/~alinnenkohl/AU ... 74_IMG.JPG
http://home.comcast.net/~alinnenkohl/AU ... 75_IMG.JPG

Drunken late night work:
http://home.comcast.net/~alinnenkohl/AU ... 77_IMG.JPG

Hardware and Booth:
http://home.comcast.net/~alinnenkohl/AU ... 78_IMG.JPG
http://home.comcast.net/~alinnenkohl/AU ... 79_IMG.JPG
http://home.comcast.net/~alinnenkohl/AU ... 80_IMG.JPG

Competition Site:
http://home.comcast.net/~alinnenkohl/AU ... 81_IMG.JPG
http://home.comcast.net/~alinnenkohl/AU ... 82_IMG.JPG
http://home.comcast.net/~alinnenkohl/AU ... 83_IMG.JPG

General testing shots:
http://home.comcast.net/~alinnenkohl/AU ... 85_IMG.JPG
http://home.comcast.net/~alinnenkohl/AU ... 90_IMG.JPG
http://home.comcast.net/~alinnenkohl/AU ... 93_IMG.JPG

Ballast system replacement:
http://home.comcast.net/~alinnenkohl/AU ... 00_IMG.JPG


NOTE: All of my trip pictures are stored in this same location. All other pictures are between the range of 932 and 1000. If you want more, feel free to browse. Other team members took other pictures (some which might actually have me in them) which I will get up later.
Last edited by Andy875 on Wed 10 Aug 2005, 18:23, edited 1 time in total.

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

Re: We're back!

#10 Post by edoc »

Andy875 wrote: The competition for us was a rousing success. After a rough start to the week we put the train back on the tracks and finished out strong (even if we were limping) and scored exactly in the middle of the pack. Considering this was our second year in the competition and the first year with this sub design we were very pleased. Last year we finished 16 out of 18. This year we were 10 out of 19. The final scoring results are located at:
Even though I am from Florida (not UF specifically) I was cheering for y'all.

Congratulations!

doc

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#11 Post by Flash »

That's great, Andy875.

The large pictures you posted take up a lot of room on JohnM's server and also take a lot of time to download, especially for the many forum members who have to use dialup connections. So, please edit your pictures to the forum to reduce their resolution to something more reasonable, like 600 x 400 for instance.

Thanks.

P.S. You can edit your original post to change them.

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#12 Post by Flash »

edited
Last edited by Flash on Thu 11 Aug 2005, 01:45, edited 1 time in total.

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#13 Post by Flash »

Edited. My post was repeated 4 times so I edited out the last 3.
Last edited by Flash on Thu 11 Aug 2005, 01:46, edited 1 time in total.

GuestToo
Puppy Master
Posts: 4083
Joined: Wed 04 May 2005, 18:11

#14 Post by GuestToo »

i, for one, was very interested ... thanks for the clear and detailed summaries ... the pictures were great too

speaking of pictures, since no one else is responding to this, Flash, i think you are wrong

i often post pictures to this forum, and i use exactly the same method that Andy875 used

the pictures are NOT hosted on John's forum at all ... they are hosted on another server ... in my case, i usually use http://www.tinypic.com/ ... Andy875's pictures are hosted on his Comcast server ... the only space used on John's server is the url to the picture, which would have to be in the post whatever size the picture is or where it is hosted

furthermore, when i add a link to a picture to my post, the picture is NOT being downloaded and displayed every time you look at the forum page ... it IS downloaded and displayed every time, whether you have dialup or broadband, if the picture is hosted on John's server as an attachment

if you are interested in the picture, you can click it (i middle-mouse-button click to open the picture in a new tab) ... if you are not interested, there is nothing forcing you to use the bandwidth to look at it

most of my pictures are less than 80k anyway ... they may be mostly less then 40k ... the last screenshot i posted ... http://tinypic.com/aau5ad.jpg ... is about 67k, but that is because it's displaying a lot of text ... i did not rescale it, and had no intention of rescaling it, because i did not think there was any reason to, and i wanted the text to be clear and easy to see

anyway, Flash, I know you do good stuff that takes a lot of effort and time, but i think in this particular case you are mistaken

Andy875, the submarine pics were great

Guest

#15 Post by Guest »

You must have missed Andy's original post, GuestToo. It had many high-resolution pictures attached to the forum page. He edited it and put the URL links instead, immediately after I wrote my post. Perhaps he tried to admire his handiwork and realized his mistake. :)

Edit: This is Flash. Forgot to log in. :oops:

GuestToo
Puppy Master
Posts: 4083
Joined: Wed 04 May 2005, 18:11

#16 Post by GuestToo »

yes, i probably did miss the earlier post ... i like the method he's using now, i usually do it that way myself

Andy875
Posts: 5
Joined: Tue 02 Aug 2005, 01:02

#17 Post by Andy875 »

No, I changed them because of the request.

No big deal.

User avatar
babbs
Posts: 397
Joined: Tue 10 May 2005, 06:35
Location: Tijuana, BCN, Mexico

#18 Post by babbs »

For next year, think you might get a Russian Submariner to go down for your trial runs? Just kidding... Cool sub and great job at overcoming the problems you encountered!

Now that you've had a first hand opportunity to really test the strengths of Puppy Linux, even under fire, would you mind spreading the word around your school (and beyond) about Puppy?

Andy875
Posts: 5
Joined: Tue 02 Aug 2005, 01:02

#19 Post by Andy875 »

No worries on that front. We are the newly converted spreading the word of Puppy to anyone who will listen.

You guys just wait a year. We are going back to work on Monday. There are already plans for an active ballast system, the full sonar implementation and a massive attack on video code. We moved up six spots this year - and our robot was broken. We'll put you guys on Slashdot next year :wink:

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#20 Post by Lobster »

Good attitude.

Eventually your control technology might be suitable for DIDO
http://peace.wikicities.com/wiki/DIDO

however that is for the future . . .
I do not know if NETLogo which I posted elsewhere will be of use - maybe not . . .

:)
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

Post Reply