Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Mixing Qt GUI with ROS (Getting Started)
Forum Update on Monday, May 27th 2025

Mixing Qt GUI with ROS (Getting Started)

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 1.1k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    CroCo
    wrote on 14 Mar 2021, 16:31 last edited by
    #1

    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?

    K 1 Reply Last reply 15 Mar 2021, 18:15
    0
    • C CroCo
      14 Mar 2021, 16:31

      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?

      K Offline
      K Offline
      kshegunov
      Moderators
      wrote on 15 Mar 2021, 18:15 last edited by
      #2

      @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 ...?

      Read and abide by the Qt Code of Conduct

      1 Reply Last reply
      0
      • S Offline
        S Offline
        SGaist
        Lifetime Qt Champion
        wrote on 15 Mar 2021, 19:05 last edited by
        #3

        Hi,

        Did you already check ROS's rqt ?

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        3

        1/3

        14 Mar 2021, 16:31

        • Login

        • Login or register to search.
        1 out of 3
        • First post
          1/3
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved