hmakelin / gisnav

Estimates airborne drone global position by matching video to map retrieved from onboard GIS server.
https://hmakelin.github.io/gisnav
MIT License
49 stars 21 forks source link

fail to build with gnc #140

Open SunJ1025 opened 2 weeks ago

SunJ1025 commented 2 weeks ago

Fisrt, very thanks for your great work !

I met some problem when I'm trying to build px4 gisnav by the commond gnc build px4 gisnav --with-dependencies

When the code runs to [qgc 2/6] RUN apt-get update --fix-missing && apt-get install sudo && groupadd --gid 1000 root && useradd --uid 1000 --gid 1000 -m root && echo "root ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/root:

The build process failed and shows : failed to solve: process "/bin/sh -c apt-get update --fix-missing && apt-get install sudo && groupadd --gid $GID $USERNAME && useradd --uid $UID --gid $GID -m $USERNAME && echo \"${USERNAME} ALL=(ALL) NOPASSWD:ALL\" > /etc/sudoers.d/$USERNAME" did not complete successfully: exit code: 9

I can't solve this problem, so, could you offer some advice for me ?

Very thanks for your help.

hmakelin commented 1 week ago

Hi Jian - thank you for your interest in GISNav!

I have started work on a related project so currently I am not developing nor actively maintaining GISNav. Your issue seems to be related to building the qgc service so you could probably try fixing the related Dockerfile, or even installing QGroundControl locally. Unfortunately I am unable to look into the issue further at this point.

SunJ1025 commented 1 week ago

Hi Harri, Thanks for your answer. I have tried v0.67.0, and I built the docker images successfully 👍 😊

But I still met some small problem: the "mathched images" (window of 'Projected FOV') didn't appear when I upload the plan.

I think maybe this is because the code cv2.show(label,matched_image) can't show up when I'm using docker or something?

It will be great if you could give me some advice. I know you're busy, so there's no rush to reply.

Thanks again for your inspiring and fantastic work, wish you all the best with your new project!