When I want to send a command to the drone using the following command, I find it challenging to determine params[0]-params[6] because there doesn’t seem to be an automated interface that can help me quickly determine which parameters should be filled in and the range of values for these parameters.
master.mav.xx_xx_send(
master.target_system,
master.target_component,
MAV_CMD_XXX, #cmd_name
0,
params[0], params[1], params[2], params[3], params[4], params[5], params[6])
)
The only thing I can do is query the document(Messages (common) · MAVLink Developer Guide).
For example, when I want to use the MAV_CMD_CONDITION_CHANGE_ALT command, I have to manually find the command in the manual and read its specification so that I know params[0] and params[6] are the data that need to be filled.
So, what I want to ask is, apart from this method that requires manual effort, are there any other more convenient methods that can allow me to use the MAV_CMD_XXX command more quickly?