RoboJackets / igvc-software

The code base for the RoboNav team's IGVC robot.
https://robojackets.org/teams/robonav/
MIT License
91 stars 120 forks source link

Igvc gazebo/ground truth #884

Closed dgorin6 closed 2 years ago

dgorin6 commented 2 years ago

Description

This feature adds noise to the x and y pose of the robot whenever groundTruthCallback() is called in the ground_truth node. The noise is set as a parameter in the simulation.launch file. The value of the noise represents the standard deviation of the normal distribution.

This PR does the following:

Fixes #552

Testing steps

Test Case 1

  1. Set the value of x_noise_std_dev,y_noise_std_dev,z_noise_std_dev,roll_std_dev,pitch_std_dev, and yaw_std_dev in simulation.launch to a non-zero value
  2. rostopic echo/ground_truth and check position and RPY values

Expectation: Noise is added directly to the x and y pose

Self Checklist