(ctx_ref: aimrt_python_runtime.ContextRef, msg)
| 195 | py_ros2_ts.SetSerializationTypesSupportedList(["ros2"]) |
| 196 | |
| 197 | def ros2_callback_wrapper(ctx_ref: aimrt_python_runtime.ContextRef, msg): |
| 198 | try: |
| 199 | if required_param_count == 1: |
| 200 | callback(msg) |
| 201 | else: |
| 202 | callback(ctx_ref, msg) |
| 203 | except Exception as e: |
| 204 | print(f"AimRT channel handle get exception, {e}", file=sys.stderr) |
| 205 | |
| 206 | aimrt_py_ros2.Ros2SubscribeWithCtx(subscriber, py_ros2_ts, msg_type, ros2_callback_wrapper) |
| 207 |
nothing calls this directly
no outgoing calls
no test coverage detected