khancyr / ardupilot_gazebo

GNU General Public License v3.0
56 stars 253 forks source link

drone is not displayed #53

Open Zxr1230 opened 2 years ago

Zxr1230 commented 2 years ago

In a terminal, I started Gazebo by gazebo --verbose worlds/iris_arducopter_runway.world and in another terminal I started SITL simulation by cd ~/ardupilot/ArduCopter ../Tools/autotest/sim_vehicle.py -f gazebo-iris --console --map However, the drone is not displayed. How should I fix this issue? Thanks! image

Timsword commented 1 year ago

Hello, did you find a solution? I have the same problem.

Zxr1230 commented 1 year ago

Hello, did you find a solution? I have the same problem.

Hello, yes I did solve it. It has been a while, I think the solution was to make sure every installation step is successful without any errors.

Timsword commented 1 year ago

I install the git two times with no error but it's still same for me.. :(

Zxr1230 commented 1 year ago

I install the git two times with no error but it's still same for me.. :(

I hope you find it here earlier, now I barely remember how I solved it......

antispamtutoruser123 commented 1 year ago

I have the same problem. Anyone know how to fix this?

When I run gazebo I see a message Error Code 12 Msg: Unable to find uri[model:iris_with_ardupilot]

Are you guys seeing that message?

antispamtutoruser123 commented 1 year ago

fixed it. The .bashrc needs this line

somewhere in the setup it was set to: export GAZEBO_MODEL_PATH=~/ardupilot_gazebo/models

needs to be this: export GAZEBO_MODEL_PATH=~/ardupilot_gazebo/models:${GAZEBO_MODEL_PATH}

mertmirac13 commented 7 months ago

fixed it. The .bashrc needs this line

somewhere in the setup it was set to: export GAZEBO_MODEL_PATH=~/ardupilot_gazebo/models

needs to be this: export GAZEBO_MODEL_PATH=~/ardupilot_gazebo/models:${GAZEBO_MODEL_PATH}

im still having the same issue i did everything any suggesionts?