osrf / vrx

Virtual RobotX (VRX) resources.
Apache License 2.0
390 stars 180 forks source link

Requesting Additional Information for Working With Simulator #648

Closed magicbycalvin closed 1 year ago

magicbycalvin commented 1 year ago

I have been attempting to use the VRX simulator as part of my research in optimal trajectory generation. Unfortunately, I am unable to locate any information that can aid in my work. For example, I would love to see how others have localized the robot using either custom code or a ROS package such as robot_localization. In addition to that, I am curious about the vehicle's specs such as the amount of thrust the thrusters can provide, what the maximum thrust value is, and the noise characteristics of the GPS and IMU. Any pointers, code, or other resources would be very much appreciated.

Thank you for your time!

M1chaelM commented 1 year ago

Hi, thanks for using VRX! If you are just getting started, a good place to begin is the Wiki: https://github.com/osrf/vrx/wiki This should go a long way toward answering most of the questions you've listed above. If you are requesting a new or updated tutorial on a particular aspect of VRX, please open a new issue using the bug template form and include a description of your setup and the proposed content of the tutorial. Hope that helps!

magicbycalvin commented 1 year ago

Thanks for your quick reply! I have taken a look at the wiki and I probably overlooked something. Is there any material with regards to localization (I am personally interested in GPS/IMU sensor fusion, but SLAM information could be interesting as well)?

I will go ahead and make a specific request for a tutorial if I am unable to find what I am looking for. Depending on how my work goes, I may even create a PR to include the steps I took.

Thanks again!

EDIT:

For anyone who needs a quick solution for localization, you can enable the ground truth measurement. This is done by editing the file vrx/vrx_urdf/wamv_gazebo/urdf/wamv_gazebo.urdf.xacro. Specifically, you should change the line <xacro:arg name="ground_truth_enabled" default="false" /> to <xacro:arg name="ground_truth_enabled" default="true" />.

mroglan commented 1 year ago

@magicbycalvin if you are still looking for an example of using robot_localization, you can check out Georgia Tech's localization. We use GPS and IMU for localization, and it has been tested in VRX.