Skip to content

Commit a41be31

Browse files
committed
examples: usage fixes
1 parent 124cf80 commit a41be31

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/fly_qgc_mission/fly_qgc_mission.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ using std::this_thread::sleep_for;
3333

3434
void usage(const std::string& bin_name)
3535
{
36-
std::cerr << "Usage : " << bin_name << " <connection_url>\n"
36+
std::cerr << "Usage : " << bin_name << " <connection_url> <mission_plan_file>\n"
3737
<< "Connection URL format should be :\n"
3838
<< " For TCP server: tcpin://<our_ip>:<port>\n"
3939
<< " For TCP client: tcpout://<remote_ip>:<port>\n"

examples/set_actuator/set_actuator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ using namespace mavsdk;
1313

1414
void usage(const std::string& bin_name)
1515
{
16-
std::cerr << "Usage : " << bin_name << " <connection_url>\n"
16+
std::cerr << "Usage : " << bin_name << " <connection_url> <index> <value>\n"
1717
<< "Connection URL format should be :\n"
1818
<< " For TCP server: tcpin://<our_ip>:<port>\n"
1919
<< " For TCP client: tcpout://<remote_ip>:<port>\n"

0 commit comments

Comments
 (0)