# Report another error in Unit 2, section 2.4 and section 2.5

**URL:** <https://get-help.theconstruct.ai/t/report-another-error-in-unit-2-section-2-4-and-section-2-5/14424>\
**Category:** Basic Kinematics of Mobile Robots\
**Created:** [December 25, 2021, 5:24pm UTC](https://get-help.theconstruct.ai/t/report-another-error-in-unit-2-section-2-4-and-section-2-5/14424 "2021-12-25T17:24:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vasileios.tzimas](https://get-help.theconstruct.ai/user_avatar/get-help.theconstruct.ai/vasileios.tzimas/32/6560_2.png) [@vasileios.tzimas](https://get-help.theconstruct.ai/u/vasileios.tzimas)\
**Post date:** [December 25, 2021, 5:24pm UTC](https://get-help.theconstruct.ai/t/report-another-error-in-unit-2-section-2-4-and-section-2-5/14424/1 "2021-12-25T17:24:11Z")

</div>

Hello, again, community!

I found another error in the code of a script:

```auto
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.

---

<div class="post-metadata">

**Author:** ![albertoezquerro](https://get-help.theconstruct.ai/user_avatar/get-help.theconstruct.ai/albertoezquerro/32/7031_2.png) [@albertoezquerro](https://get-help.theconstruct.ai/u/albertoezquerro)\
**Post date:** [December 27, 2021, 8:58am UTC](https://get-help.theconstruct.ai/t/report-another-error-in-unit-2-section-2-4-and-section-2-5/14424/2 "2021-12-27T08:58:58Z")

</div>

Hello @vasileios.tzimas ,

Do you mean that this script doesn’t spawn the coke can? That’s right, this script also assumes that the coke can is already spawned and it only modifies its state (orientation in this case).

---

<div class="post-metadata">

**Author:** ![vasileios.tzimas](https://get-help.theconstruct.ai/user_avatar/get-help.theconstruct.ai/vasileios.tzimas/32/6560_2.png) [@vasileios.tzimas](https://get-help.theconstruct.ai/u/vasileios.tzimas)\
**Post date:** [December 27, 2021, 9:36am UTC](https://get-help.theconstruct.ai/t/report-another-error-in-unit-2-section-2-4-and-section-2-5/14424/3 "2021-12-27T09:36:33Z")

</div>

Hello,  
Indeed that is what I mean!  
But it should be mentioned because if you do not complete the course, it will not work correctly.
