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

Mission transfer failed with "Hover and Capture" option set in survey mission. #12546

Open
jacobguenther opened this issue Mar 9, 2025 · 6 comments
Assignees

Comments

@jacobguenther
Copy link

Expected Behavior

The mission should transfer to the copter when the Hover and Capture option is set.

Current Behavior

A pop up appears

Mission transfer failed. Error: Param 4 invalid
value. Item #4 Command: Start image capture
Value: nan

System Information

  • Operating System: Pop!_OS 22.04
  • QGC Version: 4.3.0
  • QGC build: Flatpak
  • Flight Controller: Pixhawk 6c
  • Autopilot (with version): Ardupilot Copter 4.5.7

Detailed Description

I checked the .plan file and saw

{
    "autoContinue": true,
    "command": 2000,
    "doJumpId": 4,
    "frame": 2,
    "params": [
        0,
        0,
        1,
        null,
        null,
        null,
        null
    ],
    "type": "SimpleItem"
},

Looking at the MavLink docs
https://mavlink.io/en/messages/common.html#MAV_CMD_IMAGE_START_CAPTURE
The fourth parameter to command 2000 Image start capture should be 0 or 1.

When I manually change the value to 0 or 1 from null the mission successfully uploads. For the survey mission it should probably be set to 1 though.

@DonLakeFlyer
Copy link
Contributor

I'm pretty sure this is fixed in daily builds. Can you try that?

@jacobguenther
Copy link
Author

Checked on the 4.4.3 appimage and it works fine. Thanks. Didn't see anything about it in the change logs so I assumed it would still be broken.

@DonLakeFlyer
Copy link
Contributor

Can you verify a daily build as well?

@jacobguenther
Copy link
Author

jacobguenther commented Mar 10, 2025

I was in a rush to get out the door between rain showers and 4.4.3 didn't actually work. I forgot to check the option.
When I run the daily appimage from the terminal I get

/tmp/.mount_QGrounJLoLDC/usr/bin/QGroundControl: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by /tmp/.mount_QGrounJLoLDC/usr/bin/QGroundControl)

Think its because I'm on 22.04 and not 24.04

@DonLakeFlyer
Copy link
Contributor

@HTRamsey Can you look at the appimage thing?

@DonLakeFlyer DonLakeFlyer reopened this Mar 11, 2025
@DonLakeFlyer
Copy link
Contributor

Re-open for the AppImage problem

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

No branches or pull requests

3 participants