MCPcopy Create free account
hub / github.com/UniflexAI/tinynav / keyframe_callback

Method keyframe_callback

tinynav/core/build_map_node.py:702–706  ·  view source on GitHub ↗
(self, keyframe_image_msg:Image, keyframe_odom_msg:Odometry, depth_msg:Image, rgb_image_msg:Image)

Source from the content-addressed store, hash-verified

700 fx = self.K[0, 0]
701 Tx = msg.p[3]
702 self.baseline = -Tx / fx
703 self.destroy_subscription(self.camera_info_sub)
704
705 def continuous_odom_callback(self, odom_msg: Odometry):
706 self.continuous_odom_recorder.record_odometry_msg(odom_msg)
707
708 def mapping_stop_callback(self, msg: Bool):
709 if msg.data:

Callers

nothing calls this directly

Calls 2

processMethod · 0.95
timedMethod · 0.80

Tested by

no test coverage detected