I am using the ROSFlight package in ROS to simulate a fixed wing drone. In the Path Planner, I am trying to use two waypoint to navigate the drone, somehow my drone falls off. This is my waypoints
float Va = 12;
float wps[5*num_waypoints] =
{
200, -200, 10, 45 * M_PI/180, Va,
-200, 200, 10, 225 * M_PI/180, Va,
};
I am expecting the drone to go to the first waypoint and back to the origin somehow the drone falls without going to the origin.
question from:
https://stackoverflow.com/questions/65886840/can-i-use-one-waypoint-in-rosflight 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…