Hello everybody,
I have to develop a system to detect collisions among real vehicles (small robots). Thus now, I only had to move them freely and I had developped a Qt GUI to move them (this GUI only sent them the commands by a network socket). Now, I also have to detect possible collisions among them (note that the collisions would be in the real world, up to now I'm not displaying any virtual representation of the vehicles in the GUI) and I was wondering if it would be a good idea to use the QGraphicsItem class to detect the collisions even if I'm not displaying them on my GUI. I have seen the mice example about collisions in the Qt documentation and I think I could use the QGraphicsItem class to help me in my internal calculations. Do you think it would be a good use of this class or would you rather look on the internet for any other special library to detect collisions?
I have to detect the collisions in path trajectories calculated before execution, not on real time! so, I do not need a powerful performance on real time, that can be relevante for the final decision.
Many thanks in advance
Bookmarks