ArduPilot / SITL_Models

Models of aircraft for SITL
82 stars 116 forks source link

Where is 'waves' world? #123

Closed dlaboy closed 7 months ago

dlaboy commented 7 months ago

I can't find waves world for catamaran_waves.sdf

srmainwaring commented 7 months ago

The instructions for setting up the model and dependencies are here: https://github.com/ArduPilot/SITL_Models/blob/master/Gazebo/docs/Catamaran.md.

@kwikius is also writing a blog in ArduPilot Discourse which has more detail: https://discuss.ardupilot.org/t/25-years-learning-to-fly-everything-comes-to-those-that-wait-ardupilot-sailboat-gazebo/112130/5

dlaboy commented 7 months ago

Thanks!

dlaboy commented 7 months ago

Apparently a have read the documentation. I want to set up BlueBoat. My question was because of this step

Screenshot 2024-02-21 at 4 34 20 PM

Which tells me to add the line to the waves.sdf world. Could you help me figure this out?

srmainwaring commented 7 months ago

Yes, it's this one: https://github.com/srmainwaring/asv_wave_sim/blob/master/gz-waves-models/worlds/waves.sdf (it's a clickable link in the BlueBoat sim user guide).

dlaboy commented 7 months ago

So at the end, on my environment variable referencing the models and worlds, I will have both repositories models and worlds on the same GZ_SIM_RESOURCE_PATH variable? That is my only question right now

srmainwaring commented 7 months ago

So at the end, on my environment variable referencing the models and worlds, I will have both repositories models and worlds on the same GZ_SIM_RESOURCE_PATH variable? That is my only question right now

Yes, that's right. GZ_SIM_RESOURCE_PATH should be a colon delimited list of resource paths that includes all the model and world directories you want Gazebo to search for resources.

dlaboy commented 7 months ago

Alright! Thank you so much for your help!

srmainwaring commented 7 months ago

Closing as issue resolved.