-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
First shot towards a separate HITL target #2062
Conversation
at least you need to add |
@gautierhattenberger thanks for the pointer. I changed it, but I am still not seeing
even though the target is Then indeed the compilation fails. Any ideas? I added the |
correct makefile selection is coming from this line: https://github.com/paparazzi/paparazzi/blob/master/conf/firmwares/subsystems/shared/nps.makefile#L17 |
I specify it in |
|
@gautierhattenberger do you have an idea why compiling |
@podhrmic nps.makefile is always included from rotorcraft.makefile... |
Use the |
Thanks for help, I figured it out. Have to do some cleanup still, but it works now. |
@flixr @gautierhattenberger would you be OK with merging this as-is, so I can update the wiki page about HITL and have a separete It needs some polishing, but it doesn't break anything and works just fine for what it is - unfortunately I won't have time to sit down and properly finish it for a couple of weeks, and I would like to avoid merge conflicts (plus I would like to have the wiki page updated). |
Can you at least take out the "calling xx makefile" infos? |
OK, never mind - probably better to merge it once it is clean. |
@gautierhattenberger I am trying to add HITL as a separate target so it is easier to use.
The idea is that
hitl
is de factonps
target, except it has a different name (and uses a few different files). So I want to havenps_common.makefile
and thennps.makefile
andhitl.makefile
(see below).Then I have to have a toplevel
Makefile.hitl
that only callsMakefile.nps
and that should be it - right?I can'get it to compile, I suspect there is some change with generators that I have to add the target to?