This defines channels to easily log messages conforming to well-known Foxglove schemas.
See the foxglove.schemas
module for available definitions.
- class foxglove.channels.CameraCalibrationChannel(topic)¶
A channel for logging
foxglove.schemas.CameraCalibration
messages.- 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.
- id()¶
The unique ID of the channel.
- log(msg, *, log_time=None)¶
Log a
foxglove.schemas.CameraCalibration
message 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.
- schema_name()¶
The name of the schema for the channel.
- topic()¶
The topic name of the channel.
- class foxglove.channels.CircleAnnotationChannel(topic)¶
A channel for logging
foxglove.schemas.CircleAnnotation
messages.- 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.
- id()¶
The unique ID of the channel.
- log(msg, *, log_time=None)¶
Log a
foxglove.schemas.CircleAnnotation
message 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.
- schema_name()¶
The name of the schema for the channel.
- topic()¶
The topic name of the channel.
- class foxglove.channels.ColorChannel(topic)¶
A channel for logging
foxglove.schemas.Color
messages.- 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.
- id()¶
The unique ID of the channel.
- log(msg, *, log_time=None)¶
Log a
foxglove.schemas.Color
message 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.
- schema_name()¶
The name of the schema for the channel.
- topic()¶
The topic name of the channel.
- class foxglove.channels.CompressedImageChannel(topic)¶
A channel for logging
foxglove.schemas.CompressedImage
messages.- 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.
- id()¶
The unique ID of the channel.
- log(msg, *, log_time=None)¶
Log a
foxglove.schemas.CompressedImage
message 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.
- schema_name()¶
The name of the schema for the channel.
- topic()¶
The topic name of the channel.
- class foxglove.channels.CompressedVideoChannel(topic)¶
A channel for logging
foxglove.schemas.CompressedVideo
messages.- 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.
- id()¶
The unique ID of the channel.
- log(msg, *, log_time=None)¶
Log a
foxglove.schemas.CompressedVideo
message 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.
- schema_name()¶
The name of the schema for the channel.
- topic()¶
The topic name of the channel.
- class foxglove.channels.FrameTransformChannel(topic)¶
A channel for logging
foxglove.schemas.FrameTransform
messages.- 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.
- id()¶
The unique ID of the channel.
- log(msg, *, log_time=None)¶
Log a
foxglove.schemas.FrameTransform
message 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.
- schema_name()¶
The name of the schema for the channel.
- topic()¶
The topic name of the channel.
- class foxglove.channels.FrameTransformsChannel(topic)¶
A channel for logging
foxglove.schemas.FrameTransforms
messages.- 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.
- id()¶
The unique ID of the channel.
- log(msg, *, log_time=None)¶
Log a
foxglove.schemas.FrameTransforms
message 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.
- schema_name()¶
The name of the schema for the channel.
- topic()¶
The topic name of the channel.
- class foxglove.channels.GeoJsonChannel(topic)¶
A channel for logging
foxglove.schemas.GeoJson
messages.- 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.
- id()¶
The unique ID of the channel.
- log(msg, *, log_time=None)¶
Log a
foxglove.schemas.GeoJson
message 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.
- schema_name()¶
The name of the schema for the channel.
- topic()¶
The topic name of the channel.
- class foxglove.channels.GridChannel(topic)¶
A channel for logging
foxglove.schemas.Grid
messages.- 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.
- id()¶
The unique ID of the channel.
- log(msg, *, log_time=None)¶
Log a
foxglove.schemas.Grid
message 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.
- schema_name()¶
The name of the schema for the channel.
- topic()¶
The topic name of the channel.
- class foxglove.channels.ImageAnnotationsChannel(topic)¶
A channel for logging
foxglove.schemas.ImageAnnotations
messages.- 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.
- id()¶
The unique ID of the channel.
- log(msg, *, log_time=None)¶
Log a
foxglove.schemas.ImageAnnotations
message 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.
- schema_name()¶
The name of the schema for the channel.
- topic()¶
The topic name of the channel.
- class foxglove.channels.KeyValuePairChannel(topic)¶
A channel for logging
foxglove.schemas.KeyValuePair
messages.- 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.
- id()¶
The unique ID of the channel.
- log(msg, *, log_time=None)¶
Log a
foxglove.schemas.KeyValuePair
message 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.
- schema_name()¶
The name of the schema for the channel.
- topic()¶
The topic name of the channel.
- class foxglove.channels.LaserScanChannel(topic)¶
A channel for logging
foxglove.schemas.LaserScan
messages.- 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.
- id()¶
The unique ID of the channel.
- log(msg, *, log_time=None)¶
Log a
foxglove.schemas.LaserScan
message 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.
- schema_name()¶
The name of the schema for the channel.
- topic()¶
The topic name of the channel.
- class foxglove.channels.LocationFixChannel(topic)¶
A channel for logging
foxglove.schemas.LocationFix
messages.- 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.
- id()¶
The unique ID of the channel.
- log(msg, *, log_time=None)¶
Log a
foxglove.schemas.LocationFix
message 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.
- schema_name()¶
The name of the schema for the channel.
- topic()¶
The topic name of the channel.
- class foxglove.channels.LogChannel(topic)¶
A channel for logging
foxglove.schemas.Log
messages.- 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.
- id()¶
The unique ID of the channel.
- log(msg, *, log_time=None)¶
Log a
foxglove.schemas.Log
message 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.
- schema_name()¶
The name of the schema for the channel.
- topic()¶
The topic name of the channel.
- class foxglove.channels.PackedElementFieldChannel(topic)¶
A channel for logging
foxglove.schemas.PackedElementField
messages.- 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.
- id()¶
The unique ID of the channel.
- log(msg, *, log_time=None)¶
Log a
foxglove.schemas.PackedElementField
message 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.
- schema_name()¶
The name of the schema for the channel.
- topic()¶
The topic name of the channel.
- class foxglove.channels.Point2Channel(topic)¶
A channel for logging
foxglove.schemas.Point2
messages.- 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.
- id()¶
The unique ID of the channel.
- log(msg, *, log_time=None)¶
Log a
foxglove.schemas.Point2
message 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.
- schema_name()¶
The name of the schema for the channel.
- topic()¶
The topic name of the channel.
- class foxglove.channels.Point3Channel(topic)¶
A channel for logging
foxglove.schemas.Point3
messages.- 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.
- id()¶
The unique ID of the channel.
- log(msg, *, log_time=None)¶
Log a
foxglove.schemas.Point3
message 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.
- schema_name()¶
The name of the schema for the channel.
- topic()¶
The topic name of the channel.
- class foxglove.channels.PointCloudChannel(topic)¶
A channel for logging
foxglove.schemas.PointCloud
messages.- 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.
- id()¶
The unique ID of the channel.
- log(msg, *, log_time=None)¶
Log a
foxglove.schemas.PointCloud
message 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.
- schema_name()¶
The name of the schema for the channel.
- topic()¶
The topic name of the channel.
- class foxglove.channels.PointsAnnotationChannel(topic)¶
A channel for logging
foxglove.schemas.PointsAnnotation
messages.- 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.
- id()¶
The unique ID of the channel.
- log(msg, *, log_time=None)¶
Log a
foxglove.schemas.PointsAnnotation
message 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.
- schema_name()¶
The name of the schema for the channel.
- topic()¶
The topic name of the channel.
- class foxglove.channels.PoseChannel(topic)¶
A channel for logging
foxglove.schemas.Pose
messages.- 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.
- id()¶
The unique ID of the channel.
- log(msg, *, log_time=None)¶
Log a
foxglove.schemas.Pose
message 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.
- schema_name()¶
The name of the schema for the channel.
- topic()¶
The topic name of the channel.
- class foxglove.channels.PoseInFrameChannel(topic)¶
A channel for logging
foxglove.schemas.PoseInFrame
messages.- 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.
- id()¶
The unique ID of the channel.
- log(msg, *, log_time=None)¶
Log a
foxglove.schemas.PoseInFrame
message 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.
- schema_name()¶
The name of the schema for the channel.
- topic()¶
The topic name of the channel.
- class foxglove.channels.PosesInFrameChannel(topic)¶
A channel for logging
foxglove.schemas.PosesInFrame
messages.- 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.
- id()¶
The unique ID of the channel.
- log(msg, *, log_time=None)¶
Log a
foxglove.schemas.PosesInFrame
message 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.
- schema_name()¶
The name of the schema for the channel.
- topic()¶
The topic name of the channel.
- class foxglove.channels.QuaternionChannel(topic)¶
A channel for logging
foxglove.schemas.Quaternion
messages.- 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.
- id()¶
The unique ID of the channel.
- log(msg, *, log_time=None)¶
Log a
foxglove.schemas.Quaternion
message 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.
- schema_name()¶
The name of the schema for the channel.
- topic()¶
The topic name of the channel.
- class foxglove.channels.RawAudioChannel(topic)¶
A channel for logging
foxglove.schemas.RawAudio
messages.- 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.
- id()¶
The unique ID of the channel.
- log(msg, *, log_time=None)¶
Log a
foxglove.schemas.RawAudio
message 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.
- schema_name()¶
The name of the schema for the channel.
- topic()¶
The topic name of the channel.
- class foxglove.channels.RawImageChannel(topic)¶
A channel for logging
foxglove.schemas.RawImage
messages.- 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.
- id()¶
The unique ID of the channel.
- log(msg, *, log_time=None)¶
Log a
foxglove.schemas.RawImage
message 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.
- schema_name()¶
The name of the schema for the channel.
- topic()¶
The topic name of the channel.
- class foxglove.channels.SceneEntityChannel(topic)¶
A channel for logging
foxglove.schemas.SceneEntity
messages.- 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.
- id()¶
The unique ID of the channel.
- log(msg, *, log_time=None)¶
Log a
foxglove.schemas.SceneEntity
message 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.
- schema_name()¶
The name of the schema for the channel.
- topic()¶
The topic name of the channel.
- class foxglove.channels.SceneEntityDeletionChannel(topic)¶
A channel for logging
foxglove.schemas.SceneEntityDeletion
messages.- 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.
- id()¶
The unique ID of the channel.
- log(msg, *, log_time=None)¶
Log a
foxglove.schemas.SceneEntityDeletion
message 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.
- schema_name()¶
The name of the schema for the channel.
- topic()¶
The topic name of the channel.
- class foxglove.channels.SceneUpdateChannel(topic)¶
A channel for logging
foxglove.schemas.SceneUpdate
messages.- 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.
- id()¶
The unique ID of the channel.
- log(msg, *, log_time=None)¶
Log a
foxglove.schemas.SceneUpdate
message 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.
- schema_name()¶
The name of the schema for the channel.
- topic()¶
The topic name of the channel.
- class foxglove.channels.TextAnnotationChannel(topic)¶
A channel for logging
foxglove.schemas.TextAnnotation
messages.- 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.
- id()¶
The unique ID of the channel.
- log(msg, *, log_time=None)¶
Log a
foxglove.schemas.TextAnnotation
message 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.
- schema_name()¶
The name of the schema for the channel.
- topic()¶
The topic name of the channel.
- class foxglove.channels.Vector2Channel(topic)¶
A channel for logging
foxglove.schemas.Vector2
messages.- 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.
- id()¶
The unique ID of the channel.
- log(msg, *, log_time=None)¶
Log a
foxglove.schemas.Vector2
message 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.
- schema_name()¶
The name of the schema for the channel.
- topic()¶
The topic name of the channel.
- class foxglove.channels.Vector3Channel(topic)¶
A channel for logging
foxglove.schemas.Vector3
messages.- 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.
- id()¶
The unique ID of the channel.
- log(msg, *, log_time=None)¶
Log a
foxglove.schemas.Vector3
message 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.
- schema_name()¶
The name of the schema for the channel.
- topic()¶
The topic name of the channel.