Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pull Request - Point Cloud Publisher #2

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

dehavenm
Copy link

I've just updated my Python interface node with code for converting the depth image data from AirSim into ROS Pointcloud2 messages and publishing them. Could someone please look at it? Thank you.

aravindk2604 and others added 11 commits September 5, 2018 19:30
New files:

airsim_iface.py - new AirSim-ROS interface node, intended to use
PID loops to properly control the car in response to velocity
commands published on ROS topic /cmd_vel_mux/input/teleop
(change topic in line 259 when using node with robotic path planning)

pid.py - PID loop code used by airsim_iface.py for throttle and
steering control

Instructions for installing dependencies and running have been
updated for airsim_iface.py
Added function to convert depth image data from Airsim to XYZRGB
point cloud ROS message, based on code from the following repos:

https://github.com/Microsoft/AirSim/blob/master/PythonClient/multirotor/point_cloud.py

https://github.com/spillai/pybot/blob/master/pybot/externals/ros/pointclouds.py

Publisher is currently set to publish point cloud on
topic front_center/point_cloud (line 322, airsim_interface.py)
new file:   launch/laserscan.launch - launch file for built-in ROS node
depthimage_to_laserscan.launch, converting depth image from AirSim
virtual depth camera to laser scan data (emulating LIDAR unit)

new file:   launch/pointcloud.launch - launch file for built-in ROS
nodelet point_cloud_xyzrgb, converting depth image into point cloud

removed code from airsim_iface.py intended to generate point clouds

Note: currently, both files appear to launch their respective nodes correctly,
but neither is able to produce valid data.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants