GithubHelp home page GithubHelp logo

mynameiscosmo / lidar_body_tracking Goto Github PK

View Code? Open in Web Editor NEW
76.0 3.0 30.0 1.16 MB

ROS Catkin package to track people using octree and cluster extraction

CMake 42.55% C++ 52.78% Python 4.67%
lidar cluster-extraction ros catkin quanergy person-tracking

lidar_body_tracking's Introduction

lidar_body_tracking

ROS Catkin package to track people using ortree and cluster extraction from a fixed point.
Sensor Used for testing: Quanergy M8
Written and tested on: Ubuntu 16.04, ROS Kinetic

Dependencies

This package depends on the people_msgs package:
kdhansen/people

  1. sudo apt install ros-kinetic-easy-markers ros-kinetic-kalman-filter
  2. git clone https://github.com/kdhansen/people ~/catkin_ws/src

Installation

  1. Make your catkin workspace:
    1. mkdir -p ~/catkin_ws/src
    2. catkin_init_workspace ~/catkin_ws/src
    3. catkin_make -C ~/catkin_ws
  2. Clone kdhansen/people to your workspace:
    1. git clone https://github.com/kdhansen/people ~/catkin_ws/src
  3. Clone this repo to your workspace:
    1. git clone https://github.com/MyNameIsCosmo/lidar_body_tracking ~/catkin_ws/src
  4. Source your workspace
    1. source ~/catkin_ws/devel/setup.sh
  5. Build your workspace
    1. catkin_make -C ~/catkin_ws --pkg people_msgs
    2. catkin_make -C ~/catkin_ws

Running the tracking

  1. Initialize your LIDAR, or play your ROSBAG
    1. rosbag play -l bagname.bag
  2. Launch
    1. source ~/catkin_ws/devel/setup.sh
    2. roslaunch lidar_body_tracking lidar_body_tracking.launch

Notes

  1. The URDF frame is QP308. You can change this in /urdf/m8.launch.xacro
  2. You can change the default topics in the launch file /launch/lidar_body_tracking.launch

TODO:

  • Dynamic Reconfigure for Link, Leaf size, min cluster, etc
  • ROSParam for topics
  • Clustering of indicies for person detection
  • Output potential people to a topic
    • Calculate person velocity
    • Calculate certainty of person
    • Estimate person height, size
    • Track person based on previous location
    • people_msgs/Person does not include orientation
  • Control an RVIZ marker or something
  • Support body tracking while lidar is moving, loop closure and Odom tracking.
  • Comment and document code
    • Object-oriented
    • Clean-up code

References

ROS WIKI URDF
ROS WIKI Xacro Reference

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.