GithubHelp home page GithubHelp logo

zerocm / zcm Goto Github PK

View Code? Open in Web Editor NEW
233.0 233.0 67.0 4.09 MB

Zero Communications and Marshalling

Home Page: http://zerocm.github.io/zcm/

License: GNU Lesser General Public License v2.1

Python 4.18% C++ 54.80% C 25.56% Shell 0.78% Java 12.08% JavaScript 1.35% Julia 0.72% Dockerfile 0.06% Cython 0.46%

zcm's People

Contributors

ajbonkoski avatar andrehat avatar bos101 avatar bradthom avatar dissing avatar duam avatar ernestum avatar jacobschloss avatar jbendes avatar jhoellerbauer avatar jrgriffin94 avatar mattjdioguardi avatar olsoni avatar rdeits avatar samueldaniel avatar sdebruinss avatar sid1057 avatar snip3rnick avatar spschul avatar timetoprogram avatar tkbrady avatar vishnureddy17 avatar xorvoid avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

zcm's Issues

Build: java build fails on 32 bit system

[22/51] Processing jar_create: build/zcm/java/classes/zcm/zcm/MessageAggregator$Message.class build/zcm/java/classes/zcm/zcm/MessageAggregator.class build/zcm/java/classes/zcm/zcm/Provider.class build/zcm/java/classes/zcm/zcm/URLParser.class build/zcm/java/classes/zcm/zcm/ZCM$SimpleSubscriber.class build/zcm/java/classes/zcm/zcm/ZCM$SubscriptionRecord.class build/zcm/java/classes/zcm/zcm/ZCM.class build/zcm/java/classes/zcm/zcm/ZCMDataInputStream.class build/zcm/java/classes/zcm/zcm/ZCMDataOutputStream.class build/zcm/java/classes/zcm/zcm/ZCMEncodable.class build/zcm/java/classes/zcm/zcm/ZCMJNI.class build/zcm/java/classes/zcm/zcm/ZCMSubscriber.class -> build/zcm/java/zcm.jar
../zcm/java/jni/zcm_zcm_ZCMJNI.c: In function ‘getNativePtr’:
../zcm/java/jni/zcm_zcm_ZCMJNI.c:25:12: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
return (Internal*) nativePtr;
^
../zcm/java/jni/zcm_zcm_ZCMJNI.c: In function ‘setNativePtr’:
../zcm/java/jni/zcm_zcm_ZCMJNI.c:31:42: error: cast from pointer to integer of different size -Werror=pointer-to-int-cast->SetLongField(env, self, fld, (jlong)zcm);
^
cc1: all warnings being treated as errors

Should make a zcm subscribe async function

Allow the user to handle the incoming message data in a separate thread via a deep copy of the message. Would throw out any messages that arrived while the user was blocking

NodeJS page reload errors

Nodejs errors on page reload frequently Assertion failed: pfd.revents & POLLIN (signaler.cpp:193) Aborted (core dumped) this may be a problem with a zmq socket getting handled by multiple threads

docs-java_home

Should definitely include a mention in the tutorial of needing to set JAVA_HOME correctly. Probably just include these lines somewhere in a file that can just be sourced:
if [ -z ${JAVA_HOME+x} ]; then
export JAVA_HOME=$(readlink -f /usr/bin/javac | sed "s:/bin/javac::")
fi

Build: ZCM does not build in Python 2.4

ZCM will not build under Python 2.4. In the python package Collections, defaultdict was not added until Python 2.5, as a result the application will not build.

Pull in recent LCM fixes

  1. check if there are changes from newer releases of LCM (including the 1.3 that just landed) that we want to pull into ZCM

  2. check out this LCM pullreq to see if we want it: lcm-proj/lcm#39

Tools: rename zcm-lspy to be more consistent with other tool naming

If this should be deprecated because of the existence of the cpp zcm-spy-lite, we should just delete it, otherwise, we should rename it as something like: zcm-spy-clite so the tab completion on the command line is more consistent. (ie zcm-l"tab" should always go to logging related tools and zcm-s"tab" should always go to spy related tools)

API DOC: Some transports are poorly documented

From Isaac:

All urls should have clearly documented options as well as default arguments for all options. Ideally, the help-text that they register with the transport registrar would provide all of this information for the user at runtime. Example of this would be the udpm url defaulting to ttl=0 (instead of forcing the user to type ?ttl=0

How to share embedded transport code?

From Isaac:

How do we want to add embedded transports to the repo (it'd be nice for people to push back even chip specific transports, just need to think about how to organize / QA them)

ZMQ delay from publish/subscribe

ZeroMQ has an unfortunate subtlety where upon opening a socket, the first message or two are not successfully received. This is known behavior in ZMQ. ZCM inherits this behavior for the IPC transport as a result.

TODO: work around this issue or replace the IPC implementation entirely.

Static-linking for C programs

From Isaac:

Making the core implementation of zcm C++ (e.g. blocking.cpp) means we can't link a C program to a static library version of zcm. This came up as I was trying to build some tests for the zcm core. Basically, I was trying either to link to the zcm shared object without installing it (very hard without messing with LD_LIBRARY_PATH) and decided it would be better just to use a static version of the zcm library for local tests. However, if you try to make a C test program and link to the static libraries you get a whole bunch of errors. This is easily fixed by changing to only C++ local tests, but we should be aware of it.

Add explicit copy constructor comment

We should add a comment to the emitted zcmtypes that indicate that they intentionally have no copy constructor explicitly defined; they use the implicit copy constructor. This works because there is no dynamic memory in zcmtypes. Any dynamic fields are represented as vectors which have copy constructors defined in stdlib.

Zcm plugins segfault when opening viewers

Break-case: running zcm-spy while broadcasting laser messages. Trying to use april.zcm.LaserPlugin to view the Laser point cloud and received a segfault from libzcm.so in the UDP code.

NodeJS zcm-gen issues

Currently the NodeJS zcm-gen implementation doesn't work correctly for all zcmtypes. In particular, the type hashes for nested types are incorrect.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.