File tree Expand file tree Collapse file tree
rover_4wd_description/urdf Expand file tree Collapse file tree Original file line number Diff line number Diff line change 205205 </plugin >
206206
207207 <plugin filename =" libNoisyOdometryPlugin.so" name =" custom_plugins::NoisyOdometryPlugin" >
208- <ros_topic >/odom</ros_topic >
209- <gz_cmd_vel_topic >/cmd_vel</gz_cmd_vel_topic >
208+ <ros_topic >/odom_noisy</ros_topic >
210209 <frame_id >odom</frame_id >
211210 <child_frame_id >base_link</child_frame_id >
212- <alpha1 >0.005</alpha1 >
213- <alpha2 >0.005</alpha2 >
214- <alpha3 >0.003</alpha3 >
215- <alpha4 >0.003</alpha4 >
216- <slip_factor >0.15</slip_factor >
217- <lateral_slip_ratio >0.25</lateral_slip_ratio >
211+
212+ <!-- must match the DiffDrive plugin values above — one joint per side -->
213+ <left_joint >fl_wheel_to_chassis</left_joint >
214+ <right_joint >fr_wheel_to_chassis</right_joint >
215+ <wheel_separation >0.24</wheel_separation >
216+ <wheel_radius >0.122</wheel_radius >
217+
218+ <alpha1 >1.5</alpha1 >
219+ <alpha2 >1.5</alpha2 >
220+ <alpha3 >0.8</alpha3 >
221+ <alpha4 >0.8</alpha4 >
218222 </plugin >
219223 </gazebo >
220224
Original file line number Diff line number Diff line change 205205 </plugin >
206206
207207 <plugin filename =" libNoisyOdometryPlugin.so" name =" custom_plugins::NoisyOdometryPlugin" >
208- <ros_topic >/odom</ros_topic >
209- <gz_cmd_vel_topic >/cmd_vel</gz_cmd_vel_topic >
208+ <ros_topic >/odom_noisy</ros_topic >
210209 <frame_id >odom</frame_id >
211210 <child_frame_id >base_link</child_frame_id >
212- <alpha1 >0.0005</alpha1 >
213- <alpha2 >0.0005</alpha2 >
214- <alpha3 >0.0002</alpha3 >
215- <alpha4 >0.0002</alpha4 >
216- <slip_factor >0.05</slip_factor >
217- <lateral_slip_ratio >0.15</lateral_slip_ratio >
211+
212+ <!-- must match the DiffDrive plugin values above — one joint per side -->
213+ <left_joint >fl_wheel_to_chassis</left_joint >
214+ <right_joint >fr_wheel_to_chassis</right_joint >
215+ <wheel_separation >0.24</wheel_separation >
216+ <wheel_radius >0.122</wheel_radius >
217+
218+ <alpha1 >0.1</alpha1 >
219+ <alpha2 >0.1</alpha2 >
220+ <alpha3 >0.05</alpha3 >
221+ <alpha4 >0.05</alpha4 >
218222 </plugin >
219223 </gazebo >
220224
Original file line number Diff line number Diff line change 567567 <wheel_radius >0.033</wheel_radius >
568568 <wheel_separation >0.287</wheel_separation >
569569
570- <alpha1 >0 .5</alpha1 >
571- <alpha2 >0 .5</alpha2 >
572- <alpha3 >0.3 </alpha3 >
573- <alpha4 >0.3 </alpha4 >
570+ <alpha1 >1 .5</alpha1 >
571+ <alpha2 >1 .5</alpha2 >
572+ <alpha3 >0.8 </alpha3 >
573+ <alpha4 >0.8 </alpha4 >
574574 </plugin >
575575
576576 </model >
Original file line number Diff line number Diff line change 567567 <wheel_radius >0.033</wheel_radius >
568568 <wheel_separation >0.287</wheel_separation >
569569
570- <alpha1 >0.05 </alpha1 >
571- <alpha2 >0.05 </alpha2 >
572- <alpha3 >0.02 </alpha3 >
573- <alpha4 >0.02 </alpha4 >
570+ <alpha1 >0.1 </alpha1 >
571+ <alpha2 >0.1 </alpha2 >
572+ <alpha3 >0.05 </alpha3 >
573+ <alpha4 >0.05 </alpha4 >
574574 </plugin >
575575
576576 </model >
Original file line number Diff line number Diff line change 567567 <wheel_radius >0.033</wheel_radius >
568568 <wheel_separation >0.287</wheel_separation >
569569
570- <alpha1 >0.2 </alpha1 >
571- <alpha2 >0.2 </alpha2 >
572- <alpha3 >0.1 </alpha3 >
573- <alpha4 >0.1 </alpha4 >
570+ <alpha1 >0.5 </alpha1 >
571+ <alpha2 >0.5 </alpha2 >
572+ <alpha3 >0.25 </alpha3 >
573+ <alpha4 >0.25 </alpha4 >
574574 </plugin >
575575
576576 </model >
You can’t perform that action at this time.
0 commit comments