Giter Club home page Giter Club logo

ts-ros-test's Introduction

Toposens

Build Status

Overview

ROS packages for working with Toposens 3D Ultrasound sensors: http://toposens.com/

Developed and tested for ROS Melodic on Ubuntu 18.04 (Bionic)

Setup

For Ubuntu 18.04 (and maybe other versions)

  • Follow this guide to install ROS on your system

  • Install missing dependencies

    sudo apt install python-catkin-tools ros-melodic-rviz-visual-tools ros-melodic-code-coverage

Building

  • Follow Section 3 of this guide to create your catkin workspace

  • Clone this repo into your catkin workspace

    [email protected]:toposens/ros-projects/ts-ros.git

  • Build your workspace from inside your catkin folder

    catkin build toposens

Running

Launching the Driver

  • Make sure you are part of the dialout group:

    sudo adduser $USER dialout

  • Trigger updated group permissions to take effect:

    newgrp dialout

  • Launch the driver and start accruing data from a TS sensor

    roslaunch toposens_driver toposens_driver.launch

  • To manipulate sensor parameters live in realtime, run in a new terminal

    rosrun rqt_reconfigure rqt_reconfigure


Launching the Markers

  • Launch the markers node:

    roslaunch toposens_markers toposens_markers.launch

  • To manipulate marker parameters live in realtime, run in a new terminal:

    rosrun rqt_reconfigure rqt_reconfigure


Launching the Pointcloud

  • Start the driver:

    roslaunch toposens_driver toposens_driver.launch

  • Launch the pointcloud in a new terminal window:

    roslaunch toposens_pointcloud toposens_cloud.launch

  • To manipulate pointcloud parameters live in realtime, run in a new terminal:

    rosrun rqt_reconfigure rqt_reconfigure


Turtlebot Integration

  • SSH into your Turtlebot's onboard computer and start the special driver node:

    roslaunch toposens_driver toposens_turtlebot.launch

  • From the remote computer, launch the special pointcloud file:

    roslaunch toposens_pointcloud turtlebot_cloud.launch

pipeline status

Overview

ROS packages for working with Toposens 3D Ultrasound sensors: http://toposens.com/

Developed and tested for ROS Melodic on Ubuntu 18.04 (Bionic)

Setup

For Ubuntu 18.04 (and maybe other versions)

  • Follow this guide to install ROS on your system

  • Install missing dependencies

    sudo apt install python-catkin-tools ros-melodic-rviz-visual-tools ros-melodic-code-coverage

Building

  • Follow Section 3 of this guide to create your catkin workspace

  • Clone this repo into your catkin workspace

    [email protected]:toposens/ros-projects/ts-ros.git

  • Build your workspace from inside your catkin folder

    catkin build toposens

Running

Launching the Driver

  • Make sure you are part of the dialout group:

    sudo adduser $USER dialout

  • Trigger updated group permissions to take effect:

    newgrp dialout

  • Launch the driver and start accruing data from a TS sensor

    roslaunch toposens_driver toposens_driver.launch

  • To manipulate sensor parameters live in realtime, run in a new terminal

    rosrun rqt_reconfigure rqt_reconfigure


Launching the Markers

  • Launch the markers node:

    roslaunch toposens_markers toposens_markers.launch

  • To manipulate marker parameters live in realtime, run in a new terminal:

    rosrun rqt_reconfigure rqt_reconfigure


Launching the Pointcloud

  • Start the driver:

    roslaunch toposens_driver toposens_driver.launch

  • Launch the pointcloud in a new terminal window:

    roslaunch toposens_pointcloud toposens_cloud.launch

  • To manipulate pointcloud parameters live in realtime, run in a new terminal:

    rosrun rqt_reconfigure rqt_reconfigure


Turtlebot Integration

We assume, that the Turtlebot has been already setup once and that you know its IP address (<turtlebot_ip>, e.g. 192.168.0.179).

  • Clone the turtlebot repos into your catkin workspace:

    git clone https://github.com/ROBOTIS-GIT/turtlebot3.git

    git clone https://github.com/ROBOTIS-GIT/turtlebot3_msgs.git

  • Build your workspace from inside your catkin folder:

    catkin build turtlebot3_msgs turtlebot3

  • Get to know your own IP address:

    In a terminal run ifconfig. In the displayed messages look for wlp4s0 and its inet address (<master_ip>, e.g. 192.168.0.118)

  • Add neccessary ROS parameters to your machine's bashrc (nano ~/.bashrc):

    export TURTLEBOT3_MODEL='burger'
    export ROS_MASTER_URI=http://<master_ip> :11311
    export ROS_HOSTNAME=<turtlebot_ip>
    
  • SSH into your Turtlebot's onboard computer:

    ssh pi@<turtlebot_ip>

  • Check and eventually adapt neccessary ROS parameters in the turtlebot's bashrc (cat ~/.bashrc, nano ~/.bashrc):

    export TURTLEBOT3_MODEL='burger'
    export ROS_MASTER_URI=http://<master_ip> :11311
    export ROS_HOSTNAME=<turtlebot_ip>
    
  • On the turtlebot start the special driver node:

    roslaunch toposens_driver toposens_turtlebot.launch

  • From the remote computer, launch the special pointcloud file:

    roslaunch toposens_pointcloud turtlebot_cloud.launch

ts-ros-test's People

Contributors

sebdengler 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.