diff --git a/groundStation/gui/MicroCART/quaditem.cpp b/groundStation/gui/MicroCART/quaditem.cpp index 55e1413af0ea2a562b9ec2a61c280e4afb02958a..70e74140ad6ebe45a111c3c5602bc4d908a6e046 100644 --- a/groundStation/gui/MicroCART/quaditem.cpp +++ b/groundStation/gui/MicroCART/quaditem.cpp @@ -23,7 +23,7 @@ void QuadItem::updateQuad(float longitudinal, float lateral, float height, float { QPointF center = boundingRect().center(); this->setTransform(QTransform().translate(center.x(), center.y()).rotate(qRadiansToDegrees(yaw)).translate(-center.x(), -center.y())); - this->setPos(longitudinal*100, lateral*100); + this->setPos(lateral*100, -longitudinal*100); // These are flipped due to the camera system's +x and +y. // QTransform trans = this->transform(); // trans.translate(center.x(), center.y()); // trans.translate(-center.x(), -center.y());