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
8196b422
Commit
8196b422
authored
Oct 05, 2010
by
Bryan Godbolt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
commit before pulling upstream
parent
eace4b9a
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
11 deletions
+13
-11
ParameterList.cc
src/comm/ParameterList.cc
+2
-0
UAS.cc
src/uas/UAS.cc
+6
-6
RadioCalibrationData.h
src/ui/RadioCalibration/RadioCalibrationData.h
+0
-4
RadioCalibrationWindow.cc
src/ui/RadioCalibration/RadioCalibrationWindow.cc
+4
-1
RadioCalibrationWindow.h
src/ui/RadioCalibration/RadioCalibrationWindow.h
+1
-0
No files found.
src/comm/ParameterList.cc
View file @
8196b422
...
...
@@ -271,6 +271,8 @@ bool ParameterList::open(QString filename)
read
(
&
paramFile
);
paramFile
.
close
();
return
true
;
}
...
...
src/uas/UAS.cc
View file @
8196b422
...
...
@@ -1383,12 +1383,12 @@ void UAS::shutdown()
void
UAS
::
setTargetPosition
(
float
x
,
float
y
,
float
z
,
float
yaw
)
{
mavlink_message_t
msg
;
mavlink_msg_position_target_pack
(
MG
::
SYSTEM
::
ID
,
MG
::
SYSTEM
::
COMPID
,
&
msg
,
x
,
y
,
z
,
yaw
);
// Send message twice to increase chance of reception
sendMessage
(
msg
);
sendMessage
(
msg
);
//
mavlink_message_t msg;
//
mavlink_msg_position_target_pack(MG::SYSTEM::ID, MG::SYSTEM::COMPID, &msg, x, y, z, yaw);
//
//
// Send message twice to increase chance of reception
//
sendMessage(msg);
//
sendMessage(msg);
}
/**
...
...
src/ui/RadioCalibration/RadioCalibrationData.h
View file @
8196b422
...
...
@@ -30,10 +30,6 @@ public:
THROTTLE
};
// void loadFile();
// void saveFile();
// void send();
// void receive();
const
float
*
operator
[](
int
i
)
const
;
const
QVector
<
float
>&
operator
()(
int
i
)
const
;
void
set
(
int
element
,
int
index
,
float
value
)
{(
*
data
)[
element
][
index
]
=
value
;}
...
...
src/ui/RadioCalibration/RadioCalibrationWindow.cc
View file @
8196b422
...
...
@@ -85,7 +85,10 @@ void RadioCalibrationWindow::saveFile()
void
RadioCalibrationWindow
::
loadFile
()
{
qDebug
()
<<
__FILE__
<<
__LINE__
<<
"LOAD FROM FILE"
;
QString
fileName
(
QFileDialog
::
getOpenFileName
(
this
,
tr
(
"Load RC Calibration"
),
QString
(),
tr
(
"XML Files (*.xml)"
)));
}
void
RadioCalibrationWindow
::
send
()
...
...
src/ui/RadioCalibration/RadioCalibrationWindow.h
View file @
8196b422
...
...
@@ -10,6 +10,7 @@
#include <QHBoxLayout>
#include <QDebug>
#include <QPointer>
#include <QFileDialog>
#include "AirfoilServoCalibrator.h"
#include "SwitchCalibrator.h"
...
...
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