I am trying to add a collision object using another way than
planning_scene.addCollisionObjects(std::vector
so I am trying to publish on (collision_object) and (attached_collision_object) topics using
ros::Publisher pub_co = nh2.advertise("collision_object", 10);
ros::Publisher pub_aco = nh2.advertise("attached_collision_object", 10);
However nothing shows in Rviz, when i echo the topic the msg is shown but nothing in Rviz
I also tried using moveit_visual_tools method
visual_tools_->publishCollisionBlock(------)
but also i get nothing !
any ideas why ?
↧