Comments (2)
You can do this with functools.partial!
Eg:
def my_function(arg1, arg2, topic_name, data, clock):
...
callback = functools.partial(my_function, my_arg1, my_arg2)
client.add_response_callback(callback)
I've used this method to pass extra data into a service client.
from ecal.
I guess that will do the trick :)
Thanks for very quick response 👍
from ecal.
Related Issues (20)
- Disscussion: Rework eCAL Logging concept / API.
- [play] ecal play (gui) chrashes on empty measurements
- Make sure Qt Versions of eCAL Mon GUI and Signal Plotting QWT plugin match
- Backport fixes from master to 5.12 / 5.13
- Rename python binding from pyhton3-ecal5 to eclipse-ecal
- Create 5.13 deprecation documentation
- Wrong mutex definitions in ecal C API implementation module
- Cherry-pick more commits to 5.12 / 5.13
- Frequency column in eCAL Monitor is showing weird values for slow publishers HOT 3
- ecal.core.core.mon_monitoring() and mon_pubmonitoring() improperly parsing binary data HOT 7
- Add Qt6 support again
- How to solve inter process communication timeout in ecal HOT 1
- Issues with Thread Waiting on Mac OS HOT 6
- Possible race condition in CLog
- Possible race in CGlobals
- Possible race condition in CDataWriterSHM
- how ecal services switch to udp? HOT 4
- Doc: Outdated links to eCAL Samples
- eCAL Monitor, "Error getting Monitoring Information" HOT 1
- Auto approve action incorrectly marking files as public API. 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 ecal.