GithubHelp home page GithubHelp logo

juanscelyg / ros-tritech-micron Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sousapedro596/ros-tritech-micron

0.0 3.0 0.0 116 KB

๐Ÿ”Š Tritech Micron SONAR ROS driver

Home Page: http://tritech.co.uk/product/small-rov-mechanical-sector-scanning-sonar-tritech-micron

License: GNU General Public License v2.0

CMake 1.04% Python 98.96%

ros-tritech-micron's Introduction

Tritech Micron ROS Package

status

This ROS package configures and communicates with the Tritech Micron sonar. This has only been tested on ROS Indigo, Jade, and Kinetic over RS232.

Setting up

You must clone this repository as tritech_micron into your catkin workspace's src directory:

roscd
cd src
git clone https://github.com/mcgill-robotics/ros-tritech-micron.git tritech_micron

Dependencies

Before proceeding, make sure to install all the dependencies by running:

rosdep update
rosdep install tritech_micron

Compiling

You must compile this package before being able to run it. You can do so by running:

catkin_make

from the root of your workspace.

Running

To run, simply connect the Tritech Micron sonar over RS232 and launch the package with:

roslaunch tritech_micron tritech_micron.launch port:=</path/to/sonar> frame:=<frame_id>

port and frame are run-time ROS launch arguments:

  • port: Serial port to read from, default: /dev/sonar.
  • frame: tf frame to stamp the messages with, default: sonar.

The package will keep trying to connect to the sonar until it is successful.

The tritech_micron node will output to the following ROS topics:

  • ~scan: PointCloud message. Scan data of the current heading only.
  • ~heading: PoseStamped message. Current heading of the sonar.
  • ~config: TritechMicronConfig message. Sonar config published on change.

Configuring

To configure the Tritech Micron sonar, take a look at the parameters defined in Scan.cfg.

These paramaters can also be updated on the fly with ROS dynamic_reconfigure as such:

rosrun rqt_reconfigure rqt_reconfigure

Visualizing

The scan data can be conveniently visualized with rviz. Simply, add the tritech_micron/scan topic as a PointCloud message to the view and make sure to set the Decay Time parameter to the number of seconds it takes to run a full scan in order to see the full scan at once instead of only one slice.

If done properly, you should be able to see something like this: Tritech Micron scan data

ros-tritech-micron's People

Contributors

anassinator avatar baycken avatar erinhav avatar jeykumar avatar malcolmwhat avatar mcgillrobotics avatar mkrogius avatar

Watchers

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