Closed computeone closed 1 year ago
``` let mut takeoff = MavMessage::COMMAND_LONG(COMMAND_LONG_DATA{ param1: 0.0, param2: 0.0, param3: 0.0, param4: 0.0, param5: 0.0, param6: 0.0, param7: 10.0, command: MAV_CMD_NAV_TAKEOFF, target_system:header.system_id, target_component: header.component_id, confirmation: 0, }); //conn.send(&MavHeader { // system_id: header.system_id, // component_id: header.component_id, // sequence: 1, // }, &takeoff).expect("command takeoff failed!"); `println!("{:?}",MavHeader::default());` conn.send_default(&takeoff).expect("failed"); ```
send not work,but send_default can success It is unsuccessful when the sytem_id is 1 and the component_id is 1
send not work,but send_default can success It is unsuccessful when the sytem_id is 1 and the component_id is 1