Skip to content

Commit

Permalink
Update bringup rviz files and fix linking issue
Browse files Browse the repository at this point in the history
  • Loading branch information
naiveHobo committed May 6, 2020
1 parent cbe6555 commit 7c91701
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
6 changes: 3 additions & 3 deletions nav2_bringup/bringup/rviz/nav2_default_view.rviz
Original file line number Diff line number Diff line change
Expand Up @@ -214,11 +214,11 @@ Visualization Manager:
Use Timestamp: false
Value: true
- Alpha: 1
Class: nav2_rviz_plugins/ParticleCloudDisplay
Class: nav2_rviz_plugins/ParticleCloud
Color: 0; 180; 0
Enabled: true
Max Arrow Length: 0.10000000149011612
Min Arrow Length: 0.019999999552965164
Max Arrow Length: 0.3
Min Arrow Length: 0.02
Name: Amcl Particle Swarm
Shape: Arrow (Flat)
Topic:
Expand Down
6 changes: 3 additions & 3 deletions nav2_bringup/bringup/rviz/nav2_namespaced_view.rviz
Original file line number Diff line number Diff line change
Expand Up @@ -164,11 +164,11 @@ Visualization Manager:
Use Timestamp: false
Value: true
- Alpha: 1
Class: nav2_rviz_plugins/ParticleCloudDisplay
Class: nav2_rviz_plugins/ParticleCloud
Color: 0; 180; 0
Enabled: true
Max Arrow Length: 0.10000000149011612
Min Arrow Length: 0.019999999552965164
Max Arrow Length: 0.3
Min Arrow Length: 0.02
Name: Amcl Particle Swarm
Shape: Arrow (Flat)
Topic:
Expand Down
5 changes: 4 additions & 1 deletion nav2_rviz_plugins/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ if(BUILD_TESTING)
find_package(ament_cmake_gmock REQUIRED)
find_package(ament_index_cpp REQUIRED)
find_package(rviz_visual_testing_framework REQUIRED)
find_package(rviz_default_plugins REQUIRED)

set(TEST_INCLUDE_DIRS
${OGRE_INCLUDE_DIRS}
Expand All @@ -174,7 +175,9 @@ if(BUILD_TESTING)
${SKIP_DISPLAY_TESTS})
if(TARGET particle_cloud_display_test)
target_include_directories(particle_cloud_display_test PUBLIC ${TEST_INCLUDE_DIRS})
target_link_libraries(particle_cloud_display_test ${TEST_LINK_LIBRARIES})
target_link_libraries(particle_cloud_display_test
${TEST_LINK_LIBRARIES}
rviz_common::rviz_common)
ament_target_dependencies(particle_cloud_display_test ${TEST_TARGET_DEPENDENCIES})
endif()

Expand Down

0 comments on commit 7c91701

Please sign in to comment.