Giter Club home page Giter Club logo

edge-conde's Introduction

local_mapping_ros

Local mapper package. The role of the local mapper is to take the RGB-D camera images and output the cone classes and positions in 3D space.

Configurations such as tf names or topics can be updated in the launch file of this package.

Inputs

  • /camera/color/image_raw (sensor_msgs/Image): Color image
  • /camera/depth/image_rect_raw (sensor_msgs/Image): Depth image
  • /camera/depth/camera_info (sensor_msgs/CameraInfo): Depth camera intrinsic parameters

Outputs

  • /cones (sensor_msgs/ConeArray): Cone array in car axis
  • /local_cone_markers (visualization_msgs/MarkerArray): Array of markers for visualization in RViz or Foxglove

Requirements

  • ROS 2 Humble
  • CMake
  • LibTorch
  • lart_msgs
  • C++17 compiler

or

  • Docker

Building

If you aren't working in this package and just want to use it, or deploying to production, Docker is recommended (takes a lot of time the first time but shouldn't break).

Bare metal

  • Install the dependencies listed above.
  • Make a new directory for your workspace.
    • Example: mkdir -p ~/catkin_ws/src
  • Put this directory in the src directory of the workspace.
  • Run the command source /opt/ros/humble/setup.bash.
  • From the root of the workspace run:
    • rosdep install -i --from-path src --rosdistro humble -y
    • colcon build

Docker

  • Run the command docker build -t local_mapping . and wait about some centuries.
  • Run the command docker run --gpus all local_mapping.

edge-conde's People

Contributors

carlostojal avatar

Stargazers

 avatar

Watchers

Hugo Costelha avatar

edge-conde's Issues

Validate the depth range

Validate the depth range of the local mapper (including the camera's depth sensing and the cone detection range).
Consider cones are 5 meters apart and the car needs to "see" at least 2 cones in front on each side.

Gather the TorchScript model from the package

The TorchScript model is supposed to be gathered from the package's "model" directory. Instead, it is being gathered from the workspace.
Also, write documentation explaining where to put the model and how to configure the name.

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.