code base Flashcards

1
Q

what is CSerializable?

A

An interface for implementing file handling operations, such as read and write.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

who inherits from CSerializable?

A

CKinematics
CPreprocessorDefines
CRecalSysSetup
CTrackerPoints
CSerializableWithFrames
-> CMeasurement
-> CParid
-> CProcess
CParidObject
-> CGripper
->CParidDHTrafo
->-> CLaser
-> CParidTransRotTrafo
->-> CCamera
->-> CObject
->-> CTracker

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

what is CIsios?

A

It is an API class, that enables the combined use of the communication control interface through CComControl and parameter identification through CParid

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

what is CParid? what is CCalibration?

A

CParid is basically a list of parid frames, that corresponds directly to a .par8 file. These can contain IDs or paths of Parid Objects but not the instances. This is CCalibrations job, which is a world container and member of CParid. It contains instances of all relevant ParidObjects.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

what is CComClients?

A

A container class that stores all client interfaces (RobotClient, CameraClient, …). initClientsFromFile parses relevant parts of the .cfg.txt and initializes the clients.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

what is CComControl?

A

A class, that handles all the communication between a bunch of comclients and the comserver

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

how is CComControl connected with CComClients?

A

add answer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How does the ComServer work internally

A

It is basically a main loop. It runs a Socket that waits for connections. If one is detected, it starts a new thread, in which a Parser (e.g. a DeviceParser, such as TrackerParser) is set up, that handles the corresponding connection.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is CNode?

A

Interface for all nodes in the scene graph, i.e. all objects that can be seen in SIM

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

what is remote isios?

A

Remote isios is a program to be run on the IEPC. It has a main loop, that receives and parses telegrams with commands for running the recalibration system.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Where are the functions, that can be called through the measurement editor by pressing “more”?

A

MeasurementEditor.h/cpp

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Where does one find different algorithms for generating poses?

A

Generate.h/cpp

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

How are Filters handled in the code?

A

In Filters.h, CFilter is defined. This is an interface for the subclasses that implement the specific Filters. Basically Filters have a check() method, that lets Filters pass or not. When instances of filters are passed, this should be done through an instance of CFilterList

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Where is the logic of the axes mastering process frame implemented?

A

global_isios.cpp

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

How are warnings an debug messages handled in our code?

A

by WARNING() and DEBUG() of CMessage

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is the difference in warnings in high- and low level functions?

A

low level functions shall return error codes, high level functions make warnings out of those

17
Q

How should warning be implemented in a new class?

A

through importing a global instance of CMessage:
extern CMessage g_debug

18
Q

Where are the functions for different robot functionality of the bui implemented?

A

bgui_robot.cpp

19
Q

How does one add a popup that shows up in the HMI or bgui, whichever the executing code is called from?

A

By using an instance of CUserInteraction

20
Q

Where are the sorting algorithms implemented?

A

CSortMeasurement