GithubHelp home page GithubHelp logo

rosipsetup's Introduction

IPsetup is a collection of scripts useful when preparing to connect to ROS robots (only tested on turtlebot 3, but should work for most ROS robots)

INSTRUCTIONS

  1. Open .bashrc in your home directory (might be hidden, CTRL+H to show/hide hidden files)

  2. Look for

    a. export ROS_MASTER_URI=http://"SomeIpAddress":11311

    b. export ROS_HOSTNAME="SomeIpAddress

    ("SomeIpAddress" can be your ip or some other ip address)

  3. If you found the lines in step 2 replace them with:

    a. export ROS_MASTER_URI=http://HOST_IP:11311

    b. export ROS_HOSTNAME=HOST_IP

    If not add the lines at the bottom of your .bashrc

  4. Run init.bash <./init.bash> in terminal (without <>)

  5. Run ros_ip_setup.bash <./ros_ip_setup.bash>

unity_ros_ip_setup.bash

There is also a file called unity_ros_ip_setup.bash.

This file does the same as the ros_ip_setup.bash file, with the added functionality of also getting the wsl host (windows) ip.

After getting the ips it proceeds to also update the ip field in a specific launch file regarding the ip of the robot.

That last part might not be correct atm, but I have yet to test this while connected to a robot, so if it specifically needs the robot ip you might need to remove that part of the process, and manually set the robot ip

rosipsetup's People

Contributors

595489 avatar pacificbeast 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.