-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Example/useownserialization #22
base: master
Are you sure you want to change the base?
Conversation
updating downstream master
Yes, I'd definitely be happy to include this, thank you! Ideally, I'd like to unify this as much as possible with @tkoolen's generic LCMType type, but that doesn't have to happen right now. Could you just add this to the |
Codecov Report
@@ Coverage Diff @@
## master #22 +/- ##
=======================================
Coverage 79.35% 79.35%
=======================================
Files 2 2
Lines 155 155
=======================================
Hits 123 123
Misses 32 32 Continue to review full report at Codecov.
|
Sure,will do -- might take a couple of days to bubble up on the queue my side. Thanks, test is definitely the right way to go! |
Oh, and on @tkoolen's LCM Type stuff (which is really cool btw): I was looking at this it the other day and had been trying something similar. I was trying to use
It looked like Twan was going down the 'carbon copy' from native Julia path? Another thought which comes from a project I'm working on: |
Howdy Dehann.
Are you aware of ZeroCM/zcm#163?
I feel the problem with that is that that necessarily creates new byte vectors and new |
Hi Twan, Did see zcm yes, but didn't look too deep. They are using zmq for transport but LCM for serialization. Yeah good point, I agree I like all the in place stuff btw and your LCMType stuff. I could maybe help out with the autogeneration of the LCMType code from an |
Sounds good. @rdeits at some point suggested starting off by making a string macro that creates the |
Yeah, my point w.r.t the string macro is that once you've written a function that takes an LCM definition as string and spits out a Julia type definition, then you can use that to read const my_t = lcmtype"""
struct my_t {
int x;
}
""" |
we should probably close this PR in favor of the LCMType plumbing as @tkoolen suggested? |
We put together this example a while back and wondering if you wanted to add it to the registered
LCMCore
repo. There might be some confusion for people who do not know LCM. Let me know if you have any ideas to change or improve this?PS, I mistakenly committed the original example file to
dehann/LCMCore.jl:master
and decided fix it by just deleting the file and re-adding it through a new branch was easiest.