Adding noise to P3DX model
Hi Ros users:
I am trying to add gaussian noise to velocities of P3DX. The model that I am using is from this source https://github.com/RafBerkvens/ua_ros... I have modified this part of code:
<!-- ground truth -->
<gazebo>
<plugin name="p3d_base_controller" filename="libgazebo_ros_p3d.so">
<alwaysOn>true</alwaysOn>
<updateRate>100.0</updateRate>
<bodyName>base_link</bodyName>
<topicName>${ns}/base_pose_ground_truth</topicName>
<gaussianNoise>0.01</gaussianNoise>
<frameName>map</frameName>
<!-- initialize odometry for fake localization -->
<xyzOffsets>0 0 0</xyzOffsets>
<rpyOffsets>0 0 0</rpyOffsets>
<velocityGaussianNoise>10 10 10</velocityGaussianNoise>
</plugin>
</gazebo>
I change the part where it says "gaussiannoise nad velocityGaussianNoise" but it works in the same way.
Does anybody know how i can add gaussian noise to P3DX model??
Thank you so much.