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. The best communication protocol for project

The best communication protocol for project

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 3 Posters 616 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
    Creatorczyk
    wrote on last edited by
    #1

    Hi,

    I'm starting to do my own project on Raspberry Pi and I would like to ask you what protocol would you recommend for communication between the robot and the application installed on the computer.

    The protocol should enable:

    • wireless communication,
    • two-way communication,
    • transfer of large amounts of data such as camera data (openCV)

    I was thinking about TCP or MQTT. I have more experience with MQTT, but I am afraid if the transmission of the image from the camera via MQTT is a good idea. What do you think about it? :)

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      If you have a robot, I'd first check ROS.

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

      C 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        If you have a robot, I'd first check ROS.

        C Offline
        C Offline
        Creatorczyk
        wrote on last edited by
        #3

        @SGaist I was thinking about ROS but I would like to do it mainly with the Qt and wiringPi library

        Pablo J. RoginaP 1 Reply Last reply
        0
        • C Creatorczyk

          @SGaist I was thinking about ROS but I would like to do it mainly with the Qt and wiringPi library

          Pablo J. RoginaP Offline
          Pablo J. RoginaP Offline
          Pablo J. Rogina
          wrote on last edited by Pablo J. Rogina
          #4

          @Creatorczyk said in The best communication protocol for project:

          transfer of large amounts of data such as camera data (openCV)
          ...
          I would like to do it mainly with the Qt and wiringPi library

          Those two requirements seem not to be related, I mean I don't expect you will use the wiringPi library to drive the acquisition of camera data, right?

          As @SGaist suggested, you may want to consider ROS, especially ROS2.
          And keep in mind that data acquisition (i.e. using RPi + wiringPi) is separated from robot control and actuation.

          Upvote the answer(s) that helped you solve the issue
          Use "Topic Tools" button to mark your post as Solved
          Add screenshots via postimage.org
          Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

          1 Reply Last reply
          1

          • Login

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