What is the proper way to call clear rosservice in rospy? [closed]
I have tried
rospy.wait_for_service('clear')
clear = rospy.ServiceProxy('clear', std_srvs/Empty)
as well as what was posted here https://answers.ros.org/question/1279... but still cannot get it to work. The clear rosservice works fine from terminal.