Abstract
By acquiring the posture information of the rigid body with markers, the camera motion on the robot end-effector can be controlled remotely. The essential step of posture alignment in teleoperation is to calibrate the transformation matrix of the world coordinate system of the optical motion capture system and the robot base coordinate system. It was necessary to change the position and attitude of the camera robot in the studio frequently. At the same time, the studio was complex with strong personnel mobility, thus the world coordinate system of the optical tracking system in the studio was needed to be re-established frequently. These two points asked the pose calibration scheme of the camera robot in the optical tracking system to be convenient and universal. In this paper, a novel posture alignment method (PAM) was proposed, which was an automatic, accurate and quick method to complete the posture alignment for related coordinate systems without non-systematic errors. PAM was applied to teleoperation for camera robot by inverse movement matrix. The comparative experiments prove that the proposed method is better than manual method, with higher precision and stability, more flexible physical setting for reference coordinate system, and shorter operation time consuming. Meanwhile, PAM is more suitable for camera robot teleoperation than existed automatic method, because it does not require paying attention to the calibration postures.
Introduction
The optical motion capture system (OMCS), image enhancement methods 1 and network energy consumption analysis2,3 are important components of virtual studio system. 4 OMCS captures the position of marker by optical sensor. A rigid body consists of three or four markers which form a Coordinate System (CS) in OMCS software. 5 Robot teleoperation can integrate human experience and mechanical power effectively.6–8 It has many applications, such as medical treatment and avoiding working in dangerous environment.9–12 For the camera robot application, a camera is treated as the end-effector. The posture (position and attitude) of the end-effector is assigned to align with the gripper frame, which is mounted with a general rigid body with markers (GRBM). When moving the gripper frame, the camera at the end of the manipulator is driven to reproduce the trajectory in real time,13,14 as shown in Figure 1. The GRBM is shown in a blue box (the rectangle with the dashed line); the gripper frame is shown in a green box (the rectangle with the solid line); the mobile manipulator is shown in a yellow box (the rectangle with the dotted line); and the camera is shown in a red box (the rectangle with the double solid lines).

The mobile arm-shaped camera robot teleoperation system.
Current scheme of posture acquisition in OMCS
The posture of GRBM obtained by the OMCS is described relative to either the CS defined in optical hardware or another GRBM. In certain OMCS, GRBM as reference CS scheme is more accuracy than optical hardware as reference CS, 15 for example, in the multi-camera OMCS, there is a physical marking ruler as the world CS, as shown in Figure 1(c). In this paper, the world CS or the reference CS was named as WoR CS.
Current alignment method
The essential step of posture alignment between the CS of the robot end-effector and the CS of GRBM in OMCS is to find the transformation relationship between the robot base CS and the WoR CS of OMCS.
A calibration scheme was proposed in Ref. 16 The GRBM representing the WoR CS was placed on the corner of table, and the manipulator was placed on the table. By these actions, the attitude of WoR CS was set to align with the robot base CS manually. Then by length measurement, the homogeneous transformation from the robot base CS to WoR CS was achieved.
In practice, there are a few problems. First, the robot base CS is usually not at the centre of the robot base, so the posture of robot base relative to GRBM on the desktop cannot be accurately determined. Second, due to the large weight of robot, it is difficult to fine-adjust its posture in practice, and the system contains random errors for installation each time. Third, in the system installation stage, the attitude of WoR CS and robot base CS shall be consistent, which is hardly achieved manually.
The disadvantages of the manual scheme are as follows. First, the transformation matrix (position and attitude) between WoR CS and robot base CS includes non-systematic error, and there are not appropriate measuring tools and physical measuring points. Second, when transformation matrix is determined, the OMCS devices cannot be moved. If robot or camera is moved accidentally, it is required to be measured again. Otherwise, an accident may occur.
The existed eye/hand calibration methods include Tsai-Lenz,
17
NAVY,
18
INRIA
19
and Dual Quaternion.
20
The common goal of them was to solve linear function
Tsai-Lenz had higher requirements for calibration attitude 18 due to the influence of error. In practise, we found the calibration posture of robot were not arbitrary. For example, the axes of camera CS should not be parallel to robot base CS. Otherwise the calibration result was going to distorted. Since calibration required at least 2 postures, and it was eye-to-hand for camera robot system in which the visual field of camera was fixed, the effect calibration postures should be selected carefully. Thus, the Tsai-Lenz method was not suitable for camera teleoperation application; since it was often necessary to change the position and attitude of the camera robot in the studio. At the same time, the studio was complex with strong personnel mobility, and the world coordinate system of the optical tracking system in the studio was needed to be re-established frequently. These two points asked the pose calibration scheme of the camera robot in the optical tracking system to be convenient and universal. Here Tsai-Lenz method was selected to compare with PAM. The performance would be discussed in the experiment part.
In this paper, an automatic, fast and accurate calibration method for teleoperation system was proposed, named as posture alignment method (PAM). PAM performed a set of simple standard actions. Then the attitude of the transformation matrix, from WoR CS to robot base CS, was calibrated. By inverse movement matrix the fixed initial position deviation was compensation. There was no non-systematic error.
In the first part, the structure of the camera robot teleoperation system (CRTS) was introduced. In the second part, the mathematical derivation of PAM was discussed in detail. Inverse movement matrix was used to complete the calibration task and the PAM method effectiveness was verified. In the third part, the manual method, PAM and Tsai-Lenz were used to achieve calibration task. By comparing the coefficient of variation, attitude error and operation time, the performance of these schemes in terms of stability, accuracy and time consuming was analysed. PAM was universal for any arm-shape robot, so different manipulators had the same experiment results in comparative experiment part.
Posture alignment method
CSs in CRTS
The CSs of the CRTS were described in Table 1. The origin of {T} was on the centre point of the lens, as shown in Figure 2. {Cc} was show in Figure 4.

Css setup in details. (a) CSs in CRTS. (b) Gripper frame. (c) Marking ruler. (d) Robot base. (e) Flange. (f) End-effector.
CSs of the CRTS.
Mathematical derivation of PAM

Transformations of CRTS.
In teleoperation procedure, the movement of {Cg} was mapping to {T} while the photographer changing the posture of GRBM. In other words, the attitude of {T} and {Cg} should be aligned at any time, and a fixed position deviation existed for the origin of two CSs in real world. When {T} and {C} were aligned, the rotation submatrix in
There were two ways to determine the transformation
The core of PAM was to calibrate 1. The Difficult of Calibration for
First, it was hard to find a physical feature representing {B} posture on robot. What was worse, the origin of {B} was inside the robot hardware structure, or in the hollow of the robot base. Then, the origin and the orthogonal axis direction of {B} relation to {W} could not be measured by common tools.
Second, there was not a physical feature representing {Cg} posture on GRBM.
Third, the precise transformation 2. Attitude Calibration of PAM:
The goal of attitude calibration was to make the attitude of {Cg} and {T} aligned, and the origins of the CSs kept an arbitrary position deviation.
A GRBM, {Cc}, was attached to the camera or camera frame with any posture, as shown in Figure 4. Placed physical marking ruler, {W}, in the workspace of OMCS.

Attitude calibration.
For any robot control system, there were movement functions for {B}. With these functions, commanded robot end-effector move a certain distance in three principal axes of {B} separately. The origin position of {Cc} was recorded at the start and finish of simple action. Then the principal axis vectors of {B} relative to {W} was determined. The concrete steps were as follows.
The robot end-effector was driven to move any distance along the X axis of {B} with program (more than 10cm is recommended), and the origin position of {Cc} at the start and final state were recorded from OMCS software, denoting as
Then, the origin position of the final state was subtracted from the origin position of the start state to obtain the positive direction vector of X axis of {B} corresponding to {W}.
Then, the attitude matrix
As for mobile manipulator, for example, when the manipulator was installed on a mobile platform with straight track, the {B} was aligned with the CS of the track through mechanical positioning design, such as cylindrical surface matching with positioning pin. This method only contained manufacturing error and assembly error. The accuracy was under control. Therefore, the attitude calibration proposed above was also suitable to mobile robot.
3. Virtual Zero Position Deviation for {T} and {Cg} by Inverse Movement Matrix
In most commercial 3D modeling software for film production, the CS of camera was set as follows. Positive direction of Z axis was pointed to outside from lens. Positive direction of Y axis was along the normal vector of top plane of camera, as shown in Figure 2(f).
In multi-camera OMCS, GRBM had no CS in OMCS software before system initialisation. When {W} was determined, no matter GRBM was placed in any posture, the attitude of {Cg} would be aligned with {W} during GRBM register procedure. 5 Figure 5(a) shows that the gripper frame was hard for human control, because Z axis was not towards to the forward direction of gripper frame.

Initialization for GRBM. (a) Unreasonable register posture. (b) Standard register posture.
Therefore, the gripper frame, mounted with GRBM representing the virtual camera, should be taken into consider in GRBM register procedure. Specifically, during register, the direction of the virtual camera set by the gripper frame should be aligned with the Z axis of {W}. The direction of normal vector of the top plane of the virtual camera, set by the gripper frame, should be aligned with Y axis of the {W}, as shown in Figure 5(b).
The desired work PAM procedure was that, first the gripper frame was placed in the start position. The camera robot mobile platform was placed in the workspace of OMCS where the camera could finish the entire shooting trajectory. Second the camera kept current position, usually a suitable point in dexterous workspace of manipulator. Third the attitude of {T} was modified to be aligned with {Cg}, as shown in Figure 6(b). There was a fixed position deviation,

Desired work procedure. (a) Start position. (b) Alignment. (c) Following.
According to Formula (4) and (5), the position vectors,
By analysis application requirement of camera teleoperation, it found that the origin of {Cg} and {T} could be treated as they were both at the origin of {W}, when the attitude of gripper frame and camera had been aligned. After this, the gripper frame could be moved by photographer.
In another word, it was unnecessary to determine the position deviations in

Inverse displacement. (a)
Then we set, 4. Camera Teleoperation Instance
A registered GRBM was installed on the camera with arbitrary posture, as shown in Figure 6(a). The
Records of simple standard actions.
By the Formula (6) and (7), the attitude of {B} was obtained, recorded as
Calculation verification was as follows.
Substituted
The flow chart of the PAM process was shown in Figure 8.

PAM work flow.
Throughout the entire PAM process, the motion of the robot's end-effector along the three principal axes had utilised the basic linear motion functions within the robot's firmware. When the end-effector reached the specified pose, the pose reading function within the robot system firmware had been employed, which read the position of the tool CS relative to the base CS, these two functional functions were commonly found in the firmware systems of various robot manufacturers. Therefore, the PAM was applicable to the most of robot systems.
Comparative experiment
Considering the requirements of camera teleoperation application, the experiment focused on attitude calibration. Franka Emika manipulator and FusionTrack500 OMCS were used, as shown in Figure 9. {B} was defined in the underside of robot link 1 in Figure 9(a), without special physical identification. Thus, the exact position for origin of {B} could not be obtained.

Calibration system description. (a) Calibration scene. (b) Reference GRBM - {W}.
Manual Vs PAM
The target of experiment was to calibrate the attitude transformation between the robot base CS, and reference GRBM that is {B} and {W}. Two methods were used for calibration. The first was the manual calibration scheme. The second was PAM.
1. Manual Calibration Scheme
In manual calibration scheme, it was hard to measure the attitude deviation of two CSs by general measurement tools. Here, by adjusting the height of the footmaster casters on robot base, the parallelism between the robot base plane and the workbench plane was got as shown in Figure 10(a). By adjusting the orientation of workbench, the parallelism between the vertical plane of the robot base platform and the workbench side was got. Next, the reference GRBM was adjusted to align with the attitude of the workbench, as shown in Figure 10(c). Then the attitude calibration task was completed manually.

Manual attitude calibration scheme. (a) Adjustable height caster. (b) Parallelism judgment with visual. (c) Adjust reference GRBM.
The ground truth value of attitude in the manual calibration scheme was calculated through the GRBM, {Cc}, attached to the end of the manipulator, as shown in Figure 11.

The relative attitude relation between {F} and {Cc}.
We described the specific algorithm as follows. Ideally, {W} had the same attitude as {B}. In the actual operation, only the coordinate axes of {W} and {B} were paralleled. For example, the positive direction of Z axis of {W} could be same as the positive direction of Y axis of {B}. The directions of corresponding axes were not necessary to match.
Next, we would discuss how to handle the deviation on the attitude of two CSs. Constructed a virtual CS, {D}, whose origin was coincident with {W} and directions of axes were aligned with {B}, as shown in Figure 9(a).
We had,
The rotation rule was as follow. The initial reference was {B}. It rotated around the
The attitude ground truth value during manual calibration could be obtained by Formula (35),
Twenty persons were selected for independent calibration procedure. The major non-systematic error in the calibration process was the parallelism judgement visually.
2. PAM Scheme
Before calibration, reference GRBM could be placed arbitrarily without any restriction, as shown in Figure 12.

PAM scheme.
Through the robot control interface, the movements along the positive direction of standard axis were implemented. The positions of start and finish points were recorded. The unit vectors in three principal directions were calculated, denoted as
By data analysis, the results were shown in Figure 13. The following conclusions can be achieved.
The data measurement stability (coefficient of variation) of PAM is significantly higher than that of the manual calibration scheme, whose magnitude order is 3–4 of it. The high stability of data measurement indicates the high reliability of PAM. The attitude error of PAM is within 0.2 degrees, and that of the manual calibration scheme is within 13 degrees. The accuracy of PAM is improved for 2 orders. The time-consuming fluctuation (standard deviation) of manual calibration scheme is large, which is 6.2s. And the average time is 59s. The time-consuming fluctuation of PAM is very small, which is 0.03s. The average time is 14.1s.

Performance comparison.
To sum up, PAM is faster and more efficient.
Tsai-Lenz vs PAM
Tsai-Lenz and PAM were both automated. For eye-to-hand system, the matrices in
Note that {A} was defined as camera CS in OMCS.
On the other hand, PAM calibration result was 1. Calibration Process
PAM calibration was executed 50 times for the same key points.
Tsai-Lenz calibration was executed 50 times. Each one had 3 stations, which included rotation matrix and displacement vector.
2. Performance Comparison Both methods were automatic. The uniformity of calibrations result is good. In Figure 14, the attitude error is quite small for each calibration, less than 2 degrees. It shows two calibration results are almost same. The time consuming of both automatic calibration methods are almost same.
The rotation matrix of
The usage condition comparison is as follows,
Since PAM is not based on Since PAM relies on the relative position of two GRBMs, the measurement accuracy is greater than Tsai-Lenz which read the posture of GRBM relative to camera CS directly. Tsai-Lenz can calibrate the posture information. PAM is good at attitude calibration. For camera robot teleoperation application, PAM is enough by inverse movement matrix. PAM VS Tsai-Lenz.

Conclusions
In this paper, we proposed PAM and discussed an implementation in teleoperation of camera robot based on OMCS. The installation of the GRBM used for calibration is arbitrary which is easy to implement. The calibration procedure of PAM is automatic, accurate and fast, which does not contain non-systematic error. PAM is suitable for almost all kinds of robots.
The comparative experiments show that PAM is better than the manual scheme in many fields, including stability, accuracy and time consuming. Tsai-Lenz has almost same performance with PAM. But PAM is more suitable for camera robot teleoperation application scenario, for which has no limitation on calibration pose.
Since the OMCS is rather expensive, it is better to look for local motion capture system for reducing costs.
Footnotes
Acknowledgments
Thanks for the AICFVE of Beijing Film Academy providing the opportunity to work for the film technology. Thanks for Su Wang and Chunshui Wang in AICFVE.
Declaration of conflicting interests
The authors declared no potential conflicts of interest with respect to the research, authorship and/or publication of this article.
Funding
The authors disclosed receipt of the following financial support for the research, authorship and/or publication of this article: This work was supported by the fund of the Beijing Municipal Education Commission, China, The Climbing Program Foundation from Beijing Institute of Petrochemical Technology, the fund of the Beijing Municipal Education Commission Science and Technology General Project (grant number 22019821001, BIPTAAI-2021-008, Project No. KM202310017001).
