Skip to content

Commit

Permalink
camera_manager: use correct mftp url
Browse files Browse the repository at this point in the history
  • Loading branch information
dayjaby committed Dec 25, 2021
1 parent 347458b commit e757b73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/camera_manager/camera_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ int main(int argc, char** argv)
CAMERA_CAP_FLAGS_HAS_BASIC_FOCUS |
CAMERA_CAP_FLAGS_HAS_VIDEO_STREAM;
camera_information.cam_definition_version = 0;
strncpy(camera_information.cam_definition_uri, "mftp://infos/camera_info.xml", 140);
strncpy(camera_information.cam_definition_uri, "mftp://[;compid=100]infos/camera_info.xml", 140);
std::cout << "Sending CAMERA_INFORMATION" << std::endl;
mavlink_message_t send_msg;
mavlink_msg_camera_information_encode(mavlink_passthrough.get_our_sysid(), mavlink_passthrough.get_our_compid(), &send_msg, &camera_information);
Expand Down

0 comments on commit e757b73

Please sign in to comment.