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

unable to run waterCurrentDiluvio #11

Closed
elgarbe opened this issue Nov 22, 2018 · 5 comments
Closed

unable to run waterCurrentDiluvio #11

elgarbe opened this issue Nov 22, 2018 · 5 comments

Comments

@elgarbe
Copy link

elgarbe commented Nov 22, 2018

I get this error:

elgarbe@notebook:~/usv_sim_lsa$ ./waterCurrentDiluvio
('--------------------- Loading yaml file ', 'src/usv_water_current/maps/diluvio.yaml')
refX:  477092.4903
refY:  6675824.0
Abrindo arquivo...
Unable to open File: /home/paravisi/hecrasmaps/t3.p02.hdf
None
Unable to open file (Unable to open file: name = '/home/paravisi/hecrasmaps/t3.p02.hdf', errno = 2, error message = 'no such file or directory', flags = 0, o_flags = 0)
@marceloparavisi
Copy link
Collaborator

Hello Elgarbe

The script waterCurrentDiluvio should load data from HECRAS simulations, you can download our HECRAS files from this url:
https://drive.google.com/drive/folders/1CjJbe2wZsUF7bmqYOP_vRPixGPzGU8Gt?usp=sharing

Remember that vehicles can be affected by winds and water currents in 3 different ways:

  • none: in this way, your vehicle will ignore the disturbance (wind or water current)
  • local: in this way, your vehicle will be disturbed with data from simulations (i.e. the HECRAS data of script "./waterCurrentDiluvio")
  • global: in this way, your vehicle will be disturbed with a constant value in all position. Wind values is defined into XML files. The water currents can be defined by a ros topic (named /gazebo/current).

To specify how your vehicle will affected by the disturbance, you should change the configuration in xacro files. For boats, just edit the file usv_sim/xacro/boat_subdivided4.xacro (see xml code below).

<xacro:property name="windType" value="global" />
<xacro:property name="waterType" value="global" />

In value, you can write none, global or local.

If you need any additional assistance, please contact me.

@elgarbe
Copy link
Author

elgarbe commented Nov 22, 2018

ok, I will try it.
do you prefer that I will contact you by email for future assistance? I don't have your email address.
thank

@marceloparavisi
Copy link
Collaborator

I receive an email with all issues. For any doubt just ask me...

Here, other contributors can help too...

@elgarbe
Copy link
Author

elgarbe commented Nov 24, 2018

Marcelo, can I get your email?
I need to ask several question about your work that are not issues. Or maybe you can write to lgarberoglio@gmail.com

@marceloparavisi
Copy link
Collaborator

Hello

My email: marcelo.paravisi@acad.pucrs.br

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

2 participants