= airSimClient.getObjectPose(chosenObject, false);

figure;
subplot(1, 2, 1);
plotTransforms([vehiclePoseLocal.position; objectPoseLocal.position], [vehiclePoseLocal.orientation; objectPoseLocal.orientation], FrameLabel=[<span class="string">"Vehicle"</span>; finalName], AxisLabels=<span class="string">"on"</span>)
axis <span class="string">equal</span>;
grid <span class="string">on</span>;
xlabel(<span class="string">"X (m)"</span>)
ylabel(<span class="string">"Y (m)"</span>)
zlabel(<span class="string">"Z