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? :)
-
Hi,
If you have a robot, I'd first check ROS.
-
@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 libraryThose 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.