From 33916c87e2cee668d724bbc0bfc5db9e091351ca Mon Sep 17 00:00:00 2001 From: edkoch Date: Tue, 15 Sep 2020 15:24:22 -0700 Subject: [PATCH] Added topic names for collision avoidance --- include/vb_util_lib/topics.h | 3 +++ src/vb_util_lib/topics.cpp | 3 +++ 2 files changed, 6 insertions(+) diff --git a/include/vb_util_lib/topics.h b/include/vb_util_lib/topics.h index 518d5f2..1ed5e23 100644 --- a/include/vb_util_lib/topics.h +++ b/include/vb_util_lib/topics.h @@ -83,6 +83,9 @@ class am_topics static constexpr char SENSOR_SC3_VISIBLE_IMAGE[] = "/sensor/sc3/visible/image"; static constexpr char SENSOR_SC3_VISIBLE_CAMERA_INFO[] = "/sensor/sc3/visible/camera_info"; + static constexpr char SENSOR_COLLISION[] = "/sensor/collision"; + static constexpr char SENSOR_COLLISION_VIEWS[] = "/sensor/collision_views"; + static constexpr char SENSOR_DISTANCE_AGL[] = "/sensor/distance/agl"; static constexpr char SENSOR_DISTANCE_AGL_LW[] = "/sensor/distance/agl_lw"; static constexpr char SENSOR_DISTANCE_DISTANCES_LW20[] = "/sensor/distance/distances_lw20"; diff --git a/src/vb_util_lib/topics.cpp b/src/vb_util_lib/topics.cpp index d41e4be..1038a1a 100644 --- a/src/vb_util_lib/topics.cpp +++ b/src/vb_util_lib/topics.cpp @@ -77,6 +77,9 @@ constexpr char am_topics::SENSOR_SC3_POINTCLOUD[]; constexpr char am_topics::SENSOR_SC3_VISIBLE_IMAGE[]; constexpr char am_topics::SENSOR_SC3_VISIBLE_CAMERA_INFO[]; +constexpr char am_topics::SENSOR_COLLISION[]; +constexpr char am_topics::SENSOR_COLLISION_VIEWS[]; + constexpr char am_topics::SENSOR_DISTANCE_AGL[]; constexpr char am_topics::SENSOR_DISTANCE_AGL_LW[]; constexpr char am_topics::SENSOR_DISTANCE_DISTANCES_LW20[];