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 Updated to NodeBB v4.3 + New Features

Mixing Qt GUI with ROS (Getting Started)

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 1.1k Views 2 Watching
  • 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 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?

    kshegunovK 1 Reply Last reply
    0
    • C CroCo

      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?

      kshegunovK Offline
      kshegunovK Offline
      kshegunov
      Moderators
      wrote on 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
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on 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

        • Login

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