mit-acl / cadrl_ros

ROS package for dynamic obstacle avoidance for ground robots trained with deep RL
573 stars 157 forks source link

Question regarding pose information #24

Closed TomasMendozaHN closed 1 year ago

TomasMendozaHN commented 1 year ago

Hello :) First of all, great job! It's absolutely amazing what you all did for this research. As a total beginner in ROS, I would love it if you can clarify these for me:

  1. After building your environment, how do I run it?
  2. At any stage you run SLAM? I am wondering since I saw on the youtube video that SLAM was running...or, because you are suscribed to the "PoseStamped" message then you are able to obtain the global coordinates without having to explicitely run SLAM?

Again, I am just beginning to ROS and would love to understand it a bit better :) I hope you don't mind clarifying these :D Thank you!

mfe7 commented 1 year ago

After building the package, you can run the cadrl node using our launch file (e.g., roslaunch cadrl_ros cadrl_node.launch). You will probably need to remap some topics based on the rest of your autonomy stack.

When we deploy this on the robot, we do have a separate node that estimates the vehicle's pose. We typically would map the environment once with a SLAM package, then just use AMCL to localize in that map for future experiments and testing of the planning algorithms. The PoseStamped msg you refer to would be one of the outputs of the localization node.

TomasMendozaHN commented 1 year ago

Thank you very much!!! :)