![]() |
VectorNav C Library
|
The VectorNav C Library (libvnc) is geared towards development for embedded systems and provides access to VectorNav's line of sensor products.
The library is divided into core and extended sections. The core section minimizes required environment support (i.e. no operating system is required) and only requires a C89/C90 compatible C compiler with standard libraries. Because of this environment minimization, some grunt work may be needed to integrate the library in your application. For example, if you wish to use the core section to parse and generate commands for communicating with a VectorNav sensor, you will be required to implement the necessary UART or SPI handling code for your platform, and this code will mainly be concerned with relaying byte arrays between the UART/SPI code with the VectorNav C Library protocol handling code. However, if your development environment contains an operating system (Windows/Linux/Mac), you may be interested in using the extended section of the library. The extended section builds upon the core section but provides a more convenient access to VectorNav's sensors.
To get started, we recommend first going through the Getting Started example below to get comfortable with structuring a program to communication with a sensor using the core section of the library. After finishing this, the other examples listed are useful areas to jump into.
The items listed below are useful resources regarding the VectorNav C Library.