This file is indexed.

/usr/lib/python3/dist-packages/morse/middleware/ros/platine.py is in python3-morse-simulator 1.4-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
from geometry_msgs.msg import Vector3
from morse.middleware.ros import ROSSubscriber

class Vector3Reader(ROSSubscriber):
    """ Subscribe to a Vector3 topic and set pan,tilt local data, according to
    the rotation axis (pan: y-axis, tilt: z-axis).
    """
    ros_class = Vector3

    def update(self, message):
        self.data["pan"] = message.y
        self.data["tilt"] = message.z