Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MAVLink controls not working properly #304

Open
joaoantoniocardoso opened this issue Nov 22, 2023 · 1 comment
Open

MAVLink controls not working properly #304

joaoantoniocardoso opened this issue Nov 22, 2023 · 1 comment

Comments

@joaoantoniocardoso
Copy link
Collaborator

          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 #302 (review)

Possibly caused by #283

@patrickelectric
Copy link
Member

Are you sure that is being replicated from 1.1.1 ?
The component ID is a bit weird between the messages

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants