This file is indexed.

/usr/lib/python3/dist-packages/morse/middleware/moos/gyroscope.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
13
import logging; logger = logging.getLogger("morse." + __name__)
import pymoos.MOOSCommClient
from morse.middleware.moos import AbstractMOOS

class GyroscopeNotifier(AbstractMOOS):
    """ Notify Gyroscope """

    def default(self, ci = 'unused'):
        cur_time = pymoos.MOOSCommClient.MOOSTime()
        
        self.m.Notify('zYaw', self.data['yaw'], cur_time)
        self.m.Notify('zRoll', self.data['roll'], cur_time)
        self.m.Notify('zPitch', self.data['pitch'], cur_time)