magnuok / Autonomous-Path-Planning-and-Maneuvering-of-a-Surface-Vessel

This repo contains the ros packages made for the thesis of Magnus Knaedal, spring 2020.
12 stars 4 forks source link

error while runing guidanceSystem #2

Open lyly0309 opened 3 years ago

lyly0309 commented 3 years ago

Hi @magnuok I am runing the code on my laptop with windows 10 and windows terminal when I do python GuidanceSystem.py

I get following error message:

Traceback (most recent call last): File "GuidanceSystem.py", line 29, in from guidance_system.msg import HybridPathSignal ModuleNotFoundError: No module named 'guidance_system'

can you please help?

Best Regards LY

magnuok commented 3 years ago

This is built on ROS. Doesn't work by just running the python scripts.

lyly0309 commented 3 years ago

Hi @magnuok How to run the packages?? I have installed the ROS in windows X , but according to the INSTALL.md file, I need to install other packages. Can I run these on Windows?

lyly0309 commented 3 years ago

Hi @magnuok

I am testing the GuidanceSystem to produce a path. for instance, I suppose the boat moves from eta=[x0=1, y0=1, 15 deg] to [x=0, y=0, 90 deg], what I get is plotted here:

Figure 2021-08-30 174036

if you think about that according to plot, the boat will move ahead and turning, so that its end phi is -90 degree rather than 90 degree, which is no expected. is that right?

Best regard