24 Nov
Another new week had started, the first thing to do when I reached the office is to the test the OSC to X11 application over and over again together with leonard. It was confirmed that it was the firewall that was stopping the packets from sending over to another computer. So we actually disabled the firewall before doing all the testing and the application seems to be working fine. The DV cam is also ready, so after Ming Hong and Wilson finished setting up lightdraw with the new DV cam, Leonard and I started to play around with the new DV cam with a little tutorial from Ming Hong on how to operate the camera.
Soon, we went over to the 2x3 Tile Display (orion) room to test lightdraw and this is the results we got:
- 1 Tile : The camera was able to capture the whole one tile, including the corners.
- 4 Tiles : The camera was able to capture the center of the tiles, some corners
- 6 Tiles : Some points in the center with almost none at the corners
25 Nov
We told Bernard that it was confirmed that it was the firewall that was blocking the packets from sending and was told instead of disabling the whole firewall, we will have to open the port for listening and while I was testing the application with only the port needed opened, Leonard went on testing the puzzle application for multi-user to ensure that everything went fine as we have to give a presentation to Kevin after lunch.
The presentation went out fine and we made a trip down to Fusion World to take a look at how lightdraw was setup there.
We did some comparison with the setup there and the setup at the Tile Display and discuss the possible solutions with Kevin. Instead of capturing the whole 6 tile, we will be capturing only 2 x 1.5 of the tile. because applications such as VMD and paraview only need mouse movement in the left and center of the screen and so we tried using remote calibration to capture 2x1.5 of the screen and we found problems with the Makefile with doesn't allow the application to compile. Have Bernard to install Opencv into the remote desktop but it doesn't seem to help much. Ended the day with the application unable to compile.
26 Nov
Having problem with the Makefile, we had seek for Bernard's help. We were taught how to change the Makefile according to where the opencv file is installed. However, after trying for hours, there is still no progress. Had a trip down to the Sky Garden and level 14(where all the interns are) after lunch and we were really glad that we are at Level 16 doing lightdraw.
After that, we continue changing the Makefile but no progress was made. This problem was kinda serious as both Kevin and Ming Hong came and help and they just throw whatever that the system wanted and finally the application was able to compile and run smoothly and so Bernard went on opening the port for us to use but it doesn't seem to be working and the head node went 'crazy' whenever we did something to the firewall. At the end of the day, Bernard told us to use any port that is opened inside iptables.
27 Nov
Almost all the staffs went for the retreat at level 15 leaving us alone in the lab. Since there's a demo at the tile display room in the morning, we were told to 'touch' the tile display only after lunch. Soon after lunch, we checked the iptables and started using the 'available' port via trial and error. We ended up using port 53, and started to test the remote calibration but there seems to be problem with it and so we stick to manual calibration and the OSC to X11 application seems to be working fine its just that lightdraw seems to be taking the coordinate of the macbook instead of the screen.
28 Nov
We tested lightdraw and remote calibration using the 2 macbooks and other than the problems we found earlier on with the remote calibration, Ming Hong also found that there is some problem with the lightdraw codes. After Ming Hong changed the codes, we started testing again and we came out with this conclusion:
- The laser must be pointed straight, not at an angle
Reflection:
This week, I learned how remote desktops can be used to communicate with each other. Just when 2 concurrent users are using the same application, there can be used to communicate with each other via the terminal. I also learned some simple scripting on bash such as how you can give access to users. I have also found out that we can even use functions such as if-else etc simply using the terminal without writing a .cpp/.c class.