mzahana / px4_pid_tuner Goto Github PK
View Code? Open in Web Editor NEWPython script for system identification and tuning of PX4 PID loops based on PX4 logs (ulog only).
License: MIT License
Python script for system identification and tuning of PX4 PID loops based on PX4 logs (ulog only).
License: MIT License
when passing u and y into SIPPY those two arrays seem to not have a type when they should be floats. I poked a little and self._y and self._u in the PX4SYSID class seem to be 1x1250 floats as expected but the type is lost after being run through numpy's atleast_2d() function.
Forcing A stability
Forcing A stability
Forcing A stability
Forcing A stability
Processing batch# 5
Best fit = 0.0
Traceback (most recent call last):
File "./px4_pid_tuner.py", line 907, in
main(args)
File "./px4_pid_tuner.py", line 849, in main
sysid = PX4SYSID(best_t, best_u, best_y, use_subspace =True, subspace_method='N4SID', Ts=dt, u_name='best_input', y_name='best_ouput', subspace_p=best_p, plot = True)
File "./px4_pid_tuner.py", line 310, in init
self.do_sys_id()
File "./px4_pid_tuner.py", line 364, in do_sys_id
sys_id = system_identification(self._y, self._u, self._subspace_method, SS_fixed_order=num_poles, SS_p=self._subspace_p, SS_f=50, tsample=self._Ts, SS_A_stability=True, centering='MeanVal')
File "/usr/local/lib/python3.6/dist-packages/sippy-0.1.0-py3.6.egg/sippy/init.py", line 22, in system_identification
TypeError: unsupported operand type(s) for *: 'float' and 'NoneType'
Is this for tuning FW vehicles, MR vehicles or both?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.