TinyEKF | Lightweight C/C++ Extended Kalman Filter with Python
kandi X-RAY | TinyEKF Summary
kandi X-RAY | TinyEKF Summary
TinyEKF is a C library typically used in Internet of Things (IoT), Arduino applications. TinyEKF has no bugs, it has no vulnerabilities and it has medium support. However TinyEKF has a Non-SPDX License. You can download it from GitHub.
TinyEKF is a simple C/C++ implementation of the Extended Kalman Filter that is general enough to use on different projects. In order to make it practical for running on Arduino, STM32, and other microcontrollers, it uses static (compile-time) memory allocation (no "new" or "malloc"). The examples folder includes an Arduino example of sensor fusion. The extras/python folder includes an abstract Python class that you can use to prototype your EKF before implementing it in C/C++. The extrasc/c folder contains a "pure C" example from the literature. Arduino users can simply install or drag the whole TinyEKF folder into their Arduino libraries folder. The examples/SensorFusion folder contains a little sensor fusion example using a BMP180 barometer and LM35 temperature sensor. I have run this example on an Arduino Uno and a Teensy 3.2. The BMP180, being an I^2C sensor, should be connected to pins 4 (SDA) and 5 (SCL) of the Uno, or pins 18 (SDA) and 19 (SCL) of the Teensy. For other Arduino boards, consult the documentation on the Wire library. The analog output from the LM35 should go to the A0 pin of your Arduino or Teensy. In addition to the class definition, the extras/python folder has an example of mouse tracking, using OpenCV. So you will have to install OpenCV to run this example. There is also a sensor-fusion example in this folder, which uses the RealtimePlotter package, requiring Matplotlib.
TinyEKF is a simple C/C++ implementation of the Extended Kalman Filter that is general enough to use on different projects. In order to make it practical for running on Arduino, STM32, and other microcontrollers, it uses static (compile-time) memory allocation (no "new" or "malloc"). The examples folder includes an Arduino example of sensor fusion. The extras/python folder includes an abstract Python class that you can use to prototype your EKF before implementing it in C/C++. The extrasc/c folder contains a "pure C" example from the literature. Arduino users can simply install or drag the whole TinyEKF folder into their Arduino libraries folder. The examples/SensorFusion folder contains a little sensor fusion example using a BMP180 barometer and LM35 temperature sensor. I have run this example on an Arduino Uno and a Teensy 3.2. The BMP180, being an I^2C sensor, should be connected to pins 4 (SDA) and 5 (SCL) of the Uno, or pins 18 (SDA) and 19 (SCL) of the Teensy. For other Arduino boards, consult the documentation on the Wire library. The analog output from the LM35 should go to the A0 pin of your Arduino or Teensy. In addition to the class definition, the extras/python folder has an example of mouse tracking, using OpenCV. So you will have to install OpenCV to run this example. There is also a sensor-fusion example in this folder, which uses the RealtimePlotter package, requiring Matplotlib.
Support
Quality
Security
License
Reuse
Support
TinyEKF has a medium active ecosystem.
It has 839 star(s) with 308 fork(s). There are 58 watchers for this library.
It had no major release in the last 6 months.
There are 11 open issues and 8 have been closed. On average issues are closed in 2 days. There are 2 open pull requests and 0 closed requests.
It has a neutral sentiment in the developer community.
The latest version of TinyEKF is current.
Quality
TinyEKF has 0 bugs and 0 code smells.
Security
TinyEKF has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
TinyEKF code analysis shows 0 unresolved vulnerabilities.
There are 0 security hotspots that need review.
License
TinyEKF has a Non-SPDX License.
Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.
Reuse
TinyEKF releases are not available. You will need to build from source code and install.
Top functions reviewed by kandi - BETA
kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of TinyEKF
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of TinyEKF
TinyEKF Key Features
No Key Features are available at this moment for TinyEKF.
TinyEKF Examples and Code Snippets
No Code Snippets are available at this moment for TinyEKF.
Community Discussions
Trending Discussions on TinyEKF
QUESTION
error assignment to expression with array type
Asked 2019-Mar-20 at 07:57
I have a function named unpack
, and compiling the C++ code leads to a couple of errors. The code is below:
ANSWER
Answered 2019-Mar-20 at 07:57According to this, ekf.x
is of type double x[]
. You can't just assign to an array like ekf->x = dptr;
, as the error says. If you want to copy data from dptr
to ekf->x
, you can use memcpy
:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install TinyEKF
You can download it from GitHub.
Support
For any new features, suggestions and bugs create an issue on GitHub.
If you have any questions check and ask questions on community page Stack Overflow .
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page