Skip to content

simone-contorno/arp-message-transmission

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advanced Robot Programming - Transfer data from a Producer to a Consumer - Robotics Engineering

Author: Simone Contorno


Introduction

An overview of this program function.
Go to Introduction

How it works

A rapid description of how the program works.
Go to How it works

Installation and Execution

How install and run this program in Linux.
Go to Installation and Execution

Conclusion

Conclusion.
Go to Conclusion

Introduction

This program allow to the user to send a random message with a maximum size of 100 MB, using four possible IPC (Inter Process Communication):

  • Unnamed pipe
  • Named pipe
  • Socket
  • Shared memory with circular buffer
The aim is to test the transmission velocities of these four different methods.

How it works

The program asks to the user to type the dimension of the random message (with maximum size of 100 MB) and the IPC to use.
In case of socket, an host address and a port will be ask too.
Afterwards, the program will execute the corresponding process to transmit the message showing a progression bar and, in the end, reporting the total amount of time required.

Installation and Execution

Download the repository:

git clone https://github.com/simone-contorno/arp-message-transmission

After, go into the directory and make executable all .sh files:

chmod +x install.sh run.sh help.sh

To compile the source files, type:

./install.sh

Now, to exec the program, type:

./run.sh

A window launched with zenity will appear.
Zenity is default installed in Linux, if you have not you can install it with:

sudo apt-get update -y
sudo apt-get install -y zenity

If you want read some specific description about a process, type:

./help.sh < number >

where < number > is the corresponding process text file description.

Conclusion

Thanks to have read this file, i hope it was clear and interesting.

Collaborator: Gabriele Russo - @GabrieleRusso11

About

Advanced Robot Programming (ARP) - Transfer data from a Producer to a Consumer

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors