From ca809141727663a05f282215aa6877f9a3512d69 Mon Sep 17 00:00:00 2001
From: Tommy Persson <tommy.persson@liu.se>
Date: Wed, 6 Apr 2016 09:51:51 +0200
Subject: [PATCH] Add service call for vis geopoint

---
 CMakeLists.txt        | 1 +
 package.xml           | 2 ++
 srv/SMVisGeopoint.srv | 9 +++++++++
 3 files changed, 12 insertions(+)
 create mode 100644 srv/SMVisGeopoint.srv

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 385837a..8f87267 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -57,6 +57,7 @@ add_service_files(
   FILES
   SMVisPolygon.srv
   SMVisPattern.srv
+  SMVisGeopoint.srv
   TSTAbortExecutor.srv
   TSTContinueExecutor.srv
   TSTCreateExecutor.srv
diff --git a/package.xml b/package.xml
index 77b7948..4c2a5e4 100644
--- a/package.xml
+++ b/package.xml
@@ -43,10 +43,12 @@
   <build_depend>roscpp</build_depend>
   <build_depend>rospy</build_depend>
   <build_depend>geographic_msgs</build_depend>
+  <build_depend>std_msgs</build_depend>
   <build_depend>message_generation</build_depend>
   <run_depend>roscpp</run_depend>
   <run_depend>rospy</run_depend>
   <run_depend>geographic_msgs</run_depend>
+  <run_depend>std_msgs</run_depend>
   <run_depend>message_runtime</run_depend>
 
 
diff --git a/srv/SMVisGeopoint.srv b/srv/SMVisGeopoint.srv
new file mode 100644
index 0000000..ea8e45e
--- /dev/null
+++ b/srv/SMVisGeopoint.srv
@@ -0,0 +1,9 @@
+geographic_msgs/GeoPoint geopoint
+float64 ground_alt
+bool show_ground_alt
+string text
+std_msgs/ColorRGBA color
+---
+bool success
+int32 error
+string reason
-- 
GitLab