Parsing Mavlink commands in Python script (Mapping)

Hello

I need some help with a project we are working on.

Lets say we want to do a survey and have done a mission for that.

To trigger the camera we use "DO_DIGICAM_CONTROL"

Now, we would like to make a Python script that listens to and when "DO_DIGICAM_CONTROL" is sent a funtion is called. For ex a script is launched.

Maybe something like this:

if MavCommand = "DO_DIGICAM_CONTROL"

         s.send("trigger") 

The reason is that we would like to incorporate our camera control system in Mission Planner.

Is this Possible?

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Activity

Neville Rodrigues liked Neville Rodrigues's profile
Jun 30
Santiago Perez liked Santiago Perez's profile
Jun 21
More…