But, I want to know is if there is anyhow to interact with Vehicle with Mavlink command.
for example, send MAV_CMD_CONDITION_YAW when the mission starts. currently, I do a trick by edit one waypoint in the script to change command from 16 to 115 but feel like a hack.
Thank @iampete for your response! I try to do some binding like in the document but I am too new to this! I can add some existing function in the library but I had no clue where the Mavlink singletons are yet!
Can you shed some light? Currently I tested in SITL! And I can do a lot with Lua! My project is to do agriculture UAV! Like Chinese JIYi K++ which I own one and I think Ardupilot can do the same!
FIY I am a web developer! I hope I could grasp Arducopter code soon! Thanks