0309 » History » Revision 24
Revision 23 (Pierre Narvor, 2018-03-09 17:44) → Revision 24/27 (Simon Lacroix, 2018-03-12 00:41)
h1. 03/09 : PoM/Prism Discussion *Participants :* Simon, Ellon, Quentin, Pierre *Goal of the meeting :* Discuss the PoM/Prism architecture (previously InSitu). Prism is the sub-task of PoM which handle the internal transform tree of a robot (RobotBaseFrame to SensorFrame(s)). *Note :* PoM is divided in two parts: part : Prism which handles the pose of sensors relative to the robot and (name undefined, default = MightyLocalizer) MightyLocalizer which handles the pose of the robot frame relative to the world frames (absolute, site, local). World Frame. The meeting is only about Prism. h2. Features of Prism * *Load and maintain the RobotBaseFrame to SensorFrame(s) tree of the robot up to date:* date :* URDF configuration file for initialization. Is a client of moving sensor mounts (arms, orientable devices such as a Pan&Tilt Unit...) platforms...) to update the internal transform tree. No memory of the past trees has to be maintained. memory. Handles transform uncertainties. uncertainty. * *Sensor pose service:* Any service :* A sensor acquiring exteroceptive data (vision, stereovision, Lidar) must ask Prism for a time stamp and a sensor pose (= pose(= current transform RobotBaseFrame to SensorFrame + uncertainty). The pose and the time are stored by the sensor node as metadata of alongside the sensor data (this pose will be of use only with this data, hence data. Hence no memory is needed in Prism). * *Send time stamp to mighty-localizer for saving:* In the future, some poses in a world frame of the sensor that acquired data (or of the RobotBaseFrame at the time of data acquisition) may be revised (typically, by a SLAM node). For the MightyLocaliser to manage theses poses (to update them, or to deliver it to a node that need them - typically the DEM node), they must be memorised: by sending the time stamps associated to data acquisitions, Prism notifies the MightyLocaliser that the poses in the world frames must be memorised. saving* h2. Details h3. Loading and maintaining internal tree * *Internal Tree :* all SensorFrames connected to the a single RobotBaseFrame through one or several edges. Two types of edges : fixed or moving. !Prism.png! * *Initialization:* *Initialization :* Internal tree building form URDF file. Do we need default Default values for moving edges to define? define ? * *Maintaining the tree :* Prism receives poses from form all the moving sensor mounts. Movable edges in the internal tree are updated right away (no memory). To define: define : communication between joints and Prism (identification of joints etc...). h3. Sensor pose service Acquired sensor data has be associated with a pose of the sensor and a time stamp. The SensorFrame to RobotBaseFrame transform (furnished by Prism) is measured at the time of the acquisition and will NOT be modified later. Hence, no memory is needed in Prism and the SensorFrame to RobotFrame transform is recorded alongside the data outside of Prism. (the RobotBaseFrame to WorldFrame recorded at the time of acquisition may will however be modified later by MightyLocalizer). * *Content of a data structure :* The data is published in a structure alongside the time stamp and pose at the acquisition, and two FrameId (SensorFrameId and RobotBaseFrameId). * *Workflow :* # 1) Data acquisition by sensor # 2) Sensor node asks Prism for a time stamp and a pose # 3) Sensor node publish a complete data struct Two options can be foreseen: # When a sensor acquires a data, it notifies Prism # Prism gets the associated transform # Prism delivers the sensor to RobotBaseFrame to the sensor (and its time stamp) An alternate way is to have the moving sensor mounts permanently broadcast their transforms, and Prism systematically computes the associated tree branch. The corresponding transform is provided to the sensor when it acquires data (upon a request by the sensor node to Prism) h3. Send time stamp to mighty-localizer for saving The time stamp at time of acquisition must be saved by MightyLocalizer for the case where a localization DFPC needs the RobotBaseFrame to WorldFrame pose at time of data acquisition. !WorkFlow.png! !Prism_meeting_board.jpg!