通过 dji_osdk_ros::EmergencyBrake emergency_brake; ...
Completed通过 dji_osdk_ros::EmergencyBrake emergency_brake;
velocityAndYawRateCtrl({velocity_y, velocity_x, 0, 0}, time);
emergency_brake_client.call(emergency_brake);
ros::Duration(2).sleep();控制无人机巡航时,怎样在运动过程中随时悬停
-
使用代码:dji_osdk_ros::EmergencyBrake emergency_brake;velocityAndYawRateCtrl({velocity_y, velocity_x, 0, 0}, time); emergency_brake_client.call(emergency_brake);ros::Duration(2).sleep() 进行巡航时,我在另一个线程使用如下代码进行紧急悬停,看到的现象是无人机抖动一下,但是不停止,依然继续飞行,请问这是怎么回事?dji_osdk_ros::EmergencyBrake emergency_brake;velocityAndYawRateCtrl({0, 0, 0, 0}, 0);emergency_brake_client.call(emergency_brake);ros::Duration(2).sleep();
Please sign in to leave a comment.
Comments
4 comments