Skip to content

Commit

Permalink
Add particle cloud display plugin for RViz (ros-navigation#1688)
Browse files Browse the repository at this point in the history
* Add particle cloud display rviz plugin

Signed-off-by: Sarthak Mittal <sarthakmittal2608@gmail.com>

* General refactoring

* Fix header guards

* Update bringup rviz files and default values
  • Loading branch information
naiveHobo authored Jan 6, 2021
1 parent a809b9d commit b641809
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 18 deletions.
13 changes: 4 additions & 9 deletions nav2_bringup/bringup/rviz/nav2_default_view.rviz
Original file line number Diff line number Diff line change
Expand Up @@ -214,24 +214,19 @@ Visualization Manager:
Use Timestamp: false
Value: true
- Alpha: 1
Arrow Length: 0.019999999552965164
Axes Length: 0.30000001192092896
Axes Radius: 0.009999999776482582
Class: rviz_default_plugins/PoseArray
Class: nav2_rviz_plugins/ParticleCloud
Color: 0; 180; 0
Enabled: true
Head Length: 0.07000000029802322
Head Radius: 0.029999999329447746
Max Arrow Length: 0.3
Min Arrow Length: 0.02
Name: Amcl Particle Swarm
Shaft Length: 0.23000000417232513
Shaft Radius: 0.009999999776482582
Shape: Arrow (Flat)
Topic:
Depth: 5
Durability Policy: Volatile
History Policy: Keep Last
Reliability Policy: Best Effort
Value: /particlecloud
Value: /particle_cloud
Value: true
- Class: rviz_common/Group
Displays:
Expand Down
13 changes: 4 additions & 9 deletions nav2_bringup/bringup/rviz/nav2_namespaced_view.rviz
Original file line number Diff line number Diff line change
Expand Up @@ -164,24 +164,19 @@ Visualization Manager:
Use Timestamp: false
Value: true
- Alpha: 1
Arrow Length: 0.019999999552965164
Axes Length: 0.30000001192092896
Axes Radius: 0.009999999776482582
Class: rviz_default_plugins/PoseArray
Class: nav2_rviz_plugins/ParticleCloud
Color: 0; 180; 0
Enabled: true
Head Length: 0.07000000029802322
Head Radius: 0.029999999329447746
Max Arrow Length: 0.3
Min Arrow Length: 0.02
Name: Amcl Particle Swarm
Shaft Length: 0.23000000417232513
Shaft Radius: 0.009999999776482582
Shape: Arrow (Flat)
Topic:
Depth: 5
Durability Policy: Volatile
History Policy: Keep Last
Reliability Policy: Best Effort
Value: <robot_namespace>/particlecloud
Value: <robot_namespace>/particle_cloud
Value: true
- Class: rviz_common/Group
Displays:
Expand Down

0 comments on commit b641809

Please sign in to comment.