class documentation
class Drop(Projection):
The generic walk with some fields taken out of it.
Dropping a path takes its whole subtree with it, as the declaration's own exclude does.
A Drop never inverts: its only inverse would fill the dropped fields with defaults, and a covariance of zeros means perfectly certain in ROS2, not unknown.
| Method | decode |
Read what is left of the payload. |
| Method | shape |
Walk what is left of the message. |
| Instance Variable | fields |
The ROS2 field paths to remove, relative to this type. |
| Method | _without |
Return the context with the dropped paths gone. |
def shape(self, message_type:
type[ Message], context: ProjectionContext) -> tuple[ PlanEntry, ...]:
¶
Walk what is left of the message.