Why the files are still named .PDE? Is it even possible to compile with arduino?
--
You received this message because you are subscribed to the Google Groups "drones-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drones-discus...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I think the list of frames is all in the mk/targets.mk file.
# cope with copter and hil targets
FRAMES = quad tri hexa y6 octa octa-quad heli single
BOARDS = apm1 apm2 apm2beta apm1-1280 px4 px4-v1 px4-v2 sitl flymaple linux vrbrain vrbrain-v40 vrbrain-v45 vrbrainv-50 vrbrain-v51 vrubrain-v51 vrhero-v10
..but it may be that to upload a octa-quad a new entry needs to be added to mk/px4_targets.mk. It may currently only be possible to upload a quad.
px4-v2-upload: px4-v2
$(RULEHDR)
$(v) $(PX4_MAKE) px4fmu-v2_APM upload
Brian,
Regarding coming up to speed. It’s always difficult for the current devs to keep up with the development, support, wiki updates, etc but in any case, feel free to ping me on skype and maybe I can help answer some questions. I’m rmackay9.
-Randy
The problem I find with that pull request is that it means that any changes to the eclipse project will cause git to think you want to update the project file so you constantly need to cache the change to your project file before doing a commit. Then eclipse starts complaining that the project file has gone missing or has changed, etc.
-Randy
--
I did a clean install today as per the dev site and was able to build the quad file via Bash and Eclipse. They both gave identical build logs and produced identical ArduCopter-v2.px4 files. They also gave 100s of warnings and 18 errors.e.g.,
cast from function call of type 'void *' to non-matching type 'unsigned int' [-Wbad-function-cast] ArduCopter line 106 C/C++ Problem
comparing floating point with == or != is unsafe [-Wfloat-equal] ArduCopter line 108 C/C++ ProblemI assume I'm missing something in the setup instructions and that a normal make builds with no errors/warnings?Thanks,Tim
Whenever I have errors building, it can usually be fixed by making sure the NuttX and PX4Firmware braches are up-to-date and then doing:
make px4-clean
make px4-v2
-Randy
From: drones-...@googlegroups.com [mailto:drones-...@googlegroups.com] On Behalf Of Kevin Hester
Sent: July 9, 2014 1:09 PM
To: drones-discuss
Subject: Re: [drones-discuss] Re: Definitive Tutorial for Compiling Pixhawk Code on Eclipse
Hmm,
So, when you use Eclipse to make arducopter, the problems tab doesn't show all these issues? The same issues are obviously in the make output, but are harder to pick out unless you're reading it line by line.
If the above doesn't ring a bell, I'll upload the Bash make output I captured via pipe (captured normal and error output).
Seems like if my settings were off, make wouldn't finish and certainly wouldn't generate the FW file at the end.
Thx - Tim
I have no problem uploading custom .px4 code to Pixhawk. I compile with Eclipse on Windows but I must upload with Mission Planner’s custom firmware link because I’ve never managed to get the upload from eclipse to work.
-Randy
--