MCPcopy Create free account
hub / github.com/AdaCompNUS/summit / SubscribeToStream

Function SubscribeToStream

PythonAPI/carla/source/libcarla/Sensor.cpp:13–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11#include <carla/client/ServerSideSensor.h>
12
13static void SubscribeToStream(carla::client::Sensor &self, boost::python::object callback) {
14 self.Listen(MakeCallback(std::move(callback)));
15}
16
17void export_sensor() {
18 using namespace boost::python;

Callers

nothing calls this directly

Calls 2

MakeCallbackFunction · 0.85
ListenMethod · 0.45

Tested by

no test coverage detected