Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

The best communication protocol for project



  • 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? :)


  • Lifetime Qt Champion

    Hi,

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



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



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


Log in to reply