Sunday, November 2, 2014

Looks like we made it

Love's so strange

We fixed everything! Or, almost. Not quite everything on our checklist is complete but all of the "show stopping" bugs have been ironed out.


Full throttle reverse

downloading OpenROV software
Our main focus was the motors stopping mid-reverse at full power after only 2 seconds.


This was resolved by upgrading the OpenROV BeagleBone software to 2.5.1-rc3. The bug linked below describes the issue we've been fighting for way too long now. 





Re-programming and re-calibrating

checking ESC programming
After flashing new software to the device, we noticed that two of the ESCs were acting erratic. With our new programming card, we were able to very quickly identify and correct the lost programming settings on the ESCs. Programming these Hobbywing ESCs by hand used to be a huge pain, waiting for the beeps of the menu repeating over and over again.

Now we can fix each ESC visually.

Re-calibration was also necessary because some motors didn't spin at the same speeds. We don't fully understand this one yet and are hopeful that it isn't necessary with each re-programming as it is a bit tedious.

So, if next time we power up the ROV and it doesn't work right, we'll try re-calibrating after a re-program of the ESCs. 





Dive, dive, dive!

A test dive is in order. And then, maybe a real one. WOOHOOO!

Thursday, October 9, 2014

Elec-tricity, E-lec-tricity

Sorry we haven't posted much lately.  Things have been right troublin' with the ROV and the behavior problems it exhibits.  We're increasingly concerned that there's some sort of problem with the board, as we've now replaced two of the three ESC's that were misbehaving so badly, yet still seeing some of the same behaviors exhibited after the new ones were put in place.

One of the things I've enjoyed the most about the experience of building this piece of equipment is all of the interesting things I've learned along the way, but I've also tried to be candid about my amateur status (and that of some of the team) when it comes to the more advanced electronics on board, and I'm beginning to fear that in my amateurism, I (or someone, who knows) may have caused electrical damage at some point, which is causing these behavior issues.  It could also be that the problem was there from the start.  Whatever it is, we're looking at (possibly) a lot more testing and prep work before we get back in the water.  After the excitement of thinking we were finally there, it's a tough pill to swallow, but then again, things worth doing are rarely easy.  We'll keep testing away until it works, of that you can be sure.  I just don't know when that will be.

On a positive note (because I feel compelled to leave this post on a positive note) IF we end up having to replace lots of stuff - the good news is that after reading through the OpenROV forums, it would appear that we've spent about 10x more time building and fixing the ROV than most other groups have, so we're pretty darn practiced at this point with a lot of things that most teams only had to do once.  We could rebuild this thing in a day if we had to, so, in a strange way the problems we've had actually give me more confidence about the path forward than if things had gone smoothly.

So we're back to the testing bench and the multimeter for now, thanks for reading and we'll post again soon.

Sunday, September 14, 2014

It's totally the hardware...unless it's not

Just a brief update today.  After our latest test flight, we had some positive signs, and some negative ones.  On the positive side, we've built a watertight craft with a bunch of lights, lasers, and cameras that all work now, so that's awesome!  But on the negative side, we've had yet more trouble with the motors, and with some bumps underwater causing the craft to die.  Like Danny mentioned in the last post, we're going to get our hot glue on to combat the issue of bumps knocking us out.  We're also going to be replacing these guys:

The ESC's we are using




We have noticed that on both dry runs and test flights, our motors are not responding correctly 100% of the time.  At times, the ESC's have lost their programming, and other times even with correct programming they act all crazy.  This team has put a lot of time and effort into this project, and the last thing any of us want is an ROV that only kind of works right and gets lost in a cave because the motors betray us.  So we're going to replace the ESC's and see how the motors act.  If they're still acting crazy, we need to look at the software, and we'll just have some spare ESC's out of it.


Another thing the team is doing is putting together a flight path for our first real world test flight (aka not in a swimming pool) that will be taking place at Spring Lake in San Marcos.  We're going to put our navigation and charting skills to the test in an environment where we can still see the ROV pretty clearly, since once we hit the caves, the difficulty will ramp up considerably.

Overall, while disappointing that we're still not quite there yet, it's also good that we're working our way through all of these mission-ending kinks now while we're diving in swimming pools, rather than 40 meters deep in a lightless cave. 
As always thanks for reading and don't forget to check us out on OpenExplorer where we'll be documenting our dives out in the world, and you can actually donate to the project there as well if you feel so inclined.  Cheers!


Sunday, September 7, 2014

Troubled so hard

We enthusiastically went for our third test dive, after having put away the ROV in 100% working order. Or so we thought. Our expedition was fraught with troubles.

outside underwater ROV view

One of our issues was the vertical propeller, which came unstuck from the motor bell and tried to escape out the finger guard.

vertical propeller escape attempt

Lag was also a huge issue. The ping times and responsiveness of the ROV vary wildly while in use, making it hard to predict and control. Speaking of control, I brought along a joystick which I think added much more confusion than it was worth. I do hope to set up a custom mapping for my many button joystick but that is going to be sidelined in favor of getting a reliable experience.



The ROV died at the bottom of the pool, ending the day.

dead, but with full batteries

This day ending loss of contact has happened to us once before, so we were already looking at the tether on the topside for failure points. The last time that this happened, it was the cat5 cable going into the beaglebone that shook loose. We fixed that with a piece of tape but wondered if maybe it came loose again. This time it was something on the tenda homeplug adapter, sandwiched between the beaglebone and the cape. A simple re-seat fixed the issue, but for how long?

Richard (and team) perplexed by the many issues

I'm thinking about hot-gluing the tenda homeplug adapter and cat5 connectors (at least) to keep them from bumping loose and killing the ROV.

Sunday, August 31, 2014

Open source rocks, except don't update it


it was dry, but still fun

Having a problem? Look at the source!

One of the awesome parts of working with an open source project is that you can go look at how it works in every aspect. Today I'm working on getting a joystick working with the OpenROV Cockpit and I think this is the file that will need to be modified to add support for a new joystick (and allow for key remapping). It turns out that unsupported controllers work pretty well.

https://github.com/OpenROV/openrov-software/blob/master/src/static/js/libs/gamepad.js


Looking to upgrade? Don't do it!

If it ain't broke ... then don't fix it! I did it anyway. The upgrade.sh script has now killed our ROV more than one time. I even left a comment in the file saying not to do it, but I still did it. Now the ROV Dashboard is broken, making it inoperable. Oops, again.

http://wiki.openrov.com/index.php/Update_Software

This opportunity forced me to pull down the newest code, fully abandoning the old mess of files at the filesystem level. This means losing my hard-coded IMU tweaks, maybe next time I'll find a way to make that adjustable (thinking cape atmega eeprom). The update should give us some new UI plugins anyway, so hey maybe it will be worth the pain.

That ended up being totally broken with "do not enter" warning signs. So I rolled back to the broken mess, then used git to roll back to a commit prior to the drastic changes to the dashboard. During the update, some nodejs stuff failed to compile, throwing a wrench into everything. In the end these few commands saved the day, for that issue. At least I got to keep my IMU hacks in place on the arduino cape.

tail -f /var/log/openrov.*
cd /opt/openrov/node_modules/
/opt/node/bin/npm install

After all this headache, the starboard motor lost its programming again and makes the tell-tale beeping/braking sound and drives erratically. I guess we'll have to re-program this when we go diving, once the ROV is powered up, at least until we're able to order and replace the ESC for that motor.

Wednesday, August 27, 2014

OpenExplorer AND A TEST DIVE








The founders of the OpenROV project contacted me a little while back about posting on their site, OpenExplorer.com, to document our adventures with the ROV.  I was hesitant to post anything there until we had a working ROV, so for a long time I haven't moved on the idea.   For anyone that has been reading this blog for a while, you know this isn't out of lack of desire.  We have put so much work into this project, and have had our fair share of setbacks, so it hasn't always been easy to keep the fire burning on this. As someone new to the maker world, I wasn't sure what to expect but I definitely wasn't expecting this much work.   But our hard work has finally paid off.   I can now say that after tonight, I am so happy to announce that we are finally up and running!   We completed a full underwater test and everything on the ROV is working!   Lights, lasers, motors, camera...it all works.  The motor programming stuck.  The lasers toggled on and off accurately ( funny story, we are idiots and thought the lowecase l for lasers was a forward slash, so they were working the whole time we thought they were broken) and even the depth hold command is working accurately.  We are finally ready to rock!!!!!

Next step is to practice deploying and flying in a pool. Video of the ROV flying in action to come.  I just couldn't wait to share!  Really really exciting things to come now that we are up and running, thank you so much to our friends and family that have encouraged us along the way and to the new friends that have come along and followed our adventures!  So in conclusion, we are now live at  https://openexplorer.com/expedition/jacobswellproject on the OpenExplorer.com site and will finally move from the building to adventuring phase.

Thanks for reading so far, and here's to great things to come!

Ready to dunk


Video feed is up

Here goes nothing...




There she blows!

Lets

All



Get

Down


Live feed from the camera after dunking.  Still working!

More testing.  Still working like a champ.



Rebalancing.


Using washers provided by Danny as ballast.  They work brilliantly, and are relatively easy to adjust.  Awesome!




One last shot of her in the water.  We're done!









Saturday, August 23, 2014

Lube something something

one must lube the tubes

The port battery tube wouldn't seat properly. It turns out that the o-ring was dried out. I lightly filed the edge on the tubes and caps and applied oil to the rings. 

Now both tubes are easier to open and close and the seals look much better.

Also pictured is the untested ballast correction on the starboard side. We hope to figure that out next week.