Hello, I have a project in which I connect a Wiris Security camera with a transmission system. I want to say I don't connect this system with a autopilot. So, I control the camera with MAVLink. I realised a script with which I connected the camera, but I don't know how to send a command or receive a message.
I attached the code and the pictures with commands which I want to implement.
If I send the message MAV_CMD_REQUEST_CAMERA_CAPTURE_STATUS, I receive the error AttributeError: 'int' object has no attribute 'pack'
If I send the message MAV_CMD_DO_DIGICAM_CONFIGURE(1,0,0,0,0,0,0), I receive the error TypeError: 'int' object is not callable.
So...Can somebody help me with this problem and explain me how to send commands to control the camera?