ArduPilot / OctomapPlanner

ArduPilot Gazebo SITL 3D mapping and planning
120 stars 41 forks source link

Error when running sim_vehicle.py -v ArduCopter -f gazebo-iris #6

Open ifaceyou123 opened 5 years ago

ifaceyou123 commented 5 years ago

Hi guys, When I execute this command "sim_vehicle.py -v ArduCopter -f gazebo-iris", the problem that appears in the following figure appears, suggesting that the command cannot be found. I have installed and compiled the Ardupilot_gazebo file correctly, but I can't find the sim_vehicle.py file in its folder. I believe that it is not the source, but I can't think of other reasons. Does anyone have a similar problem? run_sitl In addition to this, when I run gazebo --verbose ... , the following information is displayed in bash, and when I run qgroundcontrol, it has no link with the drone, I think the reason should also be related to the above problem. run_gazebo

ifaceyou123 commented 5 years ago

the problem is solved. the truth is the wrong source path.

ifaceyou123 commented 5 years ago

Hi, finally I can run the project. and I tried to build a new model in order to test the code. But I found something very strange. First of all, the octomap effect is very poor, I am not sure whether it is a display problem of my computer or other problems. On the other hand, the generated navigation path is very unreliable. the result is just like in the picture. path_plann

ayushgaud commented 5 years ago

Hi @ifaceyou123

Sorry for the delayed response. I think the problem might be with the SGBM parameters. Maybe you can fiddle with them and tweak it according to your needs. How good/bad is the depth map?