Commit 11c2ee6f authored by Mariano Lizarraga's avatar Mariano Lizarraga

Merge branch 'dev' of git://github.com/pixhawk/qgroundcontrol into dev

parents 2bb29b36 ef361d41
...@@ -203,13 +203,13 @@ linux-g++ { ...@@ -203,13 +203,13 @@ linux-g++ {
} }
debug { debug {
QMAKE_POST_LINK += && cp -rf $$BASEDIR/models $$TARGETDIR/debug/. QMAKE_POST_LINK += && cp -rf $$BASEDIR/models $$TARGETDIR/debug
QMAKE_POST_LINK += && cp -rf $$BASEDIR/data $$TARGETDIR/debug/. QMAKE_POST_LINK += && cp -rf $$BASEDIR/data $$TARGETDIR/debug
} }
release { release {
QMAKE_POST_LINK += && cp -rf $$BASEDIR/models $$TARGETDIR/release/. QMAKE_POST_LINK += && cp -rf $$BASEDIR/models $$TARGETDIR/release
QMAKE_POST_LINK += && cp -rf $$BASEDIR/data $$TARGETDIR/release/. QMAKE_POST_LINK += && cp -rf $$BASEDIR/data $$TARGETDIR/release
} }
# osg/osgEarth dynamic casts might fail without this compiler option. # osg/osgEarth dynamic casts might fail without this compiler option.
......
...@@ -695,7 +695,12 @@ void UAS::setLocalPositionSetpoint(float x, float y, float z, float yaw) ...@@ -695,7 +695,12 @@ void UAS::setLocalPositionSetpoint(float x, float y, float z, float yaw)
mavlink_message_t msg; mavlink_message_t msg;
mavlink_msg_position_control_setpoint_set_pack(mavlink->getSystemId(), mavlink->getComponentId(), &msg, uasId, 0, 0, x, y, z, yaw); mavlink_msg_position_control_setpoint_set_pack(mavlink->getSystemId(), mavlink->getComponentId(), &msg, uasId, 0, 0, x, y, z, yaw);
sendMessage(msg); sendMessage(msg);
#endif #else
Q_UNUSED(x);
Q_UNUSED(y);
Q_UNUSED(z);
Q_UNUSED(yaw);
#endif
} }
void UAS::setLocalPositionOffset(float x, float y, float z, float yaw) void UAS::setLocalPositionOffset(float x, float y, float z, float yaw)
...@@ -704,6 +709,11 @@ void UAS::setLocalPositionOffset(float x, float y, float z, float yaw) ...@@ -704,6 +709,11 @@ void UAS::setLocalPositionOffset(float x, float y, float z, float yaw)
mavlink_message_t msg; mavlink_message_t msg;
mavlink_msg_position_control_offset_set_pack(mavlink->getSystemId(), mavlink->getComponentId(), &msg, uasId, 0, x, y, z, yaw); mavlink_msg_position_control_offset_set_pack(mavlink->getSystemId(), mavlink->getComponentId(), &msg, uasId, 0, x, y, z, yaw);
sendMessage(msg); sendMessage(msg);
#else
Q_UNUSED(x);
Q_UNUSED(y);
Q_UNUSED(z);
Q_UNUSED(yaw);
#endif #endif
} }
......
...@@ -360,11 +360,14 @@ void MainWindow::reloadStylesheet() ...@@ -360,11 +360,14 @@ void MainWindow::reloadStylesheet()
void MainWindow::showStatusMessage(const QString& status, int timeout) void MainWindow::showStatusMessage(const QString& status, int timeout)
{ {
Q_UNUSED(status);
Q_UNUSED(timeout);
//statusBar->showMessage(status, timeout); //statusBar->showMessage(status, timeout);
} }
void MainWindow::showStatusMessage(const QString& status) void MainWindow::showStatusMessage(const QString& status)
{ {
Q_UNUSED(status);
//statusBar->showMessage(status, 5); //statusBar->showMessage(status, 5);
} }
......
...@@ -26,7 +26,8 @@ ...@@ -26,7 +26,8 @@
# Add or remove custom message specs here. The matching mavlink headers are # Add or remove custom message specs here. The matching mavlink headers are
# included in the main qgroundcontrol.pro file. # included in the main qgroundcontrol.pro file.
MAVLINK_CONF += pixhawk \ MAVLINK_CONF += pixhawk
slugs \
ualberta # slugs \
# ualberta
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment