Comments (3)
Done, now Ts acts as a float type globally accessible variable for storing the value of the sampling time. I tried it, worked.
from automationshield.
Ts should not be float - you may have issues with type conversions later. Say, you use only whole milliseconds, thats good enough. Then it could be an unsigned int or something similar.
Or you assume Ts to be float, then convert it to int milli(micro) seconds?
from automationshield.
@rkoplinger solution should be used with the "GetSampling" (or whatever) function to access sampling times inside functions, like the PID. Please remember @Gabor7697 @TiborKonkoly @KuboJakub when adding new features to the library.
from automationshield.
Related Issues (20)
- Arduino Leonardo suport HOT 1
- Spellcheck CI step hanging HOT 1
- GitHub Actions (Or other free CI) on a Raspberry Pi? HOT 2
- Set up backup for AutomationShield internal server HOT 3
- Set up mail accounts for @automationshield.com
- MATLAB Check script hangs HOT 2
- Automatic deployment/release process
- Create a branch and keep using git and github for BoBShiled
- Wiki for AeroShield HOT 1
- Synology WebDAV server is stopped HOT 2
- Synology stays down after power cycle HOT 2
- Identified SS model current offset HOT 2
- AeroShield wiki
- PressureShield - Simulink
- PressureShield-wiki
- MagnetoShield 12V Rail Necessary? HOT 2
- MagnetoShield R4 Design Files HOT 2
- AeroShield compilation error HOT 6
- MotoShield PCB files
- Magnetoshield 3D parts HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from automationshield.