From 3cb210c9f307f4668d9ff6e75eff6b968bc54796 Mon Sep 17 00:00:00 2001
From: Johannes Mey <johannes.mey@tu-dresden.de>
Date: Mon, 31 Aug 2020 10:26:50 +0200
Subject: [PATCH] use updated simulation_util API

---
 src/pick_place_tutorial.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/pick_place_tutorial.cpp b/src/pick_place_tutorial.cpp
index f29e72c..41503c4 100644
--- a/src/pick_place_tutorial.cpp
+++ b/src/pick_place_tutorial.cpp
@@ -234,7 +234,7 @@ void addCollisionObjects(moveit::planning_interface::PlanningSceneInterface& pla
   // the orientation is always the default
   table1pose.orientation.w = 1;
 
-  GazeboZoneSpawner::spawnPrimitive("table1", table1, table1pose, 20, true);
+  GazeboZoneSpawner::spawnPrimitive("table1", table1, table1pose, std_msgs::ColorRGBA(), 20, true);
   // END_SUB_TUTORIAL
 
   collision_objects[0].operation = collision_objects[0].ADD;
@@ -271,7 +271,7 @@ void addCollisionObjects(moveit::planning_interface::PlanningSceneInterface& pla
   // the orientation is always the default
   table2pose.orientation.w = 1;
 
-  GazeboZoneSpawner::spawnPrimitive("table2", table2, table2pose, 20, true);
+  GazeboZoneSpawner::spawnPrimitive("table2", table2, table2pose, std_msgs::ColorRGBA(), 20, true);
   // END_SUB_TUTORIAL
 
   collision_objects[1].operation = collision_objects[1].ADD;
@@ -308,7 +308,7 @@ void addCollisionObjects(moveit::planning_interface::PlanningSceneInterface& pla
   // the orientation is always the default
   objectpose.orientation.w = 1;
 
-  GazeboZoneSpawner::spawnPrimitive("pickObject", object, objectpose, 1);
+  GazeboZoneSpawner::spawnPrimitive("pickObject", object, objectpose, std_msgs::ColorRGBA(), 1);
   // END_SUB_TUTORIAL
 
   collision_objects[2].operation = collision_objects[2].ADD;
-- 
GitLab