This module defines channels to easily log messages conforming to well-known Foxglove schemas.
See the foxglove.schemas module for available definitions.
- class foxglove.channels.ArrowPrimitiveChannel(topic, *, metadata=None, context=None)¶
A channel for logging
foxglove.schemas.ArrowPrimitivemessages.- close()¶
Close the channel.
You can use this to explicitly unadvertise the channel to sinks that subscribe to channels dynamically, such as the
foxglove.websocket.WebSocketServer.Attempts to log on a closed channel will elicit a throttled warning message.
- has_sinks()¶
Returns true if at least one sink is subscribed to this channel.
- id()¶
The unique ID of the channel.
- log(msg, *, log_time=None, sink_id=None)¶
Log a
foxglove.schemas.ArrowPrimitivemessage to the channel.- Parameters:
msg – The message to log.
log_time (default:
None) – The log time is the time, as nanoseconds from the unix epoch, that the message was recorded. Usually this is the time log() is called. If omitted, the current time is used.sink_id (default:
None) – The ID of the sink to log to. If omitted, the message is logged to all sinks.
- message_encoding¶
The message encoding for the channel.
- metadata()¶
Returns a copy of the channel’s metadata.
Note that changes made to the returned dictionary will not be applied to the channel’s metadata.
- schema()¶
Returns a copy of the channel’s schema.
Note that changes made to the returned object will not be applied to the channel’s schema.
- schema_name()¶
The name of the schema for the channel.
- topic()¶
The topic name of the channel.
- class foxglove.channels.CameraCalibrationChannel(topic, *, metadata=None, context=None)¶
A channel for logging
foxglove.schemas.CameraCalibrationmessages.- close()¶
Close the channel.
You can use this to explicitly unadvertise the channel to sinks that subscribe to channels dynamically, such as the
foxglove.websocket.WebSocketServer.Attempts to log on a closed channel will elicit a throttled warning message.
- has_sinks()¶
Returns true if at least one sink is subscribed to this channel.
- id()¶
The unique ID of the channel.
- log(msg, *, log_time=None, sink_id=None)¶
Log a
foxglove.schemas.CameraCalibrationmessage to the channel.- Parameters:
msg – The message to log.
log_time (default:
None) – The log time is the time, as nanoseconds from the unix epoch, that the message was recorded. Usually this is the time log() is called. If omitted, the current time is used.sink_id (default:
None) – The ID of the sink to log to. If omitted, the message is logged to all sinks.
- message_encoding¶
The message encoding for the channel.
- metadata()¶
Returns a copy of the channel’s metadata.
Note that changes made to the returned dictionary will not be applied to the channel’s metadata.
- schema()¶
Returns a copy of the channel’s schema.
Note that changes made to the returned object will not be applied to the channel’s schema.
- schema_name()¶
The name of the schema for the channel.
- topic()¶
The topic name of the channel.
- class foxglove.channels.CircleAnnotationChannel(topic, *, metadata=None, context=None)¶
A channel for logging
foxglove.schemas.CircleAnnotationmessages.- close()¶
Close the channel.
You can use this to explicitly unadvertise the channel to sinks that subscribe to channels dynamically, such as the
foxglove.websocket.WebSocketServer.Attempts to log on a closed channel will elicit a throttled warning message.
- has_sinks()¶
Returns true if at least one sink is subscribed to this channel.
- id()¶
The unique ID of the channel.
- log(msg, *, log_time=None, sink_id=None)¶
Log a
foxglove.schemas.CircleAnnotationmessage to the channel.- Parameters:
msg – The message to log.
log_time (default:
None) – The log time is the time, as nanoseconds from the unix epoch, that the message was recorded. Usually this is the time log() is called. If omitted, the current time is used.sink_id (default:
None) – The ID of the sink to log to. If omitted, the message is logged to all sinks.
- message_encoding¶
The message encoding for the channel.
- metadata()¶
Returns a copy of the channel’s metadata.
Note that changes made to the returned dictionary will not be applied to the channel’s metadata.
- schema()¶
Returns a copy of the channel’s schema.
Note that changes made to the returned object will not be applied to the channel’s schema.
- schema_name()¶
The name of the schema for the channel.
- topic()¶
The topic name of the channel.
- class foxglove.channels.ColorChannel(topic, *, metadata=None, context=None)¶
A channel for logging
foxglove.schemas.Colormessages.- close()¶
Close the channel.
You can use this to explicitly unadvertise the channel to sinks that subscribe to channels dynamically, such as the
foxglove.websocket.WebSocketServer.Attempts to log on a closed channel will elicit a throttled warning message.
- has_sinks()¶
Returns true if at least one sink is subscribed to this channel.
- id()¶
The unique ID of the channel.
- log(msg, *, log_time=None, sink_id=None)¶
Log a
foxglove.schemas.Colormessage to the channel.- Parameters:
msg – The message to log.
log_time (default:
None) – The log time is the time, as nanoseconds from the unix epoch, that the message was recorded. Usually this is the time log() is called. If omitted, the current time is used.sink_id (default:
None) – The ID of the sink to log to. If omitted, the message is logged to all sinks.
- message_encoding¶
The message encoding for the channel.
- metadata()¶
Returns a copy of the channel’s metadata.
Note that changes made to the returned dictionary will not be applied to the channel’s metadata.
- schema()¶
Returns a copy of the channel’s schema.
Note that changes made to the returned object will not be applied to the channel’s schema.
- schema_name()¶
The name of the schema for the channel.
- topic()¶
The topic name of the channel.
- class foxglove.channels.CompressedImageChannel(topic, *, metadata=None, context=None)¶
A channel for logging
foxglove.schemas.CompressedImagemessages.- close()¶
Close the channel.
You can use this to explicitly unadvertise the channel to sinks that subscribe to channels dynamically, such as the
foxglove.websocket.WebSocketServer.Attempts to log on a closed channel will elicit a throttled warning message.
- has_sinks()¶
Returns true if at least one sink is subscribed to this channel.
- id()¶
The unique ID of the channel.
- log(msg, *, log_time=None, sink_id=None)¶
Log a
foxglove.schemas.CompressedImagemessage to the channel.- Parameters:
msg – The message to log.
log_time (default:
None) – The log time is the time, as nanoseconds from the unix epoch, that the message was recorded. Usually this is the time log() is called. If omitted, the current time is used.sink_id (default:
None) – The ID of the sink to log to. If omitted, the message is logged to all sinks.
- message_encoding¶
The message encoding for the channel.
- metadata()¶
Returns a copy of the channel’s metadata.
Note that changes made to the returned dictionary will not be applied to the channel’s metadata.
- schema()¶
Returns a copy of the channel’s schema.
Note that changes made to the returned object will not be applied to the channel’s schema.
- schema_name()¶
The name of the schema for the channel.
- topic()¶
The topic name of the channel.
- class foxglove.channels.CompressedVideoChannel(topic, *, metadata=None, context=None)¶
A channel for logging
foxglove.schemas.CompressedVideomessages.- close()¶
Close the channel.
You can use this to explicitly unadvertise the channel to sinks that subscribe to channels dynamically, such as the
foxglove.websocket.WebSocketServer.Attempts to log on a closed channel will elicit a throttled warning message.
- has_sinks()¶
Returns true if at least one sink is subscribed to this channel.
- id()¶
The unique ID of the channel.
- log(msg, *, log_time=None, sink_id=None)¶
Log a
foxglove.schemas.CompressedVideomessage to the channel.- Parameters:
msg – The message to log.
log_time (default:
None) – The log time is the time, as nanoseconds from the unix epoch, that the message was recorded. Usually this is the time log() is called. If omitted, the current time is used.sink_id (default:
None) – The ID of the sink to log to. If omitted, the message is logged to all sinks.
- message_encoding¶
The message encoding for the channel.
- metadata()¶
Returns a copy of the channel’s metadata.
Note that changes made to the returned dictionary will not be applied to the channel’s metadata.
- schema()¶
Returns a copy of the channel’s schema.
Note that changes made to the returned object will not be applied to the channel’s schema.
- schema_name()¶
The name of the schema for the channel.
- topic()¶
The topic name of the channel.
- class foxglove.channels.CubePrimitiveChannel(topic, *, metadata=None, context=None)¶
A channel for logging
foxglove.schemas.CubePrimitivemessages.- close()¶
Close the channel.
You can use this to explicitly unadvertise the channel to sinks that subscribe to channels dynamically, such as the
foxglove.websocket.WebSocketServer.Attempts to log on a closed channel will elicit a throttled warning message.
- has_sinks()¶
Returns true if at least one sink is subscribed to this channel.
- id()¶
The unique ID of the channel.
- log(msg, *, log_time=None, sink_id=None)¶
Log a
foxglove.schemas.CubePrimitivemessage to the channel.- Parameters:
msg – The message to log.
log_time (default:
None) – The log time is the time, as nanoseconds from the unix epoch, that the message was recorded. Usually this is the time log() is called. If omitted, the current time is used.sink_id (default:
None) – The ID of the sink to log to. If omitted, the message is logged to all sinks.
- message_encoding¶
The message encoding for the channel.
- metadata()¶
Returns a copy of the channel’s metadata.
Note that changes made to the returned dictionary will not be applied to the channel’s metadata.
- schema()¶
Returns a copy of the channel’s schema.
Note that changes made to the returned object will not be applied to the channel’s schema.
- schema_name()¶
The name of the schema for the channel.
- topic()¶
The topic name of the channel.
- class foxglove.channels.CylinderPrimitiveChannel(topic, *, metadata=None, context=None)¶
A channel for logging
foxglove.schemas.CylinderPrimitivemessages.- close()¶
Close the channel.
You can use this to explicitly unadvertise the channel to sinks that subscribe to channels dynamically, such as the
foxglove.websocket.WebSocketServer.Attempts to log on a closed channel will elicit a throttled warning message.
- has_sinks()¶
Returns true if at least one sink is subscribed to this channel.
- id()¶
The unique ID of the channel.
- log(msg, *, log_time=None, sink_id=None)¶
Log a
foxglove.schemas.CylinderPrimitivemessage to the channel.- Parameters:
msg – The message to log.
log_time (default:
None) – The log time is the time, as nanoseconds from the unix epoch, that the message was recorded. Usually this is the time log() is called. If omitted, the current time is used.sink_id (default:
None) – The ID of the sink to log to. If omitted, the message is logged to all sinks.
- message_encoding¶
The message encoding for the channel.
- metadata()¶
Returns a copy of the channel’s metadata.
Note that changes made to the returned dictionary will not be applied to the channel’s metadata.
- schema()¶
Returns a copy of the channel’s schema.
Note that changes made to the returned object will not be applied to the channel’s schema.
- schema_name()¶
The name of the schema for the channel.
- topic()¶
The topic name of the channel.
- class foxglove.channels.FrameTransformChannel(topic, *, metadata=None, context=None)¶
A channel for logging
foxglove.schemas.FrameTransformmessages.- close()¶
Close the channel.
You can use this to explicitly unadvertise the channel to sinks that subscribe to channels dynamically, such as the
foxglove.websocket.WebSocketServer.Attempts to log on a closed channel will elicit a throttled warning message.
- has_sinks()¶
Returns true if at least one sink is subscribed to this channel.
- id()¶
The unique ID of the channel.
- log(msg, *, log_time=None, sink_id=None)¶
Log a
foxglove.schemas.FrameTransformmessage to the channel.- Parameters:
msg – The message to log.
log_time (default:
None) – The log time is the time, as nanoseconds from the unix epoch, that the message was recorded. Usually this is the time log() is called. If omitted, the current time is used.sink_id (default:
None) – The ID of the sink to log to. If omitted, the message is logged to all sinks.
- message_encoding¶
The message encoding for the channel.
- metadata()¶
Returns a copy of the channel’s metadata.
Note that changes made to the returned dictionary will not be applied to the channel’s metadata.
- schema()¶
Returns a copy of the channel’s schema.
Note that changes made to the returned object will not be applied to the channel’s schema.
- schema_name()¶
The name of the schema for the channel.
- topic()¶
The topic name of the channel.
- class foxglove.channels.FrameTransformsChannel(topic, *, metadata=None, context=None)¶
A channel for logging
foxglove.schemas.FrameTransformsmessages.- close()¶
Close the channel.
You can use this to explicitly unadvertise the channel to sinks that subscribe to channels dynamically, such as the
foxglove.websocket.WebSocketServer.Attempts to log on a closed channel will elicit a throttled warning message.
- has_sinks()¶
Returns true if at least one sink is subscribed to this channel.
- id()¶
The unique ID of the channel.
- log(msg, *, log_time=None, sink_id=None)¶
Log a
foxglove.schemas.FrameTransformsmessage to the channel.- Parameters:
msg – The message to log.
log_time (default:
None) – The log time is the time, as nanoseconds from the unix epoch, that the message was recorded. Usually this is the time log() is called. If omitted, the current time is used.sink_id (default:
None) – The ID of the sink to log to. If omitted, the message is logged to all sinks.
- message_encoding¶
The message encoding for the channel.
- metadata()¶
Returns a copy of the channel’s metadata.
Note that changes made to the returned dictionary will not be applied to the channel’s metadata.
- schema()¶
Returns a copy of the channel’s schema.
Note that changes made to the returned object will not be applied to the channel’s schema.
- schema_name()¶
The name of the schema for the channel.
- topic()¶
The topic name of the channel.
- class foxglove.channels.GeoJsonChannel(topic, *, metadata=None, context=None)¶
A channel for logging
foxglove.schemas.GeoJsonmessages.- close()¶
Close the channel.
You can use this to explicitly unadvertise the channel to sinks that subscribe to channels dynamically, such as the
foxglove.websocket.WebSocketServer.Attempts to log on a closed channel will elicit a throttled warning message.
- has_sinks()¶
Returns true if at least one sink is subscribed to this channel.
- id()¶
The unique ID of the channel.
- log(msg, *, log_time=None, sink_id=None)¶
Log a
foxglove.schemas.GeoJsonmessage to the channel.- Parameters:
msg – The message to log.
log_time (default:
None) – The log time is the time, as nanoseconds from the unix epoch, that the message was recorded. Usually this is the time log() is called. If omitted, the current time is used.sink_id (default:
None) – The ID of the sink to log to. If omitted, the message is logged to all sinks.
- message_encoding¶
The message encoding for the channel.
- metadata()¶
Returns a copy of the channel’s metadata.
Note that changes made to the returned dictionary will not be applied to the channel’s metadata.
- schema()¶
Returns a copy of the channel’s schema.
Note that changes made to the returned object will not be applied to the channel’s schema.
- schema_name()¶
The name of the schema for the channel.
- topic()¶
The topic name of the channel.
- class foxglove.channels.GridChannel(topic, *, metadata=None, context=None)¶
A channel for logging
foxglove.schemas.Gridmessages.- close()¶
Close the channel.
You can use this to explicitly unadvertise the channel to sinks that subscribe to channels dynamically, such as the
foxglove.websocket.WebSocketServer.Attempts to log on a closed channel will elicit a throttled warning message.
- has_sinks()¶
Returns true if at least one sink is subscribed to this channel.
- id()¶
The unique ID of the channel.
- log(msg, *, log_time=None, sink_id=None)¶
Log a
foxglove.schemas.Gridmessage to the channel.- Parameters:
msg – The message to log.
log_time (default:
None) – The log time is the time, as nanoseconds from the unix epoch, that the message was recorded. Usually this is the time log() is called. If omitted, the current time is used.sink_id (default:
None) – The ID of the sink to log to. If omitted, the message is logged to all sinks.
- message_encoding¶
The message encoding for the channel.
- metadata()¶
Returns a copy of the channel’s metadata.
Note that changes made to the returned dictionary will not be applied to the channel’s metadata.
- schema()¶
Returns a copy of the channel’s schema.
Note that changes made to the returned object will not be applied to the channel’s schema.
- schema_name()¶
The name of the schema for the channel.
- topic()¶
The topic name of the channel.
- class foxglove.channels.ImageAnnotationsChannel(topic, *, metadata=None, context=None)¶
A channel for logging
foxglove.schemas.ImageAnnotationsmessages.- close()¶
Close the channel.
You can use this to explicitly unadvertise the channel to sinks that subscribe to channels dynamically, such as the
foxglove.websocket.WebSocketServer.Attempts to log on a closed channel will elicit a throttled warning message.
- has_sinks()¶
Returns true if at least one sink is subscribed to this channel.
- id()¶
The unique ID of the channel.
- log(msg, *, log_time=None, sink_id=None)¶
Log a
foxglove.schemas.ImageAnnotationsmessage to the channel.- Parameters:
msg – The message to log.
log_time (default:
None) – The log time is the time, as nanoseconds from the unix epoch, that the message was recorded. Usually this is the time log() is called. If omitted, the current time is used.sink_id (default:
None) – The ID of the sink to log to. If omitted, the message is logged to all sinks.
- message_encoding¶
The message encoding for the channel.
- metadata()¶
Returns a copy of the channel’s metadata.
Note that changes made to the returned dictionary will not be applied to the channel’s metadata.
- schema()¶
Returns a copy of the channel’s schema.
Note that changes made to the returned object will not be applied to the channel’s schema.
- schema_name()¶
The name of the schema for the channel.
- topic()¶
The topic name of the channel.
- class foxglove.channels.KeyValuePairChannel(topic, *, metadata=None, context=None)¶
A channel for logging
foxglove.schemas.KeyValuePairmessages.- close()¶
Close the channel.
You can use this to explicitly unadvertise the channel to sinks that subscribe to channels dynamically, such as the
foxglove.websocket.WebSocketServer.Attempts to log on a closed channel will elicit a throttled warning message.
- has_sinks()¶
Returns true if at least one sink is subscribed to this channel.
- id()¶
The unique ID of the channel.
- log(msg, *, log_time=None, sink_id=None)¶
Log a
foxglove.schemas.KeyValuePairmessage to the channel.- Parameters:
msg – The message to log.
log_time (default:
None) – The log time is the time, as nanoseconds from the unix epoch, that the message was recorded. Usually this is the time log() is called. If omitted, the current time is used.sink_id (default:
None) – The ID of the sink to log to. If omitted, the message is logged to all sinks.
- message_encoding¶
The message encoding for the channel.
- metadata()¶
Returns a copy of the channel’s metadata.
Note that changes made to the returned dictionary will not be applied to the channel’s metadata.
- schema()¶
Returns a copy of the channel’s schema.
Note that changes made to the returned object will not be applied to the channel’s schema.
- schema_name()¶
The name of the schema for the channel.
- topic()¶
The topic name of the channel.
- class foxglove.channels.LaserScanChannel(topic, *, metadata=None, context=None)¶
A channel for logging
foxglove.schemas.LaserScanmessages.- close()¶
Close the channel.
You can use this to explicitly unadvertise the channel to sinks that subscribe to channels dynamically, such as the
foxglove.websocket.WebSocketServer.Attempts to log on a closed channel will elicit a throttled warning message.
- has_sinks()¶
Returns true if at least one sink is subscribed to this channel.
- id()¶
The unique ID of the channel.
- log(msg, *, log_time=None, sink_id=None)¶
Log a
foxglove.schemas.LaserScanmessage to the channel.- Parameters:
msg – The message to log.
log_time (default:
None) – The log time is the time, as nanoseconds from the unix epoch, that the message was recorded. Usually this is the time log() is called. If omitted, the current time is used.sink_id (default:
None) – The ID of the sink to log to. If omitted, the message is logged to all sinks.
- message_encoding¶
The message encoding for the channel.
- metadata()¶
Returns a copy of the channel’s metadata.
Note that changes made to the returned dictionary will not be applied to the channel’s metadata.
- schema()¶
Returns a copy of the channel’s schema.
Note that changes made to the returned object will not be applied to the channel’s schema.
- schema_name()¶
The name of the schema for the channel.
- topic()¶
The topic name of the channel.
- class foxglove.channels.LinePrimitiveChannel(topic, *, metadata=None, context=None)¶
A channel for logging
foxglove.schemas.LinePrimitivemessages.- close()¶
Close the channel.
You can use this to explicitly unadvertise the channel to sinks that subscribe to channels dynamically, such as the
foxglove.websocket.WebSocketServer.Attempts to log on a closed channel will elicit a throttled warning message.
- has_sinks()¶
Returns true if at least one sink is subscribed to this channel.
- id()¶
The unique ID of the channel.
- log(msg, *, log_time=None, sink_id=None)¶
Log a
foxglove.schemas.LinePrimitivemessage to the channel.- Parameters:
msg – The message to log.
log_time (default:
None) – The log time is the time, as nanoseconds from the unix epoch, that the message was recorded. Usually this is the time log() is called. If omitted, the current time is used.sink_id (default:
None) – The ID of the sink to log to. If omitted, the message is logged to all sinks.
- message_encoding¶
The message encoding for the channel.
- metadata()¶
Returns a copy of the channel’s metadata.
Note that changes made to the returned dictionary will not be applied to the channel’s metadata.
- schema()¶
Returns a copy of the channel’s schema.
Note that changes made to the returned object will not be applied to the channel’s schema.
- schema_name()¶
The name of the schema for the channel.
- topic()¶
The topic name of the channel.
- class foxglove.channels.LocationFixChannel(topic, *, metadata=None, context=None)¶
A channel for logging
foxglove.schemas.LocationFixmessages.- close()¶
Close the channel.
You can use this to explicitly unadvertise the channel to sinks that subscribe to channels dynamically, such as the
foxglove.websocket.WebSocketServer.Attempts to log on a closed channel will elicit a throttled warning message.
- has_sinks()¶
Returns true if at least one sink is subscribed to this channel.
- id()¶
The unique ID of the channel.
- log(msg, *, log_time=None, sink_id=None)¶
Log a
foxglove.schemas.LocationFixmessage to the channel.- Parameters:
msg – The message to log.
log_time (default:
None) – The log time is the time, as nanoseconds from the unix epoch, that the message was recorded. Usually this is the time log() is called. If omitted, the current time is used.sink_id (default:
None) – The ID of the sink to log to. If omitted, the message is logged to all sinks.
- message_encoding¶
The message encoding for the channel.
- metadata()¶
Returns a copy of the channel’s metadata.
Note that changes made to the returned dictionary will not be applied to the channel’s metadata.
- schema()¶
Returns a copy of the channel’s schema.
Note that changes made to the returned object will not be applied to the channel’s schema.
- schema_name()¶
The name of the schema for the channel.
- topic()¶
The topic name of the channel.
- class foxglove.channels.LocationFixesChannel(topic, *, metadata=None, context=None)¶
A channel for logging
foxglove.schemas.LocationFixesmessages.- close()¶
Close the channel.
You can use this to explicitly unadvertise the channel to sinks that subscribe to channels dynamically, such as the
foxglove.websocket.WebSocketServer.Attempts to log on a closed channel will elicit a throttled warning message.
- has_sinks()¶
Returns true if at least one sink is subscribed to this channel.
- id()¶
The unique ID of the channel.
- log(msg, *, log_time=None, sink_id=None)¶
Log a
foxglove.schemas.LocationFixesmessage to the channel.- Parameters:
msg – The message to log.
log_time (default:
None) – The log time is the time, as nanoseconds from the unix epoch, that the message was recorded. Usually this is the time log() is called. If omitted, the current time is used.sink_id (default:
None) – The ID of the sink to log to. If omitted, the message is logged to all sinks.
- message_encoding¶
The message encoding for the channel.
- metadata()¶
Returns a copy of the channel’s metadata.
Note that changes made to the returned dictionary will not be applied to the channel’s metadata.
- schema()¶
Returns a copy of the channel’s schema.
Note that changes made to the returned object will not be applied to the channel’s schema.
- schema_name()¶
The name of the schema for the channel.
- topic()¶
The topic name of the channel.
- class foxglove.channels.LogChannel(topic, *, metadata=None, context=None)¶
A channel for logging
foxglove.schemas.Logmessages.- close()¶
Close the channel.
You can use this to explicitly unadvertise the channel to sinks that subscribe to channels dynamically, such as the
foxglove.websocket.WebSocketServer.Attempts to log on a closed channel will elicit a throttled warning message.
- has_sinks()¶
Returns true if at least one sink is subscribed to this channel.
- id()¶
The unique ID of the channel.
- log(msg, *, log_time=None, sink_id=None)¶
Log a
foxglove.schemas.Logmessage to the channel.- Parameters:
msg – The message to log.
log_time (default:
None) – The log time is the time, as nanoseconds from the unix epoch, that the message was recorded. Usually this is the time log() is called. If omitted, the current time is used.sink_id (default:
None) – The ID of the sink to log to. If omitted, the message is logged to all sinks.
- message_encoding¶
The message encoding for the channel.
- metadata()¶
Returns a copy of the channel’s metadata.
Note that changes made to the returned dictionary will not be applied to the channel’s metadata.
- schema()¶
Returns a copy of the channel’s schema.
Note that changes made to the returned object will not be applied to the channel’s schema.
- schema_name()¶
The name of the schema for the channel.
- topic()¶
The topic name of the channel.
- class foxglove.channels.ModelPrimitiveChannel(topic, *, metadata=None, context=None)¶
A channel for logging
foxglove.schemas.ModelPrimitivemessages.- close()¶
Close the channel.
You can use this to explicitly unadvertise the channel to sinks that subscribe to channels dynamically, such as the
foxglove.websocket.WebSocketServer.Attempts to log on a closed channel will elicit a throttled warning message.
- has_sinks()¶
Returns true if at least one sink is subscribed to this channel.
- id()¶
The unique ID of the channel.
- log(msg, *, log_time=None, sink_id=None)¶
Log a
foxglove.schemas.ModelPrimitivemessage to the channel.- Parameters:
msg – The message to log.
log_time (default:
None) – The log time is the time, as nanoseconds from the unix epoch, that the message was recorded. Usually this is the time log() is called. If omitted, the current time is used.sink_id (default:
None) – The ID of the sink to log to. If omitted, the message is logged to all sinks.
- message_encoding¶
The message encoding for the channel.
- metadata()¶
Returns a copy of the channel’s metadata.
Note that changes made to the returned dictionary will not be applied to the channel’s metadata.
- schema()¶
Returns a copy of the channel’s schema.
Note that changes made to the returned object will not be applied to the channel’s schema.
- schema_name()¶
The name of the schema for the channel.
- topic()¶
The topic name of the channel.
- class foxglove.channels.PackedElementFieldChannel(topic, *, metadata=None, context=None)¶
A channel for logging
foxglove.schemas.PackedElementFieldmessages.- close()¶
Close the channel.
You can use this to explicitly unadvertise the channel to sinks that subscribe to channels dynamically, such as the
foxglove.websocket.WebSocketServer.Attempts to log on a closed channel will elicit a throttled warning message.
- has_sinks()¶
Returns true if at least one sink is subscribed to this channel.
- id()¶
The unique ID of the channel.
- log(msg, *, log_time=None, sink_id=None)¶
Log a
foxglove.schemas.PackedElementFieldmessage to the channel.- Parameters:
msg – The message to log.
log_time (default:
None) – The log time is the time, as nanoseconds from the unix epoch, that the message was recorded. Usually this is the time log() is called. If omitted, the current time is used.sink_id (default:
None) – The ID of the sink to log to. If omitted, the message is logged to all sinks.
- message_encoding¶
The message encoding for the channel.
- metadata()¶
Returns a copy of the channel’s metadata.
Note that changes made to the returned dictionary will not be applied to the channel’s metadata.
- schema()¶
Returns a copy of the channel’s schema.
Note that changes made to the returned object will not be applied to the channel’s schema.
- schema_name()¶
The name of the schema for the channel.
- topic()¶
The topic name of the channel.
- class foxglove.channels.Point2Channel(topic, *, metadata=None, context=None)¶
A channel for logging
foxglove.schemas.Point2messages.- close()¶
Close the channel.
You can use this to explicitly unadvertise the channel to sinks that subscribe to channels dynamically, such as the
foxglove.websocket.WebSocketServer.Attempts to log on a closed channel will elicit a throttled warning message.
- has_sinks()¶
Returns true if at least one sink is subscribed to this channel.
- id()¶
The unique ID of the channel.
- log(msg, *, log_time=None, sink_id=None)¶
Log a
foxglove.schemas.Point2message to the channel.- Parameters:
msg – The message to log.
log_time (default:
None) – The log time is the time, as nanoseconds from the unix epoch, that the message was recorded. Usually this is the time log() is called. If omitted, the current time is used.sink_id (default:
None) – The ID of the sink to log to. If omitted, the message is logged to all sinks.
- message_encoding¶
The message encoding for the channel.
- metadata()¶
Returns a copy of the channel’s metadata.
Note that changes made to the returned dictionary will not be applied to the channel’s metadata.
- schema()¶
Returns a copy of the channel’s schema.
Note that changes made to the returned object will not be applied to the channel’s schema.
- schema_name()¶
The name of the schema for the channel.
- topic()¶
The topic name of the channel.
- class foxglove.channels.Point3Channel(topic, *, metadata=None, context=None)¶
A channel for logging
foxglove.schemas.Point3messages.- close()¶
Close the channel.
You can use this to explicitly unadvertise the channel to sinks that subscribe to channels dynamically, such as the
foxglove.websocket.WebSocketServer.Attempts to log on a closed channel will elicit a throttled warning message.
- has_sinks()¶
Returns true if at least one sink is subscribed to this channel.
- id()¶
The unique ID of the channel.
- log(msg, *, log_time=None, sink_id=None)¶
Log a
foxglove.schemas.Point3message to the channel.- Parameters:
msg – The message to log.
log_time (default:
None) – The log time is the time, as nanoseconds from the unix epoch, that the message was recorded. Usually this is the time log() is called. If omitted, the current time is used.sink_id (default:
None) – The ID of the sink to log to. If omitted, the message is logged to all sinks.
- message_encoding¶
The message encoding for the channel.
- metadata()¶
Returns a copy of the channel’s metadata.
Note that changes made to the returned dictionary will not be applied to the channel’s metadata.
- schema()¶
Returns a copy of the channel’s schema.
Note that changes made to the returned object will not be applied to the channel’s schema.
- schema_name()¶
The name of the schema for the channel.
- topic()¶
The topic name of the channel.
- class foxglove.channels.PointCloudChannel(topic, *, metadata=None, context=None)¶
A channel for logging
foxglove.schemas.PointCloudmessages.- close()¶
Close the channel.
You can use this to explicitly unadvertise the channel to sinks that subscribe to channels dynamically, such as the
foxglove.websocket.WebSocketServer.Attempts to log on a closed channel will elicit a throttled warning message.
- has_sinks()¶
Returns true if at least one sink is subscribed to this channel.
- id()¶
The unique ID of the channel.
- log(msg, *, log_time=None, sink_id=None)¶
Log a
foxglove.schemas.PointCloudmessage to the channel.- Parameters:
msg – The message to log.
log_time (default:
None) – The log time is the time, as nanoseconds from the unix epoch, that the message was recorded. Usually this is the time log() is called. If omitted, the current time is used.sink_id (default:
None) – The ID of the sink to log to. If omitted, the message is logged to all sinks.
- message_encoding¶
The message encoding for the channel.
- metadata()¶
Returns a copy of the channel’s metadata.
Note that changes made to the returned dictionary will not be applied to the channel’s metadata.
- schema()¶
Returns a copy of the channel’s schema.
Note that changes made to the returned object will not be applied to the channel’s schema.
- schema_name()¶
The name of the schema for the channel.
- topic()¶
The topic name of the channel.
- class foxglove.channels.PointsAnnotationChannel(topic, *, metadata=None, context=None)¶
A channel for logging
foxglove.schemas.PointsAnnotationmessages.- close()¶
Close the channel.
You can use this to explicitly unadvertise the channel to sinks that subscribe to channels dynamically, such as the
foxglove.websocket.WebSocketServer.Attempts to log on a closed channel will elicit a throttled warning message.
- has_sinks()¶
Returns true if at least one sink is subscribed to this channel.
- id()¶
The unique ID of the channel.
- log(msg, *, log_time=None, sink_id=None)¶
Log a
foxglove.schemas.PointsAnnotationmessage to the channel.- Parameters:
msg – The message to log.
log_time (default:
None) – The log time is the time, as nanoseconds from the unix epoch, that the message was recorded. Usually this is the time log() is called. If omitted, the current time is used.sink_id (default:
None) – The ID of the sink to log to. If omitted, the message is logged to all sinks.
- message_encoding¶
The message encoding for the channel.
- metadata()¶
Returns a copy of the channel’s metadata.
Note that changes made to the returned dictionary will not be applied to the channel’s metadata.
- schema()¶
Returns a copy of the channel’s schema.
Note that changes made to the returned object will not be applied to the channel’s schema.
- schema_name()¶
The name of the schema for the channel.
- topic()¶
The topic name of the channel.
- class foxglove.channels.PoseChannel(topic, *, metadata=None, context=None)¶
A channel for logging
foxglove.schemas.Posemessages.- close()¶
Close the channel.
You can use this to explicitly unadvertise the channel to sinks that subscribe to channels dynamically, such as the
foxglove.websocket.WebSocketServer.Attempts to log on a closed channel will elicit a throttled warning message.
- has_sinks()¶
Returns true if at least one sink is subscribed to this channel.
- id()¶
The unique ID of the channel.
- log(msg, *, log_time=None, sink_id=None)¶
Log a
foxglove.schemas.Posemessage to the channel.- Parameters:
msg – The message to log.
log_time (default:
None) – The log time is the time, as nanoseconds from the unix epoch, that the message was recorded. Usually this is the time log() is called. If omitted, the current time is used.sink_id (default:
None) – The ID of the sink to log to. If omitted, the message is logged to all sinks.
- message_encoding¶
The message encoding for the channel.
- metadata()¶
Returns a copy of the channel’s metadata.
Note that changes made to the returned dictionary will not be applied to the channel’s metadata.
- schema()¶
Returns a copy of the channel’s schema.
Note that changes made to the returned object will not be applied to the channel’s schema.
- schema_name()¶
The name of the schema for the channel.
- topic()¶
The topic name of the channel.
- class foxglove.channels.PoseInFrameChannel(topic, *, metadata=None, context=None)¶
A channel for logging
foxglove.schemas.PoseInFramemessages.- close()¶
Close the channel.
You can use this to explicitly unadvertise the channel to sinks that subscribe to channels dynamically, such as the
foxglove.websocket.WebSocketServer.Attempts to log on a closed channel will elicit a throttled warning message.
- has_sinks()¶
Returns true if at least one sink is subscribed to this channel.
- id()¶
The unique ID of the channel.
- log(msg, *, log_time=None, sink_id=None)¶
Log a
foxglove.schemas.PoseInFramemessage to the channel.- Parameters:
msg – The message to log.
log_time (default:
None) – The log time is the time, as nanoseconds from the unix epoch, that the message was recorded. Usually this is the time log() is called. If omitted, the current time is used.sink_id (default:
None) – The ID of the sink to log to. If omitted, the message is logged to all sinks.
- message_encoding¶
The message encoding for the channel.
- metadata()¶
Returns a copy of the channel’s metadata.
Note that changes made to the returned dictionary will not be applied to the channel’s metadata.
- schema()¶
Returns a copy of the channel’s schema.
Note that changes made to the returned object will not be applied to the channel’s schema.
- schema_name()¶
The name of the schema for the channel.
- topic()¶
The topic name of the channel.
- class foxglove.channels.PosesInFrameChannel(topic, *, metadata=None, context=None)¶
A channel for logging
foxglove.schemas.PosesInFramemessages.- close()¶
Close the channel.
You can use this to explicitly unadvertise the channel to sinks that subscribe to channels dynamically, such as the
foxglove.websocket.WebSocketServer.Attempts to log on a closed channel will elicit a throttled warning message.
- has_sinks()¶
Returns true if at least one sink is subscribed to this channel.
- id()¶
The unique ID of the channel.
- log(msg, *, log_time=None, sink_id=None)¶
Log a
foxglove.schemas.PosesInFramemessage to the channel.- Parameters:
msg – The message to log.
log_time (default:
None) – The log time is the time, as nanoseconds from the unix epoch, that the message was recorded. Usually this is the time log() is called. If omitted, the current time is used.sink_id (default:
None) – The ID of the sink to log to. If omitted, the message is logged to all sinks.
- message_encoding¶
The message encoding for the channel.
- metadata()¶
Returns a copy of the channel’s metadata.
Note that changes made to the returned dictionary will not be applied to the channel’s metadata.
- schema()¶
Returns a copy of the channel’s schema.
Note that changes made to the returned object will not be applied to the channel’s schema.
- schema_name()¶
The name of the schema for the channel.
- topic()¶
The topic name of the channel.
- class foxglove.channels.QuaternionChannel(topic, *, metadata=None, context=None)¶
A channel for logging
foxglove.schemas.Quaternionmessages.- close()¶
Close the channel.
You can use this to explicitly unadvertise the channel to sinks that subscribe to channels dynamically, such as the
foxglove.websocket.WebSocketServer.Attempts to log on a closed channel will elicit a throttled warning message.
- has_sinks()¶
Returns true if at least one sink is subscribed to this channel.
- id()¶
The unique ID of the channel.
- log(msg, *, log_time=None, sink_id=None)¶
Log a
foxglove.schemas.Quaternionmessage to the channel.- Parameters:
msg – The message to log.
log_time (default:
None) – The log time is the time, as nanoseconds from the unix epoch, that the message was recorded. Usually this is the time log() is called. If omitted, the current time is used.sink_id (default:
None) – The ID of the sink to log to. If omitted, the message is logged to all sinks.
- message_encoding¶
The message encoding for the channel.
- metadata()¶
Returns a copy of the channel’s metadata.
Note that changes made to the returned dictionary will not be applied to the channel’s metadata.
- schema()¶
Returns a copy of the channel’s schema.
Note that changes made to the returned object will not be applied to the channel’s schema.
- schema_name()¶
The name of the schema for the channel.
- topic()¶
The topic name of the channel.
- class foxglove.channels.RawAudioChannel(topic, *, metadata=None, context=None)¶
A channel for logging
foxglove.schemas.RawAudiomessages.- close()¶
Close the channel.
You can use this to explicitly unadvertise the channel to sinks that subscribe to channels dynamically, such as the
foxglove.websocket.WebSocketServer.Attempts to log on a closed channel will elicit a throttled warning message.
- has_sinks()¶
Returns true if at least one sink is subscribed to this channel.
- id()¶
The unique ID of the channel.
- log(msg, *, log_time=None, sink_id=None)¶
Log a
foxglove.schemas.RawAudiomessage to the channel.- Parameters:
msg – The message to log.
log_time (default:
None) – The log time is the time, as nanoseconds from the unix epoch, that the message was recorded. Usually this is the time log() is called. If omitted, the current time is used.sink_id (default:
None) – The ID of the sink to log to. If omitted, the message is logged to all sinks.
- message_encoding¶
The message encoding for the channel.
- metadata()¶
Returns a copy of the channel’s metadata.
Note that changes made to the returned dictionary will not be applied to the channel’s metadata.
- schema()¶
Returns a copy of the channel’s schema.
Note that changes made to the returned object will not be applied to the channel’s schema.
- schema_name()¶
The name of the schema for the channel.
- topic()¶
The topic name of the channel.
- class foxglove.channels.RawImageChannel(topic, *, metadata=None, context=None)¶
A channel for logging
foxglove.schemas.RawImagemessages.- close()¶
Close the channel.
You can use this to explicitly unadvertise the channel to sinks that subscribe to channels dynamically, such as the
foxglove.websocket.WebSocketServer.Attempts to log on a closed channel will elicit a throttled warning message.
- has_sinks()¶
Returns true if at least one sink is subscribed to this channel.
- id()¶
The unique ID of the channel.
- log(msg, *, log_time=None, sink_id=None)¶
Log a
foxglove.schemas.RawImagemessage to the channel.- Parameters:
msg – The message to log.
log_time (default:
None) – The log time is the time, as nanoseconds from the unix epoch, that the message was recorded. Usually this is the time log() is called. If omitted, the current time is used.sink_id (default:
None) – The ID of the sink to log to. If omitted, the message is logged to all sinks.
- message_encoding¶
The message encoding for the channel.
- metadata()¶
Returns a copy of the channel’s metadata.
Note that changes made to the returned dictionary will not be applied to the channel’s metadata.
- schema()¶
Returns a copy of the channel’s schema.
Note that changes made to the returned object will not be applied to the channel’s schema.
- schema_name()¶
The name of the schema for the channel.
- topic()¶
The topic name of the channel.
- class foxglove.channels.SceneEntityChannel(topic, *, metadata=None, context=None)¶
A channel for logging
foxglove.schemas.SceneEntitymessages.- close()¶
Close the channel.
You can use this to explicitly unadvertise the channel to sinks that subscribe to channels dynamically, such as the
foxglove.websocket.WebSocketServer.Attempts to log on a closed channel will elicit a throttled warning message.
- has_sinks()¶
Returns true if at least one sink is subscribed to this channel.
- id()¶
The unique ID of the channel.
- log(msg, *, log_time=None, sink_id=None)¶
Log a
foxglove.schemas.SceneEntitymessage to the channel.- Parameters:
msg – The message to log.
log_time (default:
None) – The log time is the time, as nanoseconds from the unix epoch, that the message was recorded. Usually this is the time log() is called. If omitted, the current time is used.sink_id (default:
None) – The ID of the sink to log to. If omitted, the message is logged to all sinks.
- message_encoding¶
The message encoding for the channel.
- metadata()¶
Returns a copy of the channel’s metadata.
Note that changes made to the returned dictionary will not be applied to the channel’s metadata.
- schema()¶
Returns a copy of the channel’s schema.
Note that changes made to the returned object will not be applied to the channel’s schema.
- schema_name()¶
The name of the schema for the channel.
- topic()¶
The topic name of the channel.
- class foxglove.channels.SceneEntityDeletionChannel(topic, *, metadata=None, context=None)¶
A channel for logging
foxglove.schemas.SceneEntityDeletionmessages.- close()¶
Close the channel.
You can use this to explicitly unadvertise the channel to sinks that subscribe to channels dynamically, such as the
foxglove.websocket.WebSocketServer.Attempts to log on a closed channel will elicit a throttled warning message.
- has_sinks()¶
Returns true if at least one sink is subscribed to this channel.
- id()¶
The unique ID of the channel.
- log(msg, *, log_time=None, sink_id=None)¶
Log a
foxglove.schemas.SceneEntityDeletionmessage to the channel.- Parameters:
msg – The message to log.
log_time (default:
None) – The log time is the time, as nanoseconds from the unix epoch, that the message was recorded. Usually this is the time log() is called. If omitted, the current time is used.sink_id (default:
None) – The ID of the sink to log to. If omitted, the message is logged to all sinks.
- message_encoding¶
The message encoding for the channel.
- metadata()¶
Returns a copy of the channel’s metadata.
Note that changes made to the returned dictionary will not be applied to the channel’s metadata.
- schema()¶
Returns a copy of the channel’s schema.
Note that changes made to the returned object will not be applied to the channel’s schema.
- schema_name()¶
The name of the schema for the channel.
- topic()¶
The topic name of the channel.
- class foxglove.channels.SceneUpdateChannel(topic, *, metadata=None, context=None)¶
A channel for logging
foxglove.schemas.SceneUpdatemessages.- close()¶
Close the channel.
You can use this to explicitly unadvertise the channel to sinks that subscribe to channels dynamically, such as the
foxglove.websocket.WebSocketServer.Attempts to log on a closed channel will elicit a throttled warning message.
- has_sinks()¶
Returns true if at least one sink is subscribed to this channel.
- id()¶
The unique ID of the channel.
- log(msg, *, log_time=None, sink_id=None)¶
Log a
foxglove.schemas.SceneUpdatemessage to the channel.- Parameters:
msg – The message to log.
log_time (default:
None) – The log time is the time, as nanoseconds from the unix epoch, that the message was recorded. Usually this is the time log() is called. If omitted, the current time is used.sink_id (default:
None) – The ID of the sink to log to. If omitted, the message is logged to all sinks.
- message_encoding¶
The message encoding for the channel.
- metadata()¶
Returns a copy of the channel’s metadata.
Note that changes made to the returned dictionary will not be applied to the channel’s metadata.
- schema()¶
Returns a copy of the channel’s schema.
Note that changes made to the returned object will not be applied to the channel’s schema.
- schema_name()¶
The name of the schema for the channel.
- topic()¶
The topic name of the channel.
- class foxglove.channels.SpherePrimitiveChannel(topic, *, metadata=None, context=None)¶
A channel for logging
foxglove.schemas.SpherePrimitivemessages.- close()¶
Close the channel.
You can use this to explicitly unadvertise the channel to sinks that subscribe to channels dynamically, such as the
foxglove.websocket.WebSocketServer.Attempts to log on a closed channel will elicit a throttled warning message.
- has_sinks()¶
Returns true if at least one sink is subscribed to this channel.
- id()¶
The unique ID of the channel.
- log(msg, *, log_time=None, sink_id=None)¶
Log a
foxglove.schemas.SpherePrimitivemessage to the channel.- Parameters:
msg – The message to log.
log_time (default:
None) – The log time is the time, as nanoseconds from the unix epoch, that the message was recorded. Usually this is the time log() is called. If omitted, the current time is used.sink_id (default:
None) – The ID of the sink to log to. If omitted, the message is logged to all sinks.
- message_encoding¶
The message encoding for the channel.
- metadata()¶
Returns a copy of the channel’s metadata.
Note that changes made to the returned dictionary will not be applied to the channel’s metadata.
- schema()¶
Returns a copy of the channel’s schema.
Note that changes made to the returned object will not be applied to the channel’s schema.
- schema_name()¶
The name of the schema for the channel.
- topic()¶
The topic name of the channel.
- class foxglove.channels.TextAnnotationChannel(topic, *, metadata=None, context=None)¶
A channel for logging
foxglove.schemas.TextAnnotationmessages.- close()¶
Close the channel.
You can use this to explicitly unadvertise the channel to sinks that subscribe to channels dynamically, such as the
foxglove.websocket.WebSocketServer.Attempts to log on a closed channel will elicit a throttled warning message.
- has_sinks()¶
Returns true if at least one sink is subscribed to this channel.
- id()¶
The unique ID of the channel.
- log(msg, *, log_time=None, sink_id=None)¶
Log a
foxglove.schemas.TextAnnotationmessage to the channel.- Parameters:
msg – The message to log.
log_time (default:
None) – The log time is the time, as nanoseconds from the unix epoch, that the message was recorded. Usually this is the time log() is called. If omitted, the current time is used.sink_id (default:
None) – The ID of the sink to log to. If omitted, the message is logged to all sinks.
- message_encoding¶
The message encoding for the channel.
- metadata()¶
Returns a copy of the channel’s metadata.
Note that changes made to the returned dictionary will not be applied to the channel’s metadata.
- schema()¶
Returns a copy of the channel’s schema.
Note that changes made to the returned object will not be applied to the channel’s schema.
- schema_name()¶
The name of the schema for the channel.
- topic()¶
The topic name of the channel.
- class foxglove.channels.TextPrimitiveChannel(topic, *, metadata=None, context=None)¶
A channel for logging
foxglove.schemas.TextPrimitivemessages.- close()¶
Close the channel.
You can use this to explicitly unadvertise the channel to sinks that subscribe to channels dynamically, such as the
foxglove.websocket.WebSocketServer.Attempts to log on a closed channel will elicit a throttled warning message.
- has_sinks()¶
Returns true if at least one sink is subscribed to this channel.
- id()¶
The unique ID of the channel.
- log(msg, *, log_time=None, sink_id=None)¶
Log a
foxglove.schemas.TextPrimitivemessage to the channel.- Parameters:
msg – The message to log.
log_time (default:
None) – The log time is the time, as nanoseconds from the unix epoch, that the message was recorded. Usually this is the time log() is called. If omitted, the current time is used.sink_id (default:
None) – The ID of the sink to log to. If omitted, the message is logged to all sinks.
- message_encoding¶
The message encoding for the channel.
- metadata()¶
Returns a copy of the channel’s metadata.
Note that changes made to the returned dictionary will not be applied to the channel’s metadata.
- schema()¶
Returns a copy of the channel’s schema.
Note that changes made to the returned object will not be applied to the channel’s schema.
- schema_name()¶
The name of the schema for the channel.
- topic()¶
The topic name of the channel.
- class foxglove.channels.TriangleListPrimitiveChannel(topic, *, metadata=None, context=None)¶
A channel for logging
foxglove.schemas.TriangleListPrimitivemessages.- close()¶
Close the channel.
You can use this to explicitly unadvertise the channel to sinks that subscribe to channels dynamically, such as the
foxglove.websocket.WebSocketServer.Attempts to log on a closed channel will elicit a throttled warning message.
- has_sinks()¶
Returns true if at least one sink is subscribed to this channel.
- id()¶
The unique ID of the channel.
- log(msg, *, log_time=None, sink_id=None)¶
Log a
foxglove.schemas.TriangleListPrimitivemessage to the channel.- Parameters:
msg – The message to log.
log_time (default:
None) – The log time is the time, as nanoseconds from the unix epoch, that the message was recorded. Usually this is the time log() is called. If omitted, the current time is used.sink_id (default:
None) – The ID of the sink to log to. If omitted, the message is logged to all sinks.
- message_encoding¶
The message encoding for the channel.
- metadata()¶
Returns a copy of the channel’s metadata.
Note that changes made to the returned dictionary will not be applied to the channel’s metadata.
- schema()¶
Returns a copy of the channel’s schema.
Note that changes made to the returned object will not be applied to the channel’s schema.
- schema_name()¶
The name of the schema for the channel.
- topic()¶
The topic name of the channel.
- class foxglove.channels.Vector2Channel(topic, *, metadata=None, context=None)¶
A channel for logging
foxglove.schemas.Vector2messages.- close()¶
Close the channel.
You can use this to explicitly unadvertise the channel to sinks that subscribe to channels dynamically, such as the
foxglove.websocket.WebSocketServer.Attempts to log on a closed channel will elicit a throttled warning message.
- has_sinks()¶
Returns true if at least one sink is subscribed to this channel.
- id()¶
The unique ID of the channel.
- log(msg, *, log_time=None, sink_id=None)¶
Log a
foxglove.schemas.Vector2message to the channel.- Parameters:
msg – The message to log.
log_time (default:
None) – The log time is the time, as nanoseconds from the unix epoch, that the message was recorded. Usually this is the time log() is called. If omitted, the current time is used.sink_id (default:
None) – The ID of the sink to log to. If omitted, the message is logged to all sinks.
- message_encoding¶
The message encoding for the channel.
- metadata()¶
Returns a copy of the channel’s metadata.
Note that changes made to the returned dictionary will not be applied to the channel’s metadata.
- schema()¶
Returns a copy of the channel’s schema.
Note that changes made to the returned object will not be applied to the channel’s schema.
- schema_name()¶
The name of the schema for the channel.
- topic()¶
The topic name of the channel.
- class foxglove.channels.Vector3Channel(topic, *, metadata=None, context=None)¶
A channel for logging
foxglove.schemas.Vector3messages.- close()¶
Close the channel.
You can use this to explicitly unadvertise the channel to sinks that subscribe to channels dynamically, such as the
foxglove.websocket.WebSocketServer.Attempts to log on a closed channel will elicit a throttled warning message.
- has_sinks()¶
Returns true if at least one sink is subscribed to this channel.
- id()¶
The unique ID of the channel.
- log(msg, *, log_time=None, sink_id=None)¶
Log a
foxglove.schemas.Vector3message to the channel.- Parameters:
msg – The message to log.
log_time (default:
None) – The log time is the time, as nanoseconds from the unix epoch, that the message was recorded. Usually this is the time log() is called. If omitted, the current time is used.sink_id (default:
None) – The ID of the sink to log to. If omitted, the message is logged to all sinks.
- message_encoding¶
The message encoding for the channel.
- metadata()¶
Returns a copy of the channel’s metadata.
Note that changes made to the returned dictionary will not be applied to the channel’s metadata.
- schema()¶
Returns a copy of the channel’s schema.
Note that changes made to the returned object will not be applied to the channel’s schema.
- schema_name()¶
The name of the schema for the channel.
- topic()¶
The topic name of the channel.
- class foxglove.channels.VoxelGridChannel(topic, *, metadata=None, context=None)¶
A channel for logging
foxglove.schemas.VoxelGridmessages.- close()¶
Close the channel.
You can use this to explicitly unadvertise the channel to sinks that subscribe to channels dynamically, such as the
foxglove.websocket.WebSocketServer.Attempts to log on a closed channel will elicit a throttled warning message.
- has_sinks()¶
Returns true if at least one sink is subscribed to this channel.
- id()¶
The unique ID of the channel.
- log(msg, *, log_time=None, sink_id=None)¶
Log a
foxglove.schemas.VoxelGridmessage to the channel.- Parameters:
msg – The message to log.
log_time (default:
None) – The log time is the time, as nanoseconds from the unix epoch, that the message was recorded. Usually this is the time log() is called. If omitted, the current time is used.sink_id (default:
None) – The ID of the sink to log to. If omitted, the message is logged to all sinks.
- message_encoding¶
The message encoding for the channel.
- metadata()¶
Returns a copy of the channel’s metadata.
Note that changes made to the returned dictionary will not be applied to the channel’s metadata.
- schema()¶
Returns a copy of the channel’s schema.
Note that changes made to the returned object will not be applied to the channel’s schema.
- schema_name()¶
The name of the schema for the channel.
- topic()¶
The topic name of the channel.