Open roque-canales opened 5 years ago
I think it is a DO_SET_ROI or DO_SET_ROI_LOCATION command sent within a COMMAND_LONG. Hope that helps.
Hello Randy,
Thank you so much.
I'm looking for the easiest way to make the drone point the camera to another drone (connected together through mavlink) automatically.
what do you advise me to do?
@roque-canales, we've actually been thinking of adding this to follow mode. I don't know if you're happy to have the drone follow the other drone as well as point it's camera at the leader... but in any case, somewhere in the code we would need to call
copter.camera_mount.set_roi_target(roi_location);
Where "roi_location" is a Location structure with the lat, lon and altitude of the target.
If it were added to Follow mode, I'd probably:
Hi,
I would like to ask a related question. Sorry for hijacking the topic.
We would like to control the camera through a companion computer. The computer is connected to Pixhawk through USB port. Our intended way of communication is to issue "Point camera here" command from mission planner -> Pixhawk -> computer -> camera. However, the computer failed to get DO_SET_ROI from COMMAND_LONG, while I'm able to get camera trigger command from COMMAND_LONG. Is there anything special I need to set up because of the gimbal?
Thanks.
Hello,
Could you please help me to found what commande is send by mission planner to MAV when we click on "point camera here" ?
Thank you for your help.