Port PX4 to BeagleBone Blue Board using library librobotcontrol instead of a submodule

This commit is contained in:
Bob-F
2018-08-06 13:32:36 +02:00
committed by Beat Küng
parent e989c80205
commit 2ece14bad1
30 changed files with 1184 additions and 15 deletions
+6 -1
View File
@@ -335,8 +335,10 @@ int main(int argc, char **argv)
string data_path;
string node_name;
bool skippingOutputRedirect = false;
// parse arguments
while (index < argc) {
while (index < argc && !skippingOutputRedirect) {
//cout << "arg: " << index << " : " << argv[index] << endl;
if (argv[index][0] == '-') {
@@ -366,6 +368,9 @@ int main(int argc, char **argv)
cout << "node name: " << node_name << endl;
}
} else if (strchr(argv[index], '>')) {
skippingOutputRedirect = true;
} else {
//cout << "positional argument" << endl;