AlessioTonioni / Autonomous-Flight-ROS

A simple autopilot for a quadrotor realized using MoveIt!. The system use a simulated RGBD sensor to reconstruct the map, then ompl for path generation.
48 stars 24 forks source link

Gazebo not following the path generated #5

Open ghost opened 7 years ago

ghost commented 7 years ago

Hello, I'm very new to ros, gazebo and rviz etc.
I succesfully compiled the project. I can do plan the path in rviz. However, when i execute the planned path generated, the quadrotor in gazebo is not follwoing the path generated. I'm not sure why ...

AlessioTonioni commented 7 years ago

Is the quadrotor not moving at all or the path executed is not the correct one?

ghost commented 7 years ago

Hello @AlessioTonioni , Thanks for your reply, The quadrotor is not moving at the first place, so i set the execution_duration_monitoring value to "false". Now, the quadrotor moved, but it does not follow the path executed.

i get this error when running the 1st script:

Error [Plugin.hh:156] Failed to load plugin libgazebo_ros_controller_manager.so: libgazebo_ros_controller_manager.so: cannot open shared object file: No such file or directory Warning [gazebo_quadrotor_simple_controller.cpp:57] The GazeboQuadrotorSimpleController plugin is DEPRECATED in ROS hydro. Please use the twist_controller in package hector_quadrotor_controller instead.

does it cause the error that i am facing now?

AlessioTonioni commented 7 years ago

Hi, Yes i think that the missing plugin could be the problem, take a look at this question: http://answers.ros.org/question/43578/problem-with-plugin-in-gazebo/