Giter Club home page Giter Club logo

smarc_perception's Introduction

smarc_perception

Perception algorithms for underwater sonars and cameras

Installation

This package is strongly coupled with the other packages in smarc-project. For installation of SMaRC software packages, see smarc-project/rosinstall.

Each folder in this project is a stand-alone ROS package, with the package name being the same as the folder name.

Existing ROS packages in SMaRC perception

This package implements sidescan sonar object detection, more specifically bouy and rope detection, for SMaRC simulations and vehicles. The detection results are published as Detection2DArray messages at the topic {robot_name}/payload/sidescan/detection_hypothesis in the frame {robot-name}/base_link.

Currently, the algorithms for the simulated and real-world detection are completely disjoint. This is because of the simulated sidescan sonar signals looking very different than the real-world signals, as described in this stonefish issue. As mentioned in the issue, part of the problem is most likely the rolling of the vehicle model of SAM.

Simulated SSS detection

Due to the abovementioned issues with the simulated sidescan, the SSS detection for the simulation ignores the simulated sidescan topics entirely, but instead rely on the marked_pos_publisher from the smarc_utils repo to publish the groundtruth position of marked positions (currently the buoy positions for the algae farm scenario).

To publish simulated detections, the ROS node sim_sss_detection_publisher subscribes to the groundtruth poses of the marked positions, compute the range and angle between the simulated vehicle and all marked positions, and then publish the positions of the markers that should be visible by the vehicle as detection results.

Running simulated SSS detection

The launch file for the simulated detection is located at sim_sss_buoy_detection.launch. To launch the simulated detection, run the following:

roslaunch sss_object_detection sim_sss_buoy_detection.launch

Real SSS detection

The real SSS detection subscribes to the Sidescan message published at the topic /{robot_name}/payload/sidescan and uses a 1D sliding window change point detection method to detect buoys and ropes. The computation of the detection message based on the vehicle pose is implemented in sss_detector.py, which uses the CPDetector in cpd_detector for the actual 1D change detection.

Running real SSS detection

The launch file for the simulated detection is located at sss_detection.launch. To launch the real detection, run the following:

roslaunch sss_object_detection sss_detection.launch

smarc_perception's People

Contributors

cisprague avatar kkalem avatar luxiya01 avatar nilsbore avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

smarc_perception's Issues

Try running the real detector with simulated sidescan

As a starter, try running the real detector with the simulated sidescan and checking the detection results.

  1. Run rosrun sam_stonefish_sim bringup.sh to bring up the simulation GUI and start the necessary nodes.
  2. Note that the sidescan topic is default to off, i.e. listening to the topic /sam/payload/sidescan will give you nothing right now. To turn on the sidescan, toggle sidescan topics by running rosservice call /sam/payload/toggle_sidescan true
  3. Run the change point detection based real SSS detector by running roslaunch sss_object_detection sss_detection.launch
  4. Open RViz and check the simulated sidescan image and the detection results

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.