Need to fly closer to a obstacle
已完成I need take photos of a shelf in a indoor environment:
1. Get near to the target: Calculate the distance that the drone moved using virtual sticks, it will fly close to the ground. (I see the drone itself uses the downward sensor to stay fixed on the air), measuring the height and detect any horizontal movement. Taking in consideration that we have no obstacle to use as reference yet, and the ground will be the only reference for distance, it´s possible to use downward sensor to know how much the drone advanced? If no, how can I calculate that?
2. Getting close of the target: Need calculate and come to a distance of a shelf (example: 0.5 meters) and take photos of this shelf, mapping, keeping the distance of .5m.
3. I suppose that in the moment I get Perception data, I can calculate how close to the shelf, ground and the ceiliing, and will movin to the sides, up and down to get all the shelf photos.
Can you have/provide a sample code leading us to achieve that in MSDK 5?
We will use Mavic 3 Enterprise.
-
1. I apologize for any inconvenience caused, but I regret to inform you that the acquisition of indoor flight distance data is currently unavailable. Unfortunately, the MSDK does not offer a function to obtain this specific information. 2 and 3. Furthermore, I would like to inform you that the MSDK does support the retrieval of obstacle distance data in six different directions. I encourage you to assess whether this data meets your specific requirements.
请先登录再写评论。
评论
5 条评论