Monthly Archives: May 2012

Phil 5.9.12

8:00 – 5:00 FP

  • The wired network was down since yesterday around 3:30. Bounced everything which didn’t seem to work, but everything came back up in 20 minutes.
  • Moving my DataElement/BaseDataObject classes back over to the Arduino for evaluation and testing.
  • Grr. Memory leaks. Because I’m using strcat, I needed to ensure that the buffer[0] was set to NULL before starting.
  • Looks like that did it. Need to test in the sim, and then it’s time to add the sound in!
  • Sound is working. The system freezes after a few minutes’ use. I’m testing the communication in the sim alone now and it doesn’t seem to be breaking. I’ll run an overnight test.

Tom 5.9.2012

Start: 9:00

  • Finished writing the readme for the MidiAmp Library
  • Added a couple of things to add to the MidiAmp library to our checklist.
  • First thing is to change the Amp class to use SoftwareSerial.h instead of wire.h if possible, so that one arduino can control more then 8 fingers
  • Secondly I need to test the aftertouch and pitchbend midi commands and update the documentation once I figure out how they work.  Also I need to add the ability to play midi sequences.
  • Started rewriting my control module to work with Phil’s framework but quickly hit a wall because I wasn’t sure how his code worked.
  • Worked out this class with him and got sound working
  • Phil says by the time we get to two hands we will probably be using a different micro controller so don’t worry about changing the amp class.
  • We need to order an extra exciter and midi card so I can have something to test sequences and stuff on.   An additional midi card could be useful if we decide to use the base shaker for whole hand collision.
  • Currently the hand is reverberating on the metal frame of the table.  This is making it louder but also giving it a metallic sound.  Mounting it firmly to a wooden box would produce much cleaner sounds as well as maybe absorb some of the excess vibration.

End: 5:00

Mike 5.8.2012

  • Usual backups at site
  • Fixed an issue on the upcoming production server with our deployed webapps,  apparently copy/paste across remote desktops sometimes adds random bytes to the end of files.  This caused some run-time errors in visibility.  It may be best to zip everything up before moving it between servers.  At least then we’ll know right away if anything is corrupted as the zip will have errors.  Or move everything across networked drives…
  • Jim and Tangie want to set up a meeting to talk about new data ingest.  This is going to be set up for sometime next week.
  • Working on rebuilding the entire visibility suite + PM + PA with the new PKI login stuff to bring in and deploy.  Ran in to some errors in UsersAndRoles, I think I have fixed them.  Also there is a weird class called SolrXMLIngestor that makes constant calls to ‘{UPLOADS_DIR}/temp__’ which is hard-coded in to the class so it doesn’t seem very temporary to me…

Phil 5.8.12

8:00 – 4:00 FP

Tom 5.8.2012

Start: 10:30

  • Wrote the readme for the Midiamp library and test program
  • I think there was a little confusion of what the test program actually is.  the test program is literally a test of the basic functions of the library.  It is not a controller prototype which is why is it not made to be scalable or anything like that.  I have partial prototypes of what the controller should be but I was not sure what route Phil wanted to take so I gave him the basic classes.  Now that the hardware isn’t of as dire need as it was the Saturday when I posted the sound libraries I can put more focus into fleshing out this controller.  Basically the only reason this is up there in its current form was because time was a factor and I didn’t want Phil to stumble through my controller without knowing the basics of how it worked.
  • The sound controller prototype only needs the logic written.  I made a few models for this so I will have to determine which one is best as they work somewhat differently.  If I know what and how many objects need to be processed by the controller it should be easy to finish these.
  • The readme took a while longer than I thought and I still want to proof read before I post it.  Maybe I went a little too deep in writing it as well as there is a lot of how things work at an electronics level in there.  Considering the electronics doesn’t have any documentation of its own this is probably a good thing.
  • Added some stuff to the checklist for designing the new board so I don’t forget them.

End: 6:30

Tom 5.4.2012

Start: 10:30

  • Started a new file for the board
  • Decided on the general layout of the board.  Power goes in on top the i/o from the hand comes out at the bottom.
  • This may work with only one power plug.  I have to test the currents to know for sure.
  • Added mounting holes to the new board.  Dimensions will change as stuff is added.
  • Copied the sensor circuits over.
  • Commented code for the Midiamp library.

End: 6:30

5.7.2012

  • Usual backups at site
  • imported the new visibility site and fixed a javascript error in IE, also added contact page content
  • Talked to Tangie, apparently the two individuals having connection problems to our site contacted their local admins who could connect just fine.  So they are now working with those admins to resolve the problems.  So it’s out of our hands.
  • Watched an interesting presentation about Spring Security (http://www.infoq.com/presentations/Spring-Security-3).  It’s rather long but does give a good basic introduction of what can be done:
    • Users, roles, and rights
    • Method level, annotation- based restrictions based on rights (based on rights is the best way to do it but you could base your rules on anything really)
    • Restricting urls to authenticated users
    • Restricting parts of the UI based on permissions
  • Trying out some of the examples

Phil 5.7.12

8:00 – 4:30 FP

  • The kinetic sculpture race was a blast. Here are pix: http://www.flickr.com/photos/21701734@N04/sets/72157629972340647/
  • Let’s see if we can get sound working today!
  • And now a short pause while we install video driver updates…
  • Looking through the port_test code
  • Having problems with the serial code again. It appears that the arduino is getting into a condition where it thinks that there is always a character waiting to be sent
  • I’ve gone back to the test harness, which is having the same problems. It appears that there is something wrong with the workingBuf[]. If I don’t put characters into it, then the rest of the code works fine. Nope, it seems fine. Moving onto the aJSON and DataObject classes.
  • aJsonObject* jsonObject = aJson.parse(workingBuf); and aJson.deleteItem(jsonObject); seem to reliably crash things. I think it’s a memory leak. That would explain the randomness of the errors.
  • Putting a parser in the BaseDataObject class. Going to see if I can use this hashmap: http://www.arduino.cc/playground/Code/HashMap
  • I really can’t believe I’m hand-rolling a parser. Ah, well. Onward.
  • Built a DataElement class (with static declarations!) Handles char[16], int and float. Mostly done. Integrate with HashMap and test tomorrow.

Phil 5.4.12

8:00 – 4:00 FP

  • May the 4th be with you!
  • PAD lab – spent some time going over the serial library
  • Hooked up Tom’s full rig to the sim. The sensors work, and the sound works using his sketch. He’s going to comment his code and I’ll start to integrate sound on Monday.
  • Bent the fingers on the hand to be a bit more ergonomic

Mike 5.4.12

  • Usual backups at site
  • Tangie still appears to be out but everything is still up and running as always
  • Back at the mill, going to finish up the new site and burn it to a disc to deploy on Monday

Tom 5.3.2012

Start: 10:40

  • Assembled a secondary connector for the sensors so Phil can test his stuff independently of the main electronic boards
  • Started making changes to the board design.
  • Added a power switch
  • Added mounting holes
  • Sent the negative input signal to ground to fix that feedback problem.
  • Considering a single board approach for the new boards now that I know the electronics will work.

End 6:40

Mike 5.3.12

  • Backups at site
  • Tried contacting Tangie with a list of addresses to try and connect to, got an out of office reply
  • Moved visibility and ppm+pa over to the production server with a copy of the database tables, everything seems to be working
  • Working on the new Visibility site.  I have pages for every tool now with images and some content.  I fixed a javascript issue that was preventing some of the cooler menus and functionality from working (you get what you pay for from free templates).

Phil 5.3.12

8:00 – 9:30 ESSO

  • Added my presence to the search for solutions.

9:30 – 4:30 FP

  • Integrate pressures today
  • Run sound from the PC until the Arduino is working? Synth shield (http://shop.moderndevice.com/products/fluxamasynth)
  • The sim is now sending sound ID and volume to the Arduino, and getting pressures!
  • Measuring presures from the force sensors.
  • The board seems to get stuck in the WAITING state occasionally. Added a RESET if there is no character read for 1/2 second.

Tom 5.3.2012

Start: 10:40

  • Read up on decoupling capacitors and found that I am using them correctly but maybe the traces are too long.
  • After careful consideration of how to solve the problems with the boards, I decided to send the negative signal wire from the amp input to ground instead of the negative lead on the pre-amp.
  • This has solved the problem with the feedback loop and made it so only one speaker plays at a time.  Whatever was wrong before must have something to do with the negative traces.  I am not sure if the sound gets as loud as it did before but there seems to be less distortion.
  • Did a bunch of testing with different sounds and stuff to make sure everything was working properly
  • Added board design changes to changes checklist.
  • I haven’t built the connector for Phil to test the analog input yet but if he wants he can use the ones on the boards that are working while I build that tomorrow.  I probably should help with this to make sure the right wires are used.

End: 6:40

Mike 5.2.2012

  • Usual backups at site
  • Turned in our April status report to Jim and his assistant from TASC
  • Working with Tangie to diagnose connectivity issues at some sites.  Phil assistant has been requested by ‘management’
  • Training for the new cognos system has fallen through so the customer would like to move forward with that.  There may be a meeting next week
  • Dong’s VR came through
  • Looked up the standards for classification banners on websites
  • Back at the mill typing up our April status for FGM Jim
  • Updated my 2012 performance plan
  • Working on content for the VIS Tool index pages