Mixing Qt GUI with ROS (Getting Started)
-
I'm working now with ROS (i.e. the robotic operating system). At this moment, it is not that difficult since they use C++ and CMake. And It is a good news actually for Qt users since Qt 6 is heading toward CMake rather than QMake. There is little thing I'm worried about which is when a node (i.e. merely .exe file) is created, we have to pass main arguments variables to ros class as follows
ros::init(argc,argv,...)
Will this cause any problems with building Qt GUI? Another point is the looping thing for a continuous work. They do have
ros::spin()
How can one manage things for mixing such projects?
-
@CroCo said in Mixing Qt GUI with ROS (Getting Started):
Will this cause any problems with building Qt GUI?
Not with building. What's the prototype of this function?
How can one manage things for mixing such projects?
What does this
ros::spin()
do? Is it blocking, for how long, can you wake it up, and so on ...?