mzahana / px4_fast_planner

Integration of Fast-Planner with PX4 autopilot for multi-rotor fast navigation with obstacle avoidance
MIT License
220 stars 46 forks source link

Gazebo Simulation Environment #18

Closed Kucukcollu closed 3 years ago

Kucukcollu commented 3 years ago

Hi, I am working on this project and I am trying to change the simulation environment with different one. Unfortunately, I could not change the simulation environment. I created a new world with ".world" extension file but it dis not work. In addition of that I tried to remove current objects but the ground did not remove. Can you help me about where part of the project should I change?

beomsu7 commented 3 years ago

the .world file is in px4_fast_planner/worlds/

and now the world is written in px4_fast_planner/launch/mavros.launch line 34 world arg

so you can edit the file 'px4_fast_planner/worlds/outdoor_village.world' or add new world file and edit the line 34 of 'px4_fast_planner/launch/mavros.launch'

Kucukcollu commented 3 years ago

Firstly, thank you for your reply but it was not the case that I faced up. I tried to change the world but the drone did not flt. Then, I edited the file with gedit and it works for me. Thanks!