ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

How can I put noise to my P3DX model?

asked 2015-07-08 06:49:13 -0500

Alvaro Salcedo gravatar image

updated 2015-07-14 06:56:40 -0500

Hi Ros Users :

I am trying to put noise to my P3DX model wich is https://github.com/RafBerkvens/ua_ros... Because the model behaviour is unrealistic.

Does Anybody know what I must modify in the code to do that?

Thanks!!!!

In respose to your comment @Javi V.

I modify this part of the 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>
</plugin>
</gazebo>

in Gaussian noise but it does the same... any ideas? Do I have to change something else to make this work ?

edit retag flag offensive close merge delete

Comments

Have you taken a look at https://github.com/RafBerkvens/ua_ros... ? Different Gazebo plugins are being used and hopefully you can set noise of those.

Javier V. Gómez gravatar image Javier V. Gómez  ( 2015-07-08 07:13:20 -0500 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2015-07-08 07:36:44 -0500

anonymous user

Anonymous

Have you considered multiplying the data individually by a random number generated from the distribution of your choosing? Eg a gaussian function with mean of 1 and suitably high standard deviation might work well.

edit flag offensive delete link more

Comments

First of all, thanks for answering. Where can I find a gaussian function?

Alvaro Salcedo gravatar image Alvaro Salcedo  ( 2015-07-14 06:51:55 -0500 )edit
anonymous userAnonymous ( 2015-07-26 15:26:28 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2015-07-08 06:49:13 -0500

Seen: 468 times

Last updated: Jul 14 '15