Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some questions in using environment disturbance. #54

Open
sun20190512 opened this issue Sep 9, 2020 · 2 comments
Open

Some questions in using environment disturbance. #54

sun20190512 opened this issue Sep 9, 2020 · 2 comments

Comments

@sun20190512
Copy link

Hello,
I want to change the water current and wind current to do some simulates in different environment. I followed the instructions in README, and changed the "watertype" variable in "spawn_ airboat.launch" to "local", but appeared “Failed to call service watercurrent airboat:: base_link” when I launch airboat_senerio1.
2020-09-05 23-54-16屏幕截图
I try to solve this problem, I found that the service topic "waterCurrent" which used to provide water current was not launched. And the script "water_HECRAS" was not activated either. I can't found where to launch "water_HECRAS". On the other hand, I see in water_Hecras has lines about HDF files, but I did not find HDF files in the project.
I would like to ask how to use the "local pattern", and if this feature open source.

I saw scenes of different wind speeds and water velocities in the video in README, and I want to know where to change the wind speeds and water velocities in the src.

Thank you!

@RobinBaruffa
Copy link

RobinBaruffa commented Mar 24, 2021

From what I understand, external software where used to simulate the water and wind current. Then this data is transformed into an occupancy grid using the python scripts windLBP.py and water_HECRAS.py
I reckon Paravisi used t3.p01.hdf as a water velocity field, along with a .yaml file. It is said in his paper that the Hec RAS simulator was used.

After that one needs to rosrun water_current windLBM.py [path_to_yaml_file]
The python scripts first creates the occupancy grid with all the fluid speed vector field, and then creates a service host so that the FreeFloatingPlugin attached to your boat can ask what is the local value of the water current.

In /home/akr-bdx/NAFEA/usv_sim_lsa_ws/install_isolated/share/water_current/maps/HECRAS/diluvio1.yaml
the path of the .hdf file has been set manually to /home/paravisi/hecrasmaps/diluvio1-7m/

I suspect they either forgot to submit the file (which is unlikely as it was already in the /home/akr-bdx/NAFEA/usv_sim_lsa_ws/install_isolated/share/water_current/maps/ folder), or they couldn't publish it publicly for IP reasons.

@Jota1105
Copy link

hello,
I would like to ask about the .hdf files to be able to make the simulations present in the project, how could I access them? or how could I execute one of the tests proposed in the project?
thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants