Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
11c2ee6f
Commit
11c2ee6f
authored
Dec 10, 2010
by
Mariano Lizarraga
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
git://github.com/pixhawk/qgroundcontrol
into dev
parents
2bb29b36
ef361d41
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22 additions
and
8 deletions
+22
-8
qgroundcontrol.pri
qgroundcontrol.pri
+4
-4
UAS.cc
src/uas/UAS.cc
+11
-1
MainWindow.cc
src/ui/MainWindow.cc
+3
-0
user_config.pri.dist
user_config.pri.dist
+4
-3
No files found.
qgroundcontrol.pri
View file @
11c2ee6f
...
...
@@ -203,13 +203,13 @@ linux-g++ {
}
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/models $$TARGETDIR/debug
QMAKE_POST_LINK += && cp -rf $$BASEDIR/data $$TARGETDIR/debug
}
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/models $$TARGETDIR/release
QMAKE_POST_LINK += && cp -rf $$BASEDIR/data $$TARGETDIR/release
}
# osg/osgEarth dynamic casts might fail without this compiler option.
...
...
src/uas/UAS.cc
View file @
11c2ee6f
...
...
@@ -695,7 +695,12 @@ void UAS::setLocalPositionSetpoint(float x, float y, float z, float yaw)
mavlink_message_t
msg
;
mavlink_msg_position_control_setpoint_set_pack
(
mavlink
->
getSystemId
(),
mavlink
->
getComponentId
(),
&
msg
,
uasId
,
0
,
0
,
x
,
y
,
z
,
yaw
);
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
)
...
...
@@ -704,6 +709,11 @@ void UAS::setLocalPositionOffset(float x, float y, float z, float yaw)
mavlink_message_t
msg
;
mavlink_msg_position_control_offset_set_pack
(
mavlink
->
getSystemId
(),
mavlink
->
getComponentId
(),
&
msg
,
uasId
,
0
,
x
,
y
,
z
,
yaw
);
sendMessage
(
msg
);
#else
Q_UNUSED
(
x
);
Q_UNUSED
(
y
);
Q_UNUSED
(
z
);
Q_UNUSED
(
yaw
);
#endif
}
...
...
src/ui/MainWindow.cc
View file @
11c2ee6f
...
...
@@ -360,11 +360,14 @@ void MainWindow::reloadStylesheet()
void
MainWindow
::
showStatusMessage
(
const
QString
&
status
,
int
timeout
)
{
Q_UNUSED
(
status
);
Q_UNUSED
(
timeout
);
//statusBar->showMessage(status, timeout);
}
void
MainWindow
::
showStatusMessage
(
const
QString
&
status
)
{
Q_UNUSED
(
status
);
//statusBar->showMessage(status, 5);
}
...
...
user_config.pri.dist
View file @
11c2ee6f
...
...
@@ -26,7 +26,8 @@
# Add or remove custom message specs here. The matching mavlink headers are
# included in the main qgroundcontrol.pro file.
MAVLINK_CONF += pixhawk \
slugs \
ualberta
MAVLINK_CONF += pixhawk
# slugs \
# ualberta
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment