OpenSolo / shotmanager

Deprecated. This is now a sub-directory in the new repo https://github.com/OpenSolo/OpenSolo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add mavlink camera trigger when GoPro not connected

Pedals2Paddles opened this issue · comments

commented

When there is no GoPro connected, the GoProManager.py handleRecordCommand function should send the mavlink DO_DIGICAM_CONTROL shutter command. That way if the user has some other camera connected, the same controls can trigger that camera's shutter. This will respond to the paddle button and the app shutter buttons. The command should be inserted here: https://github.com/OpenSolo/shotmanager/blob/master/GoProManager.py#L386

Good idea. I wonder though, does DO_DIGICAM_CONTROL work outside the context of a mission?

Yes, this is exactly what I was looking for. Does anyone have a code example for sending DO_DIGICAM message?