Closed Norton-z closed 4 years ago
do you see the pointcloud? have you installed the packages in this part of the read me https://github.com/PX4/avoidance#local-planner-default-heavily-flight-tested ?
when I run roslaunch local_planner local_planner_stereo.launch
,i don't see pointcloud, and i have installed the packages. i also can't set the goal point. @mrivi
can you please double check that you have the stereo-image-proc package? That's the only difference with respect to the other launch file that it's working for you
Thanks for your response!
I delete all model files in the folder ~/.gazebo/model
, and reinstall ROS and Gazebo. I can run both stereo and depth launch files successfully. May be the difference between local camera models and the database models results in this error?
And I want to know where are the stereo and depth camera model files from? online datebase, ~/gazebo/model
folder or PX4 Firmware folder? @mrivi
They are in Firmware/Tools/sitl_gazebo
@mrivi Is there any way to solve the issue without reinstalling ros and gazebo
@mrivi Is there any way to solve the issue without reinstalling ros and gazebo
You can copy all models in Firmware/Tools/sitl_gazebo/models, and then paste all of them to ~/ .gazebo/models. Let new models replace original one!
So I tried this approach to solving the issue but it did not work for me. I tried Replacing the Models in Gazebo, and I tried uninstalling ROS and Gazebo from the system. Still getting the same warning that Data is missing and there is no image appearing in the image window of Local Planner
After I run
roslaunch local_planner local_planner_stereo.launch
,I can see the UAV and world in rviz,but I can't arm the drone, when i runrosrun mavros mavsys mode -c OFFBOARD
, it reaponse "Time out". How can I solve it? But,I can run the launch fileroslaunch local_planner local_planner_sitl_3cam.launch
successfully,