flight core v2 compilation
-
@tom Thanks, I have not used docker before so I'll dive in. At the same time the instructions above are antiquated and also are pulling from a different repository than the subsequent one mentioned. Could the instructions on building flight core v2 be updated in the future to reflect using docker and the alternate repository, thanks.
-
@hockey_fan Can you send a link to the directions you're following?
-
@hockey_fan Is there a specific reason you're building the flight core firmware yourself and not loading one of our prebuilt binaries?
Since those instructions are out of date, following them will produce an out of date binary.
The newest pre-built binary is: http://voxl-packages.modalai.com/dists/fc-v2/staging/modalai_fc-v2_1.14.0-2.0.85.px4
-
@hockey_fan Is there a specific reason you're building the flight core firmware yourself and not loading one of our prebuilt binaries?
Since those instructions are out of date, following them will produce an out of date binary.
The newest pre-built binary is: http://voxl-packages.modalai.com/dists/fc-v2/staging/modalai_fc-v2_1.14.0-2.0.85.px4
@tom I need to make modifications to the code, that's why I want to build it.
-
I'm using the flight core v2 standalone board as a development platform with PX4 before moving on to the voxl2 board environment.
-
@tom I need to make modifications to the code, that's why I want to build it.
@hockey_fan Understood, I recommend doing your development off the tip of our branch instead of modalai-1.13.3:
GitHub - modalai/px4-firmware at voxl-dev
PX4 Autopilot Software. Contribute to modalai/px4-firmware development by creating an account on GitHub.
GitHub (github.com)
-
@hockey_fan Understood, I recommend doing your development off the tip of our branch instead of modalai-1.13.3:
GitHub - modalai/px4-firmware at voxl-dev
PX4 Autopilot Software. Contribute to modalai/px4-firmware development by creating an account on GitHub.
GitHub (github.com)
@tom Shall I use the .yml file mentioned at the first comment to build flight core v2, or is there a dockerfile in the repository that will work?
-
I am still very confused on how I should build for flight core v2, and which docker file to use. Which is the git repository needed to get to the ci tools? It is not included in the regular voxl-dev repository.
-
I am still very confused on how I should build for flight core v2, and which docker file to use. Which is the git repository needed to get to the ci tools? It is not included in the regular voxl-dev repository.
@hockey_fan I recommend installing
voxl-dockeron your host machine, this will guide you through installing docker and the voxl-docker repo which makes building voxl packages easier.: https://docs.modalai.com/voxl-docker-and-cross-installation/#how-to-setup-voxl-docker-and-voxl-crossOnce done, you'll be able to do the following:
move into the px4-firmware directory
cd px4-firmwareMount the directory into the docker container (the first time you run this it will download the px4-dev-nuttx-focal docker image to your host machine
voxl-docker -i px4io/px4-dev-nuttx-focal:2022-08-12Once in the container:
make modalai_fc-v2This will generate the px4 build at
px4-firmware/build/modalai_fc-v2_default/modalai_fc-v2_*.px4which can be accessed inside or outside of the container -
@hockey_fan I recommend installing
voxl-dockeron your host machine, this will guide you through installing docker and the voxl-docker repo which makes building voxl packages easier.: https://docs.modalai.com/voxl-docker-and-cross-installation/#how-to-setup-voxl-docker-and-voxl-crossOnce done, you'll be able to do the following:
move into the px4-firmware directory
cd px4-firmwareMount the directory into the docker container (the first time you run this it will download the px4-dev-nuttx-focal docker image to your host machine
voxl-docker -i px4io/px4-dev-nuttx-focal:2022-08-12Once in the container:
make modalai_fc-v2This will generate the px4 build at
px4-firmware/build/modalai_fc-v2_default/modalai_fc-v2_*.px4which can be accessed inside or outside of the container@tom Thanks very much, I got it working, appreciate it.
-
@tom Thanks very much, I got it working, appreciate it.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login