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
135d0fac
Commit
135d0fac
authored
Nov 24, 2015
by
Nate Weibley
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow signed RSSI values for telemetry links as input power will almost certainly be below 0 dBm
parent
dbaa604b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
MAVLinkProtocol.h
src/comm/MAVLinkProtocol.h
+1
-1
MainToolBarController.cc
src/ui/toolbar/MainToolBarController.cc
+3
-3
MainToolBarController.h
src/ui/toolbar/MainToolBarController.h
+1
-1
No files found.
src/comm/MAVLinkProtocol.h
View file @
135d0fac
...
...
@@ -275,7 +275,7 @@ signals:
* @param noise background noise level
* @param remnoise remote background noise level
*/
void
radioStatusChanged
(
LinkInterface
*
link
,
unsigned
rxerrors
,
unsigned
fixed
,
unsigned
rssi
,
unsigned
remrssi
,
void
radioStatusChanged
(
LinkInterface
*
link
,
unsigned
rxerrors
,
unsigned
fixed
,
int
rssi
,
int
remrssi
,
unsigned
txbuf
,
unsigned
noise
,
unsigned
remnoise
);
/// @brief Emitted when a temporary log file is ready for saving
...
...
src/ui/toolbar/MainToolBarController.cc
View file @
135d0fac
...
...
@@ -52,8 +52,8 @@ MainToolBarController::MainToolBarController(QObject* parent)
// RSSI (didn't like standard connection)
connect
(
qgcApp
()
->
toolbox
()
->
mavlinkProtocol
(),
SIGNAL
(
radioStatusChanged
(
LinkInterface
*
,
unsigned
,
unsigned
,
unsigned
,
unsigned
,
unsigned
,
unsigned
,
unsigned
)),
this
,
SLOT
(
_telemetryChanged
(
LinkInterface
*
,
unsigned
,
unsigned
,
unsigned
,
unsigned
,
unsigned
,
unsigned
,
unsigned
)));
SIGNAL
(
radioStatusChanged
(
LinkInterface
*
,
unsigned
,
unsigned
,
int
,
int
,
unsigned
,
unsigned
,
unsigned
)),
this
,
SLOT
(
_telemetryChanged
(
LinkInterface
*
,
unsigned
,
unsigned
,
int
,
int
,
unsigned
,
unsigned
,
unsigned
)));
connect
(
qgcApp
()
->
toolbox
()
->
multiVehicleManager
(),
&
MultiVehicleManager
::
activeVehicleChanged
,
this
,
&
MainToolBarController
::
_activeVehicleChanged
);
}
...
...
@@ -96,7 +96,7 @@ void MainToolBarController::_activeVehicleChanged(Vehicle* vehicle)
}
}
void
MainToolBarController
::
_telemetryChanged
(
LinkInterface
*
,
unsigned
,
unsigned
,
unsigned
rssi
,
unsigned
remrssi
,
unsigned
,
unsigned
,
unsigned
)
void
MainToolBarController
::
_telemetryChanged
(
LinkInterface
*
,
unsigned
,
unsigned
,
int
rssi
,
int
remrssi
,
unsigned
,
unsigned
,
unsigned
)
{
if
((
unsigned
)
_telemetryLRSSI
!=
rssi
)
{
// According to the Silabs data sheet, the RSSI value is 0.5db per bit
...
...
src/ui/toolbar/MainToolBarController.h
View file @
135d0fac
...
...
@@ -80,7 +80,7 @@ signals:
private
slots
:
void
_activeVehicleChanged
(
Vehicle
*
vehicle
);
void
_setProgressBarValue
(
float
value
);
void
_telemetryChanged
(
LinkInterface
*
link
,
unsigned
rxerrors
,
unsigned
fixed
,
unsigned
rssi
,
unsigned
remrssi
,
unsigned
txbuf
,
unsigned
noise
,
unsigned
remnoise
);
void
_telemetryChanged
(
LinkInterface
*
link
,
unsigned
rxerrors
,
unsigned
fixed
,
int
rssi
,
int
remrssi
,
unsigned
txbuf
,
unsigned
noise
,
unsigned
remnoise
);
void
_delayedShowToolBarMessage
(
void
);
private:
...
...
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