# Feedback Control Unit4

**URL:** <https://get-help.theconstruct.ai/t/feedback-control-unit4/18879>\
**Category:** Robot Dynamics and Control\
**Created:** [August 25, 2022, 4:15pm UTC](https://get-help.theconstruct.ai/t/feedback-control-unit4/18879 "2022-08-25T16:15:05Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![misbahsuhail123](https://get-help.theconstruct.ai/letter_avatar_proxy/v4/letter/m/85f322/32.png) [@misbahsuhail123](https://get-help.theconstruct.ai/u/misbahsuhail123)\
**Post date:** [August 25, 2022, 4:15pm UTC](https://get-help.theconstruct.ai/t/feedback-control-unit4/18879/1 "2022-08-25T16:15:05Z")

</div>

Hello!  
I am facing error in topic 4.4 Simulation of the Robot-Controller System in Gazebo of unit 4. The program analyze\_data.py is showing error, file and error image are attached

 ![analyze_data](https://get-help.robotigniteacademy.com/uploads/default/original/2X/f/f6962055ece4fe2d1d952d8ad94d59d989cf8733.png)  
 ![ploterror](https://get-help.robotigniteacademy.com/uploads/default/original/2X/d/da7dbe6e90d79435eff273728984ab3eddade014.png)  
Thanks

---

<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:** [August 26, 2022, 7:27am UTC](https://get-help.theconstruct.ai/t/feedback-control-unit4/18879/2 "2022-08-26T07:27:06Z")

</div>

Hello @misbahsuhail123 ,

Please try running the script directly with Python, like this:

`python analyze_data.py`

You might also check that you’ve properly generated the `data.bag` file and that it is in the expected path: `'/home/user/catkin_ws/src/data.bag'`

Best,

---

<div class="post-metadata">

**Author:** ![misbahsuhail123](https://get-help.theconstruct.ai/letter_avatar_proxy/v4/letter/m/85f322/32.png) [@misbahsuhail123](https://get-help.theconstruct.ai/u/misbahsuhail123)\
**Post date:** [August 28, 2022, 12:48pm UTC](https://get-help.theconstruct.ai/t/feedback-control-unit4/18879/3 "2022-08-28T12:48:23Z")

</div>

Thanks alberto its working now, but still one thing that each time when i open this unit and run the file it asks for  
sympy missing, i install it with pip install sympy, and it worked, cannot be any permanent solution for it? I am sending you the images, pls have a look.

 ![sympy-installed](https://get-help.robotigniteacademy.com/uploads/default/original/2X/5/5af5489987d5600f15fa0539b73e28ae16f72686.png)  
 ![sympy](https://get-help.robotigniteacademy.com/uploads/default/original/2X/0/04908655d409af4b46cf67942e477571bf0e0a05.png)  
Thanks for ur help

---

<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:** [August 29, 2022, 8:00am UTC](https://get-help.theconstruct.ai/t/feedback-control-unit4/18879/4 "2022-08-29T08:00:27Z")

</div>

Hello @misbahsuhail123 ,

Yes, for now, it’s necessary to install it each time you open the course. We are going to look into a solution to have it permanently installed. Thanks for the feedback.

---

<div class="post-metadata">

**Author:** ![misbahsuhail123](https://get-help.theconstruct.ai/letter_avatar_proxy/v4/letter/m/85f322/32.png) [@misbahsuhail123](https://get-help.theconstruct.ai/u/misbahsuhail123)\
**Post date:** [August 29, 2022, 8:01am UTC](https://get-help.theconstruct.ai/t/feedback-control-unit4/18879/5 "2022-08-29T08:01:25Z")

</div>

Th￼ank you Alberto for quick reply.

---

<div class="post-metadata">

**Author:** ![bayodesegun](https://get-help.theconstruct.ai/user_avatar/get-help.theconstruct.ai/bayodesegun/32/10684_2.png) [@bayodesegun](https://get-help.theconstruct.ai/u/bayodesegun)\
**Post date:** [August 31, 2022, 10:29am UTC](https://get-help.theconstruct.ai/t/feedback-control-unit4/18879/6 "2022-08-31T10:29:52Z")

</div>

This topic was automatically closed after 2 days. New replies are no longer allowed.
