Giter Club home page Giter Club logo

ssh_connection_ros's Introduction

Send rostopic messages from windows to ubuntu with SSH client

Create the shared folder in windows:

Install

Install cifs tools to mount:

sudo apt-get install cifs-utils

Install ssh-server to connect:

sudo apt-get install openssh-server

If there are problems try to install samba:

sudo apt-get install samba

Compile the packages (Server folder) in ROS

catkin_make
source devel/setup.bash

Configure the server parameters with roslaunch

roslaunch server_node Mount_Client.launch shared_folder:=" " folder:=" " sudo_password:=" "

Arguments:

  • shared_folder is the path of the folder that you create in ubuntu.
  • folder is the path of the folder that you want to share between ubuntu and windows.
  • sudo_password is the password of your account in ubuntu , it's important to execute sudo commands.

Example:

roslaunch server_node Mount_Client.launch shared_folder:="/home/asus/Desktop/Testing" folder:="/home/asus/Desktop/Catkin_ws/src/server_node/Backup" sudo_password:="Playtec981"

Open the exe file in Windows (Client folder)

Open the file Testing.exe that is in the Client folder.

Main

Variables:

  • IP del servidor : IP of ubuntu , if you want to visualize type this command.
sudo apt install net-tools
ifconfig

Then search your ip address.

Capture

In this case the server ip is "192.168.172.130"

  • Nombre de la carpeta compartida : The name of the shared folder
  • Username: This is the username of the ubuntu server
  • Password: This is the password of ubuntu
  • Local IP: This is the IP address of the windows computer. You can see it , just type in cmd "ipconfig" and search your ip address.

Example:

Menu

Nodes

SSH_Client

Problems

If there are problems try to verify the connection.

Results

Click here to see the result

ssh_connection_ros's People

Contributors

moises981 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.