def _append_frame_objects(objects):
        """
        Extract information for drawing objects
        Args:
            objects: list of BaseObject

        Returns: list of history_object

        """
        frame_objects = []
        for name, obj in objects.items():
            frame_objects.append(
                history_object(
                    name=name,
                    type=obj.metadrive_type if hasattr(obj, "metadrive_type") else MetaDriveType.OTHER,
                    heading_theta=obj.heading_theta,
                    WIDTH=obj.top_down_width,
                    LENGTH=obj.top_down_length,
                    position=obj.position,
                    color=obj.top_down_color,
                    done=False
                )
            )
        return frame_objects

        Extract information for drawing objects
        Args:
            objects: list of BaseObject

        Returns: list of history_object

        
metadrive/engine/top_down_renderer.py