Comments (8)
@Thalaivar You can find all the software in the ArduPilot source code.
https://github.com/ArduPilot/ardupilot/tree/master/libraries/AP_HAL_Linux
https://github.com/ArduPilot/ardupilot/tree/master/Tools/Linux_HAL_Essentials/pru/aiopru
from ardupilotblue.
Those libraries are heavily interlinked right? Is there any way I can use them as independent libraries for my own program?
I used arm-linux-gnueabi-g++ to compile GPIOTest.cpp and put the lib directory as ~/ardupilot/libraries
from ardupilotblue.
How are you configuring and compiling ?
from ardupilotblue.
Apologies, but I don't understand what you mean by "configuring". As I mentioned, I simply set the arm-linux-gnueabi-g++ to search for libraries in the ardupilot/libraries folder and compile for C++11. Like this, I tried to compile GPIOTest.cpp in AP_HAL_Linux/examples
Please let me know what the possible problem can be...
from ardupilotblue.
You need to use the waf utility.
./waf configure --board=bbbmini
You you want to compile using make/gcc you need to include the libraries directory
from ardupilotblue.
Yes but suppose I wanted to write a imu_read.cpp using AP libraries, I can't build with waf right? How would I write the wscript for it?
from ardupilotblue.
Hi, you can use waf.
You need inside the vehicle you want change the wscript file to include your sensor folder.
from ardupilotblue.
I do not understand how th HAL is structured. I don't know how the AP_HAL_MAIN() callback works. Hence I just want to use them as normal c libraries without all the HAL call back etc. How can I do that?
from ardupilotblue.
Related Issues (20)
- E4 Pin 4 HOT 2
- Missing information HOT 7
- RC input not working with SBUS HOT 8
- Can BeagleBone Blue run Ardutracker? HOT 5
- PPM Receiver HOT 1
- Missing directories/files HOT 1
- How to use XM+ mini receiver with BBBlue?
- Please add wireing of motors
- Unable to build ArduPilot on BB HOT 1
- LOG File
- A question more than an issue HOT 3
- Getting ardupilot to work on beaglebone blue
- Do you think I could power the 5v servo rail with an ESC instead?
- Is operating over WIFI only, without radio possible?
- Frsky Telemetry with BB Blue HOT 11
- Which realtime Kernel bone or ti? HOT 1
- Link no longer active HOT 2
- Modify Arducopter firmware/coding HOT 7
- ardurover HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ardupilotblue.