GET A FILE FROM A SERVER

asked 2021-01-05 13:42:05 -0500

fnando1995 gravatar image

Hello,

I am trying to get an img file from a server. To make it clear, I want to query a DB which will give me the filenames of images I must use, but these images are in a diferent computer, but in the same network. So lets sabe 192.168.1.0 is the network, and .3 is the master and .4 the slave. This slave must query a database that's is .5 (no problem with that) and the files are in .4/home/images/file_XXX.jpg. How can I get those images using ROS.

I am using Ubuntu 18.04 / Ros melodic / python3.

Thanks in advance.

edit retag flag offensive close merge delete

Comments

This questions is not really ROS related. just think how you would do this 'normally'? So .4 must be able to serve the images (it's a server so no problem there), .3 must be able to get the image, so just make a request to .4.

crnewton gravatar image crnewton  ( 2021-01-06 05:25:34 -0500 )edit