mavlink-camera-manager icon indicating copy to clipboard operation
mavlink-camera-manager copied to clipboard

MAVLink controls not working properly

Open joaoantoniocardoso opened this issue 7 months ago • 1 comments

          Tested in the Pi, w/ QGC as the client. The controls are not working properly:

2023-11-22T17:04:10.069979Z DEBUG                                     MavlinkCamera-1 ThreadId(09) handle_message{header=MavHeader { system_id: 254, component_id: 190, sequence: 81 } PARAM_EXT_SET(PARAM_EXT_SET_DATA { target_system: 1, target_component: 100, param_id: ['9', '9', '6', '3', '7', '7', '6', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0'], param_value: ['\u{16}', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', 'Ð', '¥', 'Ã', 'w', 'ü', '\u{7f}', '\0', '\0', 'Ð', '¥', 'Ã', 'w', 'ü', '\u{7f}', '\0', '\0', 'P', '¦', 'Ã', 'w', 'ü', '\u{7f}', '\0', '\0', '/', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\u{4}', '\0', '\0', '\0', '\0', '\0', '\0', '\0', 'à', '\u{84}', '\u{82}', 'V', '¤', '\u{7f}', '\0', '\0', 'C', 'a', 'm', 'e', 'r', 'a', 'I', 'O', 'L', 'o', 'g', ':', ' ', 'U', 'p', 'd', 'a', 't', 'e', ' ', 'F', 'a', 'c', 't', ' ', 'f', 'r', 'o', 'm', ' ', 'c', 'a', 'm', 'e', 'r', 'a', ' ', '"', '9', '9', '6', '3', '7', '7', '6', '"', '\n', '\0', 'ÿ', 'ÿ', 'ÿ', 'ÿ', 'ÿ', 'ÿ', 'ÿ', 'ÿ', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0'], param_type: MAV_PARAM_EXT_TYPE_INT64 }) component_id=100}: src/mavlink/mavlink_camera.rs:204: Received message
2023-11-22T17:04:10.073084Z ERROR                                     MavlinkCamera-1 ThreadId(09) handle_message{header=MavHeader { system_id: 254, component_id: 190, sequence: 81 } PARAM_EXT_SET(PARAM_EXT_SET_DATA { target_system: 1, target_component: 100, param_id: ['9', '9', '6', '3', '7', '7', '6', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0'], param_value: ['\u{16}', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', 'Ð', '¥', 'Ã', 'w', 'ü', '\u{7f}', '\0', '\0', 'Ð', '¥', 'Ã', 'w', 'ü', '\u{7f}', '\0', '\0', 'P', '¦', 'Ã', 'w', 'ü', '\u{7f}', '\0', '\0', '/', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\u{4}', '\0', '\0', '\0', '\0', '\0', '\0', '\0', 'à', '\u{84}', '\u{82}', 'V', '¤', '\u{7f}', '\0', '\0', 'C', 'a', 'm', 'e', 'r', 'a', 'I', 'O', 'L', 'o', 'g', ':', ' ', 'U', 'p', 'd', 'a', 't', 'e', ' ', 'F', 'a', 'c', 't', ' ', 'f', 'r', 'o', 'm', ' ', 'c', 'a', 'm', 'e', 'r', 'a', ' ', '"', '9', '9', '6', '3', '7', '7', '6', '"', '\n', '\0', 'ÿ', 'ÿ', 'ÿ', 'ÿ', 'ÿ', 'ÿ', 'ÿ', 'ÿ', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0'], param_type: MAV_PARAM_EXT_TYPE_INT64 }) component_id=100}:handle_param_ext_set{header=MavHeader { system_id: 254, component_id: 190, sequence: 81 } data=PARAM_EXT_SET_DATA { target_system: 1, target_component: 100, param_id: ['9', '9', '6', '3', '7', '7', '6', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0'], param_value: ['\u{16}', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', 'Ð', '¥', 'Ã', 'w', 'ü', '\u{7f}', '\0', '\0', 'Ð', '¥', 'Ã', 'w', 'ü', '\u{7f}', '\0', '\0', 'P', '¦', 'Ã', 'w', 'ü', '\u{7f}', '\0', '\0', '/', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\u{4}', '\0', '\0', '\0', '\0', '\0', '\0', '\0', 'à', '\u{84}', '\u{82}', 'V', '¤', '\u{7f}', '\0', '\0', 'C', 'a', 'm', 'e', 'r', 'a', 'I', 'O', 'L', 'o', 'g', ':', ' ', 'U', 'p', 'd', 'a', 't', 'e', ' ', 'F', 'a', 'c', 't', ' ', 'f', 'r', 'o', 'm', ' ', 'c', 'a', 'm', 'e', 'r', 'a', ' ', '"', '9', '9', '6', '3', '7', '7', '6', '"', '\n', '\0', 'ÿ', 'ÿ', 'ÿ', 'ÿ', 'ÿ', 'ÿ', 'ÿ', 'ÿ', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0'], param_type: MAV_PARAM_EXT_TYPE_INT64 } component_id=100}: src/video/video_source_local.rs:593: Failed to get control "Auto Exposure, Bias" (10094867) from device "/dev/video0": Custom { kind: Other, error: "cannot handle control type" }
2023-11-22T17:04:10.073905Z ERROR                                     MavlinkCamera-1 ThreadId(09) handle_message{header=MavHeader { system_id: 254, component_id: 190, sequence: 81 } PARAM_EXT_SET(PARAM_EXT_SET_DATA { target_system: 1, target_component: 100, param_id: ['9', '9', '6', '3', '7', '7', '6', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0'], param_value: ['\u{16}', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', 'Ð', '¥', 'Ã', 'w', 'ü', '\u{7f}', '\0', '\0', 'Ð', '¥', 'Ã', 'w', 'ü', '\u{7f}', '\0', '\0', 'P', '¦', 'Ã', 'w', 'ü', '\u{7f}', '\0', '\0', '/', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\u{4}', '\0', '\0', '\0', '\0', '\0', '\0', '\0', 'à', '\u{84}', '\u{82}', 'V', '¤', '\u{7f}', '\0', '\0', 'C', 'a', 'm', 'e', 'r', 'a', 'I', 'O', 'L', 'o', 'g', ':', ' ', 'U', 'p', 'd', 'a', 't', 'e', ' ', 'F', 'a', 'c', 't', ' ', 'f', 'r', 'o', 'm', ' ', 'c', 'a', 'm', 'e', 'r', 'a', ' ', '"', '9', '9', '6', '3', '7', '7', '6', '"', '\n', '\0', 'ÿ', 'ÿ', 'ÿ', 'ÿ', 'ÿ', 'ÿ', 'ÿ', 'ÿ', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0'], param_type: MAV_PARAM_EXT_TYPE_INT64 }) component_id=100}:handle_param_ext_set{header=MavHeader { system_id: 254, component_id: 190, sequence: 81 } data=PARAM_EXT_SET_DATA { target_system: 1, target_component: 100, param_id: ['9', '9', '6', '3', '7', '7', '6', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0'], param_value: ['\u{16}', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0', 'Ð', '¥', 'Ã', 'w', 'ü', '\u{7f}', '\0', '\0', 'Ð', '¥', 'Ã', 'w', 'ü', '\u{7f}', '\0', '\0', 'P', '¦', 'Ã', 'w', 'ü', '\u{7f}', '\0', '\0', '/', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\u{4}', '\0', '\0', '\0', '\0', '\0', '\0', '\0', 'à', '\u{84}', '\u{82}', 'V', '¤', '\u{7f}', '\0', '\0', 'C', 'a', 'm', 'e', 'r', 'a', 'I', 'O', 'L', 'o', 'g', ':', ' ', 'U', 'p', 'd', 'a', 't', 'e', ' ', 'F', 'a', 'c', 't', ' ', 'f', 'r', 'o', 'm', ' ', 'c', 'a', 'm', 'e', 'r', 'a', ' ', '"', '9', '9', '6', '3', '7', '7', '6', '"', '\n', '\0', 'ÿ', 'ÿ', 'ÿ', 'ÿ', 'ÿ', 'ÿ', 'ÿ', 'ÿ', '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0'], param_type: MAV_PARAM_EXT_TYPE_INT64 } component_id=100}: src/video/video_source_local.rs:593: Failed to get control "ISO Sensitivity" (10094871) from device "/dev/video0": Custom { kind: Other, error: "cannot handle control type" }
2023-11-22T17:04:10.229989Z DEBUG                                     MavlinkCamera-1 ThreadId(09) heartbeat_loop{component_id=100}: src/mavlink/mavlink_camera.rs:159: Heartbeat sent

Originally posted by @joaoantoniocardoso in https://github.com/mavlink/mavlink-camera-manager/pull/302#pullrequestreview-1744944248

Possibly caused by https://github.com/mavlink/mavlink-camera-manager/pull/283

joaoantoniocardoso avatar Nov 22 '23 18:11 joaoantoniocardoso