Coder Social home page Coder Social logo

doomse / frontier_exploration Goto Github PK

View Code? Open in Web Editor NEW

This project forked from adrian-soch/frontier_exploration

0.0 0.0 0.0 7.67 MB

A frontier exploration module implementied with ROS 2, C++, and Python.

License: BSD 3-Clause "New" or "Revised" License

Shell 0.58% C++ 2.16% Python 46.83% CMake 0.29% Jupyter Notebook 49.83% Dockerfile 0.31%

frontier_exploration's Introduction

frontier_exploration

Description

A frontier exploration module implementied with ROS 2, C++, and Python. Based on:

B. Yamauchi, "A frontier-based approach for autonomous exploration," Proceedings 1997 IEEE International Symposium on Computational Intelligence in Robotics and Automation CIRA'97. 'Towards New Computational Principles for Robotics and Automation', Monterey, CA, USA, 1997, pp. 146-151, doi: 10.1109/CIRA.1997.613851.

preprocessedMap_frontierMarkers

Frontier Exploration: Contains nodes for autonomous exploration, interfaces with the nav2 stack.

Frontier Interfaces: Contains a custom ROS 2 service interface.

Learned frontier detector: Contains scripts and tools for training and deploying a learned frontier detector.

Getting Started

To get ready for development or execution:

# Clone the repo
git clone https://github.com/adrian-soch/frontier_exploration

# Build
colcon build

To run the exploration node:

# Start rosbag or robot simulation or real robot

ros2 launch frontier_exploration exploration.launch.py

# The node can be run independantly via ros2 run
# And can be tested with:
ros2 service call  /frontier_pose frontier_interfaces/srv/FrontierGoal goal_rank:\ 0
#requester: making request: frontier_interfaces.srv.FrontierGoal_Request(goal_rank=0)

Output can be visualized in rviz with the frontier map and frontier region markers.

To run the full exploration system:

# Start rosbag or robot simulation or real robot
ros2 launch frontier_exploration lite_turtlebot_full_stack.launch.py

# Launch the frontier exploration node
ros2 launch frontier_exploration exploration.launch.py

Training Data Collection

  1. Launch a simalation or real robot that publishes occupancy grid maps to the /map topic.
  2. Then ros2 run frontier_exploration collection_node
    • This will preprocess the map through simple filtering operations
    • Save a map after the robot has travelled beyond a distance threshold

Dataset

Our dataset is available at the link above.

frontier_exploration's People

Contributors

adrian-soch avatar doomse avatar mil0sou 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.