Skip to content

Import issue caused during launch of "auv_max" vehicle #1

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

Open
shivam361v opened this issue Feb 13, 2025 · 2 comments
Open

Import issue caused during launch of "auv_max" vehicle #1

shivam361v opened this issue Feb 13, 2025 · 2 comments

Comments

@shivam361v
Copy link

shivam361v commented Feb 13, 2025

I had faced an issue during launching of auv_max. it coudn't be able to detect model path, which is declared in the file. The error looks like this --
"

[ruby $(which gz) sim-3] [Err] [Server.cc:159] Error Code 14: [/sdf/world[@name="sand"]/include[1]/uri:/home/shivam/ros2_ws/install/auv_max_gazebo/share/auv_max_gazebo/worlds/sand.world:L182]: Msg: Unable to find uri[model://sand_heightmap]
[ruby $(which gz) sim-3] [Err] [Server.cc:159] Error Code 14: [/sdf/world[@name="sand"]/include[3]/uri:/home/shivam/ros2_ws/install/auv_max_gazebo/share/auv_max_gazebo/worlds/sand.world:L204]: Msg: Unable to find uri[model://auv_max]
[ruby $(which gz) sim-3] [Err] [Server.cc:159] Error Code 14: [/sdf/world[@name="sand"]/include[4]/uri:/home/shivam/ros2_ws/install/auv_max_gazebo/share/auv_max_gazebo/worlds/sand.world:L209]: Msg: Unable to find uri[model://axes]
[ruby $(which gz) sim-3] [Err] [Server.cc:159] Error Code 14: [/sdf/world[@name="sand"]/include[7]/uri:/home/shivam/ros2_ws/install/auv_max_gazebo/share/auv_max_gazebo/worlds/sand.world:L313]: Msg: Unable to find uri[model://bluerov2_heavy]

"

If, anyone have an solution. then, please let me know

Image

@iesusdavila
Copy link
Member

A previous step to using the submarine simulator is to run two commands so that Ubuntu can recognize your directory. These commands are the following:

export GZ_SIM_SYSTEM_PLUGIN_PATH=$HOME/ros2_ws/src/ardupilot_gazebo/build
export GZ_SIM_RESOURCE_PATH=$HOME/ros2_ws/src/auv_max/auv_max_gazebo/models:$HOME/ros2_ws/src/auv_max/auv_max_gazebo/worlds:$GZ_SIM_RESOURCE_PATH

If your workspace is named something other than ros2_ws you would have to modify this path.

@shivam361v
Copy link
Author

shivam361v commented Feb 18, 2025

There is problem, while build package it can't able to detect. some variables.

Image
Image

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