Skip to content

Commit

Permalink
main.cpp: Solve typos
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick José Pereira <[email protected]>
  • Loading branch information
patrickelectric committed Feb 17, 2017
1 parent 5cb90f2 commit 34c802d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion HelloDrone/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ int imageExample()
client.setImageTypeForCamera(0, DroneControlBase::ImageType::Segmentation);
cout << "Press Enter to get depth image" << endl; cin.get();
auto image = client.getImageForCamera(0, DroneControlBase::ImageType::Segmentation);
cout << "PNG images recieved bytes: " << image.size() << endl;
cout << "PNG images received bytes: " << image.size() << endl;
cout << "Press Enter to save image" << endl; cin.get();
ofstream file("c:\\temp\\depth.png", ios::binary);
file.write((char*) image.data(), image.size());
Expand Down

0 comments on commit 34c802d

Please sign in to comment.