"Hi Dani,
What you want to do is quite possible but how you go about it and what results you get will depend on what level of customization you are prepared to do. The most simple way to get live data from your sensor would be to filter the PWM…"
"Hi Clifford,
Your DC-DC converter looks a bit hefty but should do the trick for powering the APM from your lipo. Unfortunately in its default state, the APM will not provide the correct signalling to the motor driver circuit for your needs. It would…"
"The log file is already basically a CSV file (after it is downloaded through Mission Planner at least). You can simply import it into Excel and specify the content as being delimited by commas or you can alter the file extension to .csv and open it…"
"Nick,
There must be something you are doing. I just tried it on an XP machine and it worked fine.
What is your 'sketchbook location' under File->Preferences?
Where did you place the PinChangeInt library?
Does PinChangeInt show up when you select…"
"Hi Nick,
I just tried on a fresh install of Arduino. I added this version of the library: https://github.com/asheeshr/PinChangeInt by placing it in the Arduino 'libraries' folder. It compiled fine. If you already have a copy of Arduino running when…"
"Hi Evan, Unfortunately I have not worked with Arduplane at all. UserCode.pde can just be created in the ArduPlane directory however it seems that the userhook loop functions are not used in Plane. You would have to add userhook_MediumLoop() to the…"
"Hi ausdroid, the #if statement is a compiler directive and has no effect on the running code. It determines if the enclosed code is compiled or not. In this case CONFIG_SONAR was used to reduce the size of the executable binary when sonar was not…"
"What does your meter read as a resistance with the two probes shorted together? Most multimeters are not capable of reading the sort of low resistances found in our motor windings. I would say there is a short."
"Hi Tim, not that I know of. It is a bit of a 'hack' overriding existing variables that could potentially be in use so it is not really appropriate for any official documentation. I put it out there as the shortest route to achieve the goal of…"
"Rai,
In the file APM_Config.h:
Line 52:
// Put your custom code into the UserCode.pde with function names matching those listed below and ensure the appropriate #define below is uncommented below
//#define USERHOOK_INIT userhook_init(); // for code…"
"Hi Raibrinder, I am glad that you find this helpful.
1. UserCode.pde is a a place set aside in the Ardupilot code for users to add their code to extend functionality. To enable this you have to uncomment the calls to both the init code and loop…"