Publish ROS message when shape animation is finished