Monthly Archives: November 2011

Tom 11.15.2011

Start: 9:45

  • Finished the executive class
  • Fixed a problem with the Data Dictionary singleton method
  • Everything should be working on the pc side.  I am going to check what is wrong with the midi controllers tomorrow and work on the arduino side

End: 5:45

Phil 11.15.11

7:30 – 5:00 VISIBILITY

  • Started the ball rolling with Vernon on testing. Call Rich tomorrow to see how to progress.
  • Merged the VisMobScreen code into svn
  • Interview
  • Wrote up an GesturePieChartEvent that handles getting the chartDictionary to the parent component. Now I just need to do some commenting.

Tom DeVito 11.14.2011

Start: 9:30

  • Forgot to add the instance the data dictionary in the comutil and the interface classes.
  • Added a method for clearing the buffer so the end will always be null.
  • loadBuffer put data elements into the the send buffer.  Because of the way windows handles incoming communication, the buffer has to be hard coded.  Currently the buffer limit is 256 bits.
  • Strangely the midi controllers are not initializing the notes properly.  There is nothing obviously wrong with the wiring.  The amplifiers are changing volume but no tone is being produced.
  • The Ring finger started working not sure why.
  • Tried adding delays in the initialization loop.  This had no results.

End: 5:30

Phil 11.14.11

7:30 – 4:00 VISIBILITY

  • Network problems on site again. Our servers are running just fin though.
  • Working on nicer zooming. Got it. I just use a 200ms timer that’s reset every time the zoom method is called. If more then 200ms has passed since the last zoom, moving is allowed. Time to do some cleaning up of the code and dataProvider.
  • Dong found a cool thing that uses GWT instead of Flex: http://www.smartclient.com/smartgwt/showcase/#grid_offline_pref_featured_category

Dong Shin 11.14.2011

  • PPM
    • created HeaderRenderer for the yearly view in FinancialDataNavigator
      • selected month – blue, current month – red
    • changed NavBar button to ButtonBar in FinancialDataNavigator and created skin for it.
  • Experimenting with Google Web Toolkit (GWT)

Mike 11.11.2011

  • Long week of filling out HR forms, watching security briefings and updating resumes.
  • But I did manage to get a little work done.  I made a new logo for visibility in Photoshop and added it to splash screens for various DPIs.
  • I also started going through each page of the mobile app and conforming the theme to the splash screen

Tom DeVito 11.11.2011

Start: 9:30

  • Working through the programing with FLUID tutorial.  This is the one with the cube view opengl class.
  • The tutorial explains a couple things I was confused about besides integrating opengl.  There are sections for menu items as well.
  • The openGl class should inherit from Fl_Gl_Window.
  • This example uses a callback function to pan and redraw the cube, whenever the slider is moved.  This eliminated the need for something like a glutMainLoop() and can be used similarly with a timer function instead of a callback.
  • This example shows how to use a timer function for opengl animation within a fltk interface: http://www.dreamincode.net/forums/topic/124557-c-3d-animation-fltk-opengl-tutorial/
  • Here is a tutorial for animated line drawing: http://seriss.com/people/erco/fltk/#AnimateDrawing
  • I’m not sure if it really needs to be animated for what I want to accomplish.  I really just want to be able to graph the sound to pressure ratio so we can visually see the if a linear relationship is better then some other form in feedback.  It might make sense to not have the box there and just have the data output to spreadsheet or something.
  • Working out a couple bugs from moving stuff around.  I am getting better at not making spaghetti code so I shouldn’t need to back track as much as I have been in the future.  Most of this backtracking is because I took shortcuts which now I know were not very time effective in the long run.

End: 1:30

Thomas DeVito 11.10.2011

Start: 9:30

  • Was able to resolve the linker error that was making it so glutMainLoop() was not defined.  In order to use glut with fltk, you need to include the FLTK versions of glut.h and glu.h as well as link the following libs: opengl32.lib, flu32.lib, and fltkgld.lib
  • I moved all the hardware loop functions into an executive class which is going to be run by a timer function.  Simplified the code and delete obsolete code.
  • Phil suggested to use fltks timer functions instead of a glut loop as well as check to see if there a line graph in FLTK so I don’t have to use gl for them.
  • Tutorial for fltk and opengl:  http://www.fltk.org/doc-2.0/html/fluid.html

end: 5:30

Phil 11.10.11

7:30 – 4:00 VISIBILITY

  • Deployed new Project Assistant to Jeff’s server. Required dropping a view and then re-sourcing it in the DB.
  • Set up (I believe) a repeating task to back up the database daily. We’ll see if it works on Monday
  • Got pan and zoom working on the phone. Zoom is clunky – I think I need to change it so that the center of the zoom is always the center of the screen.

Tom DeVito 11.09.2011

start: 9:00

  • When I was looking at the code for the interface, I found that fltk names things without names o by default.  This was very confusing so I went back and renamed everything including the stuff which will never change.
  • Had a runtime error once I got the code into the constructor of the interface class.  After lots of debugging I found the source to be 2 extra empty menu items. Removing these seemed to solve the problem but 30 minutes later, for no apparent reason, I started getting the same error.  I removed the menu bar completely for the time being.  It will be added when I want the save and load settings functions to work.
  • FLTK has a glut-like loop.  For whatever reason I thought I was going to be able to easily run my loop with it.  I can set up a timer function but much of what I am seeing about how to do this is vague.
  • While looking around for how to make a timer function, I found an example that uses glutMainLoop() instead of Fl::run().  Considering I already know how to use a glut timer function and eventually I am going to need this interface to use gl simulations, I figured this was a better approach to the problem.
  • When I tried to run it off a glutMainLoop, I had many compiling errors most likely because I didn’t initialize the gl functions yet.
  • Sent e-mail to myself to remind me to figure out what hardware is needed for three sets of strain gauges.  I think we just need two amplifiers but I’ll double check tomorrow.

end: 5:00

Phil 11.9.11

7:30 – 4:30 VISIBILITY

  • Set up scripts to backup financial databases. Need to automate those next.
  • Working through getting gestures to behave exactly right. I need to be able to move the chart without selecting parts. Maybe use a time delay?
  • Interview.

Dong Shin 11.09.2011

  • updating UI…
  • updated __view_budget_center_appropriation view to calculate total_budget correctly (__view_budget_center_appropriation.sql)
    • CREATE OR REPLACE
      ALGORITHM = UNDEFINED
      VIEW `__view_budget_center_appropriation`
      AS select budget_centers.uid AS uid,budget_centers.project_id AS project_id,budget_centers.center_number AS center_number,
      budget_centers.center_name AS center_name,budget_centers.funding_transaction_name AS funding_transaction_name,budget_centers.
      funding_transaction_number AS funding_transaction_number,
      budget_centers.funding_transaction_type AS funding_transaction_type,
      budget_centers.capability AS capability,budget_centers.expenditure_center AS expenditure_center,
      budget_centers.investment_portfolio AS investment_portfolio,budget_centers.appropriation AS appropriation,
      SUM(budget_amounts.amount) as total_budget, budget_centers.type AS type,budget_centers.program_element AS program_element,
      budget_centers.facts_pe AS facts_pe,appropriations.duration AS duration,appropriations.status AS status
      from budget_centers, appropriations, budget_amounts WHERE budget_centers.appropriation = appropriations.type
      AND budget_centers.uid = budget_amounts.budget_center_id
      GROUP BY budget_amounts.budget_center_id

Tom DeVito 11.08.2011

Start: 9:15

  • Added commands for enabling and disabling fingers
  • Included comutil class to the arduino sketch and removed the temporary com methods.
  • Sent some data back and forth to make sure the class was still working.
  • Added a method to monitor the user interface for new values to trigger commands.
  • The commands don’t seem to be importing correctly 100% of the time.  I hope to resolve this tomorrow.

End: 5:15