In the previous post we managed to set up a connection between the board and a PC through USB. The board send the acceleration’s sensor data at a regular interval, and on the PC side this data is plot using a simple program developed with Qt framework. Now we want to expand it in order […]
Intro In the previous post we have managed to get a serial communication with an host PC through USB. Now we will add a big loop with a state machine in order to handle simple commands from the host (i.e. start/stop sampling) and to send back the requested data. In the next post this programming […]
Qt’s doc has a beautiful introduction and overview about thread problems and implementations: Threading basics. The main point is that most of the time you don’t need a separate thread, and if you can avoid it, you should do it!
System GUI This GUI is a more complex project. It can load from configuration files, based on the zones connections, the layout of the system (calculating their orientation and physical position on a x/y plane). The system can visualize different levels. It as been realized using QGraphicsView and QGraphicsScene frameworks.