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
