GithubHelp home page GithubHelp logo

realsense_spencer_adaptor's Introduction

realsense_spencer_adaptor

A ROS package for running spencer people tracking from a realsense D435i camera. Contains:

  • a node realsense_spencer_adaptor.py for changing the encoding on the realsense depth images to something spencer can handle.
  • a launch file realsense_people_tracking.launch, which launches the realsense driver, the spencer algorithm and the adaptor node, and remaps the appropriate topics to ensure everything is connected correctly.

Usage

  1. Install the realsense driver and spencer tracking.
  2. Clone and catkin_make this package in your catkin workspace. Source the workspace.
  3. roslaunch realsense_spencer_adaptor realsense_people_tracking.launch

References

realsense_spencer_adaptor's People

Contributors

tim-fan avatar

Stargazers

 avatar  avatar Zhitao Zheng avatar LexRobot avatar Krishna Adithya V avatar  avatar HsiangHsi Chen avatar Ting Chang avatar

Watchers

James Cloos avatar  avatar  avatar  avatar

realsense_spencer_adaptor's Issues

Enabling cudaHOG with Intel RealSense

I'm currently using Intel RealSense D435. In order to use the Intel RealSense, I'm using this package. I want to use CudaHOG as well. But I don't know what modifications I should do to launch file to remap topics. Does anyone know how to use cudaHOG with RealSense D435?

No tracking result using D435 camera

Hello, can I use this package with D435 camera instead of the D435i?

I try to run the package but there is no tracking result.

I change the paramter in rs_rgbd.launch to <arg name="rgb" default="rgb" />.

I feel something wrong with the topic name from the realsense camera. I try to comment the python file and spencer launch file in realsense_people_tracking.launch. I only launched the realsense camear launch file and below is all the topics that I get when I rostopic list:

alex-beh@alexbeh-ThinkPad-T490:~$ rostopic list
/diagnostics
/rosout
/rosout_agg
/spencer/sensors/rgbd_front_top/aligned_depth_to_color/camera_info
/spencer/sensors/rgbd_front_top/aligned_depth_to_color/image_raw
/spencer/sensors/rgbd_front_top/aligned_depth_to_color/image_raw/compressed
/spencer/sensors/rgbd_front_top/aligned_depth_to_color/image_raw/compressed/parameter_descriptions
/spencer/sensors/rgbd_front_top/aligned_depth_to_color/image_raw/compressed/parameter_updates
/spencer/sensors/rgbd_front_top/aligned_depth_to_color/image_raw/compressedDepth
/spencer/sensors/rgbd_front_top/aligned_depth_to_color/image_raw/compressedDepth/parameter_descriptions
/spencer/sensors/rgbd_front_top/aligned_depth_to_color/image_raw/compressedDepth/parameter_updates
/spencer/sensors/rgbd_front_top/aligned_depth_to_color/image_raw/theora
/spencer/sensors/rgbd_front_top/aligned_depth_to_color/image_raw/theora/parameter_descriptions
/spencer/sensors/rgbd_front_top/aligned_depth_to_color/image_raw/theora/parameter_updates
/spencer/sensors/rgbd_front_top/aligned_depth_to_infra1/camera_info
/spencer/sensors/rgbd_front_top/aligned_depth_to_infra1/image_raw
/spencer/sensors/rgbd_front_top/aligned_depth_to_infra1/image_raw/compressed
/spencer/sensors/rgbd_front_top/aligned_depth_to_infra1/image_raw/compressed/parameter_descriptions
/spencer/sensors/rgbd_front_top/aligned_depth_to_infra1/image_raw/compressed/parameter_updates
/spencer/sensors/rgbd_front_top/aligned_depth_to_infra1/image_raw/compressedDepth
/spencer/sensors/rgbd_front_top/aligned_depth_to_infra1/image_raw/compressedDepth/parameter_descriptions
/spencer/sensors/rgbd_front_top/aligned_depth_to_infra1/image_raw/compressedDepth/parameter_updates
/spencer/sensors/rgbd_front_top/aligned_depth_to_infra1/image_raw/theora
/spencer/sensors/rgbd_front_top/aligned_depth_to_infra1/image_raw/theora/parameter_descriptions
/spencer/sensors/rgbd_front_top/aligned_depth_to_infra1/image_raw/theora/parameter_updates
/spencer/sensors/rgbd_front_top/color/camera_info
/spencer/sensors/rgbd_front_top/color/image_raw
/spencer/sensors/rgbd_front_top/color/image_raw/compressed
/spencer/sensors/rgbd_front_top/color/image_raw/compressed/parameter_descriptions
/spencer/sensors/rgbd_front_top/color/image_raw/compressed/parameter_updates
/spencer/sensors/rgbd_front_top/color/image_raw/compressedDepth
/spencer/sensors/rgbd_front_top/color/image_raw/compressedDepth/parameter_descriptions
/spencer/sensors/rgbd_front_top/color/image_raw/compressedDepth/parameter_updates
/spencer/sensors/rgbd_front_top/color/image_raw/theora
/spencer/sensors/rgbd_front_top/color/image_raw/theora/parameter_descriptions
/spencer/sensors/rgbd_front_top/color/image_raw/theora/parameter_updates
/spencer/sensors/rgbd_front_top/depth/camera_info
/spencer/sensors/rgbd_front_top/depth/image_rect_raw
/spencer/sensors/rgbd_front_top/depth/image_rect_raw/compressed
/spencer/sensors/rgbd_front_top/depth/image_rect_raw/compressed/parameter_descriptions
/spencer/sensors/rgbd_front_top/depth/image_rect_raw/compressed/parameter_updates
/spencer/sensors/rgbd_front_top/depth/image_rect_raw/compressedDepth
/spencer/sensors/rgbd_front_top/depth/image_rect_raw/compressedDepth/parameter_descriptions
/spencer/sensors/rgbd_front_top/depth/image_rect_raw/compressedDepth/parameter_updates
/spencer/sensors/rgbd_front_top/depth/image_rect_raw/theora
/spencer/sensors/rgbd_front_top/depth/image_rect_raw/theora/parameter_descriptions
/spencer/sensors/rgbd_front_top/depth/image_rect_raw/theora/parameter_updates
/spencer/sensors/rgbd_front_top/depth_registered/points
/spencer/sensors/rgbd_front_top/extrinsics/depth_to_color
/spencer/sensors/rgbd_front_top/extrinsics/depth_to_infra1
/spencer/sensors/rgbd_front_top/extrinsics/depth_to_infra2
/spencer/sensors/rgbd_front_top/infra1/camera_info
/spencer/sensors/rgbd_front_top/infra1/image_rect_raw
/spencer/sensors/rgbd_front_top/infra1/image_rect_raw/compressed
/spencer/sensors/rgbd_front_top/infra1/image_rect_raw/compressed/parameter_descriptions
/spencer/sensors/rgbd_front_top/infra1/image_rect_raw/compressed/parameter_updates
/spencer/sensors/rgbd_front_top/infra1/image_rect_raw/compressedDepth
/spencer/sensors/rgbd_front_top/infra1/image_rect_raw/compressedDepth/parameter_descriptions
/spencer/sensors/rgbd_front_top/infra1/image_rect_raw/compressedDepth/parameter_updates
/spencer/sensors/rgbd_front_top/infra1/image_rect_raw/theora
/spencer/sensors/rgbd_front_top/infra1/image_rect_raw/theora/parameter_descriptions
/spencer/sensors/rgbd_front_top/infra1/image_rect_raw/theora/parameter_updates
/spencer/sensors/rgbd_front_top/infra2/camera_info
/spencer/sensors/rgbd_front_top/infra2/image_rect_raw
/spencer/sensors/rgbd_front_top/infra2/image_rect_raw/compressed
/spencer/sensors/rgbd_front_top/infra2/image_rect_raw/compressed/parameter_descriptions
/spencer/sensors/rgbd_front_top/infra2/image_rect_raw/compressed/parameter_updates
/spencer/sensors/rgbd_front_top/infra2/image_rect_raw/compressedDepth
/spencer/sensors/rgbd_front_top/infra2/image_rect_raw/compressedDepth/parameter_descriptions
/spencer/sensors/rgbd_front_top/infra2/image_rect_raw/compressedDepth/parameter_updates
/spencer/sensors/rgbd_front_top/infra2/image_rect_raw/theora
/spencer/sensors/rgbd_front_top/infra2/image_rect_raw/theora/parameter_descriptions
/spencer/sensors/rgbd_front_top/infra2/image_rect_raw/theora/parameter_updates
/spencer/sensors/rgbd_front_top/realsense2_camera_manager/bond
/spencer/sensors/rgbd_front_top/rgb/image_rect_color
/spencer/sensors/rgbd_front_top/rgb/image_rect_color/compressed
/spencer/sensors/rgbd_front_top/rgb/image_rect_color/compressed/parameter_descriptions
/spencer/sensors/rgbd_front_top/rgb/image_rect_color/compressed/parameter_updates
/spencer/sensors/rgbd_front_top/rgb/image_rect_color/compressedDepth
/spencer/sensors/rgbd_front_top/rgb/image_rect_color/compressedDepth/parameter_descriptions
/spencer/sensors/rgbd_front_top/rgb/image_rect_color/compressedDepth/parameter_updates
/spencer/sensors/rgbd_front_top/rgb/image_rect_color/theora
/spencer/sensors/rgbd_front_top/rgb/image_rect_color/theora/parameter_descriptions
/spencer/sensors/rgbd_front_top/rgb/image_rect_color/theora/parameter_updates
/spencer/sensors/rgbd_front_top/rgb_camera/auto_exposure_roi/parameter_descriptions
/spencer/sensors/rgbd_front_top/rgb_camera/auto_exposure_roi/parameter_updates
/spencer/sensors/rgbd_front_top/rgb_camera/parameter_descriptions
/spencer/sensors/rgbd_front_top/rgb_camera/parameter_updates
/spencer/sensors/rgbd_front_top/rgb_rectify_color/parameter_descriptions
/spencer/sensors/rgbd_front_top/rgb_rectify_color/parameter_updates
/spencer/sensors/rgbd_front_top/stereo_module/auto_exposure_roi/parameter_descriptions
/spencer/sensors/rgbd_front_top/stereo_module/auto_exposure_roi/parameter_updates
/spencer/sensors/rgbd_front_top/stereo_module/parameter_descriptions
/spencer/sensors/rgbd_front_top/stereo_module/parameter_updates
/tf
/tf_static

Is this normal to have both .../color/... and .../rgb/... topic? Because seem like the spencer didn't subscribe to the correct Image topic.

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.