What is the correct way of running sample OSDK app?
I am trying to run the sample OSDK app, but I face the following error. I have installed everything correctly, but I think the activation has a problem. This is the error output:
pi@raspberrypi:/share/dji/Onboard-SDK/build/bin $
sudo ./djiosdk-flightcontrol-sample UserConfig.txt
Read App ID
User Configuration read successfully.
STATUS/1 @ init, L55: Attempting to open device /dev/ttyS0 with baudrate 230400...
STATUS/1 @ init, L65: ...Serial started successfully.
STATUS/1 @ parseDroneVersionInfo, L706: Device Serial No. = (removed)
STATUS/1 @ parseDroneVersionInfo, L708: Hardware = A3
STATUS/1 @ parseDroneVersionInfo, L709: Firmware = 3.3.8.47
ERRORLOG/1 @ initVirtualRC, L1067: Virtual RC is not supported on this
platform!
STATUS/1 @ activate, L1277: version 0x303082F
STATUS/1 @ getErrorCodeMessage, L656: activate
STATUS/1 @ getCommonErrorCodeMessage, L722: ACK_NO_RESPONSE_ERROR
ERRORLOG/1 @ activate, L1302: Failed to activate please retry SET 0x0 ID 0x0 code 0xFFFF
STATUS/1 @ getErrorCodeMessage, L656: initVehicle
STATUS/1 @ getCommonErrorCodeMessage, L722: ACK_NO_RESPONSE_ERROR
ERRORLOG/1 @ sendData, L407: Port closed.
ERRORLOG/1 @ sendData, L411: Open Protocol cmd send failed, send_len: -1 packet_len: 19
STATUS/1 @ getErrorCodeMessage, L656: reset
STATUS/1 @ getCommonErrorCodeMessage, L722: ACK_NO_RESPONSE_ERROR
Vehicle not initialized, exiting.
dji-sdk
add a comment |
I am trying to run the sample OSDK app, but I face the following error. I have installed everything correctly, but I think the activation has a problem. This is the error output:
pi@raspberrypi:/share/dji/Onboard-SDK/build/bin $
sudo ./djiosdk-flightcontrol-sample UserConfig.txt
Read App ID
User Configuration read successfully.
STATUS/1 @ init, L55: Attempting to open device /dev/ttyS0 with baudrate 230400...
STATUS/1 @ init, L65: ...Serial started successfully.
STATUS/1 @ parseDroneVersionInfo, L706: Device Serial No. = (removed)
STATUS/1 @ parseDroneVersionInfo, L708: Hardware = A3
STATUS/1 @ parseDroneVersionInfo, L709: Firmware = 3.3.8.47
ERRORLOG/1 @ initVirtualRC, L1067: Virtual RC is not supported on this
platform!
STATUS/1 @ activate, L1277: version 0x303082F
STATUS/1 @ getErrorCodeMessage, L656: activate
STATUS/1 @ getCommonErrorCodeMessage, L722: ACK_NO_RESPONSE_ERROR
ERRORLOG/1 @ activate, L1302: Failed to activate please retry SET 0x0 ID 0x0 code 0xFFFF
STATUS/1 @ getErrorCodeMessage, L656: initVehicle
STATUS/1 @ getCommonErrorCodeMessage, L722: ACK_NO_RESPONSE_ERROR
ERRORLOG/1 @ sendData, L407: Port closed.
ERRORLOG/1 @ sendData, L411: Open Protocol cmd send failed, send_len: -1 packet_len: 19
STATUS/1 @ getErrorCodeMessage, L656: reset
STATUS/1 @ getCommonErrorCodeMessage, L722: ACK_NO_RESPONSE_ERROR
Vehicle not initialized, exiting.
dji-sdk
Is the remote control switched on?
– Sean
Jan 18 at 13:37
add a comment |
I am trying to run the sample OSDK app, but I face the following error. I have installed everything correctly, but I think the activation has a problem. This is the error output:
pi@raspberrypi:/share/dji/Onboard-SDK/build/bin $
sudo ./djiosdk-flightcontrol-sample UserConfig.txt
Read App ID
User Configuration read successfully.
STATUS/1 @ init, L55: Attempting to open device /dev/ttyS0 with baudrate 230400...
STATUS/1 @ init, L65: ...Serial started successfully.
STATUS/1 @ parseDroneVersionInfo, L706: Device Serial No. = (removed)
STATUS/1 @ parseDroneVersionInfo, L708: Hardware = A3
STATUS/1 @ parseDroneVersionInfo, L709: Firmware = 3.3.8.47
ERRORLOG/1 @ initVirtualRC, L1067: Virtual RC is not supported on this
platform!
STATUS/1 @ activate, L1277: version 0x303082F
STATUS/1 @ getErrorCodeMessage, L656: activate
STATUS/1 @ getCommonErrorCodeMessage, L722: ACK_NO_RESPONSE_ERROR
ERRORLOG/1 @ activate, L1302: Failed to activate please retry SET 0x0 ID 0x0 code 0xFFFF
STATUS/1 @ getErrorCodeMessage, L656: initVehicle
STATUS/1 @ getCommonErrorCodeMessage, L722: ACK_NO_RESPONSE_ERROR
ERRORLOG/1 @ sendData, L407: Port closed.
ERRORLOG/1 @ sendData, L411: Open Protocol cmd send failed, send_len: -1 packet_len: 19
STATUS/1 @ getErrorCodeMessage, L656: reset
STATUS/1 @ getCommonErrorCodeMessage, L722: ACK_NO_RESPONSE_ERROR
Vehicle not initialized, exiting.
dji-sdk
I am trying to run the sample OSDK app, but I face the following error. I have installed everything correctly, but I think the activation has a problem. This is the error output:
pi@raspberrypi:/share/dji/Onboard-SDK/build/bin $
sudo ./djiosdk-flightcontrol-sample UserConfig.txt
Read App ID
User Configuration read successfully.
STATUS/1 @ init, L55: Attempting to open device /dev/ttyS0 with baudrate 230400...
STATUS/1 @ init, L65: ...Serial started successfully.
STATUS/1 @ parseDroneVersionInfo, L706: Device Serial No. = (removed)
STATUS/1 @ parseDroneVersionInfo, L708: Hardware = A3
STATUS/1 @ parseDroneVersionInfo, L709: Firmware = 3.3.8.47
ERRORLOG/1 @ initVirtualRC, L1067: Virtual RC is not supported on this
platform!
STATUS/1 @ activate, L1277: version 0x303082F
STATUS/1 @ getErrorCodeMessage, L656: activate
STATUS/1 @ getCommonErrorCodeMessage, L722: ACK_NO_RESPONSE_ERROR
ERRORLOG/1 @ activate, L1302: Failed to activate please retry SET 0x0 ID 0x0 code 0xFFFF
STATUS/1 @ getErrorCodeMessage, L656: initVehicle
STATUS/1 @ getCommonErrorCodeMessage, L722: ACK_NO_RESPONSE_ERROR
ERRORLOG/1 @ sendData, L407: Port closed.
ERRORLOG/1 @ sendData, L411: Open Protocol cmd send failed, send_len: -1 packet_len: 19
STATUS/1 @ getErrorCodeMessage, L656: reset
STATUS/1 @ getCommonErrorCodeMessage, L722: ACK_NO_RESPONSE_ERROR
Vehicle not initialized, exiting.
dji-sdk
dji-sdk
edited Jan 18 at 18:42
trincot
121k1585116
121k1585116
asked Jan 18 at 12:03
SamanAzadpourSamanAzadpour
61
61
Is the remote control switched on?
– Sean
Jan 18 at 13:37
add a comment |
Is the remote control switched on?
– Sean
Jan 18 at 13:37
Is the remote control switched on?
– Sean
Jan 18 at 13:37
Is the remote control switched on?
– Sean
Jan 18 at 13:37
add a comment |
1 Answer
1
active
oldest
votes
Hmm, a few things to try.
Do you have internet connection? You need internet at least once to register the app and afterwards it should be cached in memory (at least that's how the mobile sdk works).
Did you place your api key in the UserConfig.txt file?
When you created the api key did you make sure to choose Onboard SDK and not Mobile or Payload SDK?
Is Lightbridge connected and do you have the proper Baud rate set in the UserConfig.txt file?
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54253661%2fwhat-is-the-correct-way-of-running-sample-osdk-app%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Hmm, a few things to try.
Do you have internet connection? You need internet at least once to register the app and afterwards it should be cached in memory (at least that's how the mobile sdk works).
Did you place your api key in the UserConfig.txt file?
When you created the api key did you make sure to choose Onboard SDK and not Mobile or Payload SDK?
Is Lightbridge connected and do you have the proper Baud rate set in the UserConfig.txt file?
add a comment |
Hmm, a few things to try.
Do you have internet connection? You need internet at least once to register the app and afterwards it should be cached in memory (at least that's how the mobile sdk works).
Did you place your api key in the UserConfig.txt file?
When you created the api key did you make sure to choose Onboard SDK and not Mobile or Payload SDK?
Is Lightbridge connected and do you have the proper Baud rate set in the UserConfig.txt file?
add a comment |
Hmm, a few things to try.
Do you have internet connection? You need internet at least once to register the app and afterwards it should be cached in memory (at least that's how the mobile sdk works).
Did you place your api key in the UserConfig.txt file?
When you created the api key did you make sure to choose Onboard SDK and not Mobile or Payload SDK?
Is Lightbridge connected and do you have the proper Baud rate set in the UserConfig.txt file?
Hmm, a few things to try.
Do you have internet connection? You need internet at least once to register the app and afterwards it should be cached in memory (at least that's how the mobile sdk works).
Did you place your api key in the UserConfig.txt file?
When you created the api key did you make sure to choose Onboard SDK and not Mobile or Payload SDK?
Is Lightbridge connected and do you have the proper Baud rate set in the UserConfig.txt file?
answered Jan 22 at 4:10
Walter MorawaWalter Morawa
859
859
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54253661%2fwhat-is-the-correct-way-of-running-sample-osdk-app%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Is the remote control switched on?
– Sean
Jan 18 at 13:37