JuliaMPC / MAVs

Michigan Autonomous Vehicles
14 stars 14 forks source link

LiDAR simulation in Gazebo #4

Open huckl3b3rry87 opened 6 years ago

huckl3b3rry87 commented 6 years ago

New Feature

This feature will leverage Gazebo to simulate a LiDAR. With that vehicle dynamics will simulated by Chrono

Status

With this commit a HMMWV vehicle is visualized in Gazebo along with an obstacle. By running

roslaunch mavs_gazebo move_hmmwv.jl

Gazebo pops up and the vehicle moves along the y direction past an obstacle while publishing lidar points as

mavs/mavs_gazebo$ rostopic type lidar_points
sensor_msgs/PointCloud2

TODO

huckl3b3rry87 commented 6 years ago

@tqshao for you to test this with the obstacle_detector package, you will need to complete task 11) and task 9). I started both of these and there is an example of task 11) being done in my AVExamples.jl package. We should add the point_cloud_converter package for doing this conversion, if it is not already in Autoware (need to check). Can you please take care of at least these two tasks from the list above?

huckl3b3rry87 commented 6 years ago

Given this commit TODO items 1,3,4,5,6,7 are complete.

It can be tested with:

roslaunch mavs_gazebo demo.launch
huckl3b3rry87 commented 6 years ago

Program to follow the vehicle http://osrf-distributions.s3.amazonaws.com/gazebo/api/dev/GuiEvents_8hh_source.html

http://answers.gazebosim.org/question/8437/how-to-make-the-camera-track-a-moving-robot/