Skip to content

Conversation

@ArcEye
Copy link

@ArcEye ArcEye commented Sep 27, 2015

Legacy components used the kernel parameter 'count' to determine
divisor for averaging operation.
This was overlooked in conversion.

As instances cannot easily determine how many other instances of
the same component are in use, a count pin has been added in order
that the calling script can inform all instances of this figure.

Signed-off-by: Mick arceye@mgware.co.uk

@ArcEye
Copy link
Author

ArcEye commented Sep 27, 2015

I was playing with latency stuff and only when I saw the usage of timedelta did I realise that the count parameter was being used for something other than the usual 'how many copies shall I make' at creation time.
This solution will probably do, as only 2 scripts (and 2 variants of one of them) actually use it and they have been changed to use the count pin if more than one instance is used.

@ArcEye
Copy link
Author

ArcEye commented Sep 28, 2015

Don't merge yet. Realised at 2am this morning, I had not copied over all the code:(

Legacy components used the kernel parameter 'count' to determine
divisor for averaging operation.
This was overlooked in conversion.

As instances cannot easily determine how many other instances of
the same component are in use, a count pin has been added in order
that the calling script can inform all instances of this figure.

New latency-test variants using v2 components added.

Signed-off-by: Mick <arceye@mgware.co.uk>
@ArcEye
Copy link
Author

ArcEye commented Sep 28, 2015

OK, now complete. Didn't bother with a v2 version of latency-plot. I can't get the v1 version to do anything usefull.

@ArcEye ArcEye closed this Oct 5, 2015
machinekoder added a commit to machinekoder/machinekit that referenced this pull request Jun 30, 2017
f4481f561 Merge pull request machinekit#81 from machinekoder/machinekit-updates
17178e54f add jplan and ros proto definitions
6a2762863 fix gitignore
98f68e22b rtapi_message: fix whitespace
cfc23327e specify proto2 syntax
50d5b91a7 merging updates from upstream Machinekit
30cb027e3 Merge pull request mhaberler#80 from machinekit/ArcEye-patch-1
394d3d897 Amend asciidoc.mustache
a328a2478 Merge pull request mhaberler#79 from machinekoder/js-bundle-update
60f39299a Merge pull request mhaberler#78 from machinekoder/python-build-fix
95f6c564e update js bundles
2179c974f reorder Makefile commands correctly
5531e8cf1 Merge pull request mhaberler#77 from machinekoder/java-support
6c428b26f adding Java build
add0bf491 Merge pull request mhaberler#75 from machinekoder/doc-build-fix
4b58961c0 fix docs build
8cb5b75ce Merge pull request mhaberler#74 from machinekoder/pypi2
dc0d32268 PyPI: update dependencies
6211ed296 Merge pull request mhaberler#73 from machinekoder/pypi
9b16d1f9e preparing for PyPi

git-subtree-dir: src/machinetalk/proto
git-subtree-split: f4481f561ac76a6976afad03f13c7b8e0f7af318
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant