Hello, again, community!
I found another error in the code of a script:
import math, rospy
from utilities import set_model_state, get_model_state, \
pause_physics, unpause_physics
from geometry_msgs.msg import Pose, Point, Quaternion
from tf.transformations import quaternion_about_axis
pause_physics()
position = Point(x=0.5, y=0, z=0.5)
for angle in range(0,360,10):
theta = math.radians(angle)
q = quaternion_about_axis(theta, (0,0,1))
orientation = Quaternion(*q)
set_model_state('coke_can', Pose(position, orientation))
rospy.sleep(0.1)
This code above doesn’t appear in the coke can.