returntr("The Radio Component is used to setup which channels on your RC Transmitter you will use for each vehicle control such as Roll, Pitch, Yaw and Throttle. "
"It also allows you to assign switches and dials to the various flight modes. "
"Prior to flight you must also calibrate the extents for all of your channels.");
}
QStringAPMRadioComponent::iconResource(void)const
{
return"/qmlimages/RadioComponentIcon.png";
}
boolAPMRadioComponent::requiresSetup(void)const
{
returntrue;
}
boolAPMRadioComponent::setupComplete(void)const
{
// The best we can do to detect the need for a radio calibration is look for attitude
FIXME: Turned off for now, since it prevents binding. Need to restructure to
allow binding and still check channel count
...
...
@@ -64,7 +56,6 @@ QGCView {
hideDialog()
}
*/
}
}
RadioComponentController{
...
...
@@ -75,8 +66,6 @@ QGCView {
nextButton:nextButton
skipButton:skipButton
onChannelCountChanged:updateChannelCount()
Component.onCompleted:{
controllerCompleted=true
if(rootQGCView.completedSignalled){
...
...
@@ -85,6 +74,9 @@ QGCView {
updateChannelCount()
}
}
onChannelCountChanged:updateChannelCount()
onFunctionMappingChangedAPMReboot:showMessage("Reboot required","Your stick mappings have changed, you must reboot the vehicle for correct operation.",StandardButton.Ok)
}
onCompleted:{
...
...
@@ -133,14 +125,6 @@ QGCView {
}
}
Component{
id:joystickEnabledDialogComponent
QGCViewMessage{
message:"Radio Config is disabled since you have a Joystick enabled."
returntr("The Radio Component is used to setup which channels on your RC Transmitter you will use for each vehicle control such as Roll, Pitch, Yaw and Throttle. "
"It also allows you to assign switches and dials to the various flight modes. "
"Prior to flight you must also calibrate the extents for all of your channels.");