I'm part of a project building an autonomous quad-rotor UAV. my job is the electronics hardware and firmware. I want to provide an API to the guys doing the algorithmic programming (to make it actually be autonomous) so that they don't have to deal with hardware when they need to read a sensor or change a motor's speed. We have a 3-axis accelerometer and a 3-axis gyro, plus a barometric pressure sensor, ultrasonic sounder and stereo ccd cameras.
How do you go about writing an API for an embedded processor? Their code will be (most of) the main program running on the processor
Can they just use variable types like int, char, bool, etc in their program, or do they need to use processor-specific types? (i'm assuming processor specific)
Thanks guys. I'm kind of flying blind with the api, no pun intended
How do you go about writing an API for an embedded processor? Their code will be (most of) the main program running on the processor
Can they just use variable types like int, char, bool, etc in their program, or do they need to use processor-specific types? (i'm assuming processor specific)
Thanks guys. I'm kind of flying blind with the api, no pun intended