Skip to main content

A small math example package

Project description

edie_logo

EDIE

EDIE, the Encode Decode Interface Engine software development kit allows interfacing and decoding data output from NovAtel's OEM7 receivers.

Building EDIE from source code

Compiling binaries

Linux

These instructions assume that you are using Ubuntu 18.04 or newer.

  1. Open terminal
  2. Update the system: apt-get update
  3. Install make, cmake tools and g++ compiler: apt-get install -y cmake make g++
  4. Install multilib for gcc and g++: apt-get install --yes gcc-multilib g++-multilib
  5. Clone the EDIE repository and change the folder permission: sudo chmod -R 777 nov-decoder/
  6. Create a build folder in the root directory: mkdir build
  7. Go to build folder: cd build
  8. Configure cmake for static library: cmake -DCMAKE_BUILD_TYPE=Release ..
  9. Configure cmake for shared along with static library: cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_LIB_SHARED=1 ..
  10. Build: make

After compiling the binaries you can also run make install to copy the binaries to the /usr/ directory.

  1. Archives will be copied to /usr/lib
  2. Libraries will be copied to /usr/lib
  3. Public headers will be copied to /usr/include/novatel/edie/decoder

Note:

  1. 'CMAKE_BUILD_TYPE' could be 'Release or Debug'

Windows

These instructions assume that you are using Windows 10.

  1. Install the latest version of CMAKE (https://cmake.org/install/)
  2. Clone the EDIE repository
  3. Open a PowerShell session in the root directory
  4. Create build directory and navigate to it: mkdir build && cd build
  5. Generate configuration for static library for VS 2017: cmake .. -G "Visual Studio 15 2017" -A Win32
  6. Generate configuration for shared along with static library for VS 2017: cmake .. -G "Visual Studio 15 2017" -A Win32 -DCMAKE_LIB_SHARED=1
    • You can replace the -G argument with any version VS newer than "Visual Studio 15 2017"
  7. Build & Install: cmake --build . --config Release --target install
    • '--config' could be 'Release or Debug'

Build artifacts (such as public include files) will be copied to the bin directory in the root of the project. Building EDIE in Windows will also create a solution file (.sln) in the build directory, which can be opened in Visual Studio 2017. EDIE can be built by Visual Studio through this solution file. Alternatively newer version of Visual Studio can open cmake projects directly.

Generate documentation

Linux

  1. Update the system: apt-get update
  2. Install tzdata package: apt-get install -y tzdata
  3. Install doxygen and python3-pip: apt-get install -y doxygen python3-pip
  4. Install exhale and sphinx_rtd_theme: pip3 install exhale sphinx_rtd_theme
  5. Run Sphinx on each component e.g. sphinx-build src/decoders/common/doc doc/decoders/common/doc/html

Windows

  1. Install exhale and sphinx_rtd_theme: pip3 install exhale sphinx_rtd_theme
  2. Run Sphinx on each component e.g. sphinx-build src/decoders/common/doc doc/decoders/common/doc/html

FAQ

Q: Where can I find the documention for the logs.
A: Click here to view our documentation

Q: How can the binary log data be used to extract data from a log.
A: The database folder contains the file novatel_log_definitions.hpp that can be used to cast the binary data to a structure.

Roadmap

Short-term

  • Work on more examples and integration guides
  • Create a script to generate log and fieldnames so it's will be easier to use the JSON format
  • Expose more Stream Interfaces though the dynamic library
  • More unit testing
  • Support compiling in Windows with Cygwin

Long-term

  • Rewrite Framing and Decoder code to remove the current couping from each other and clean up the codebase and logic
  • Change DLL to output binary data. JSON parsing in Python slows down the decoder consideribly.

Authors

License

This project is licensed under the MIT License - see the LICENSE file for details

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mymath_pkg_gravada-1.0.0.tar.gz (4.3 kB view hashes)

Uploaded Source

Built Distribution

mymath_pkg_gravada-1.0.0-py3-none-any.whl (4.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page