Last active
May 18, 2020 11:51
-
-
Save yuki-inaho/55b2912b1a3be30d0475d0cd79dca683 to your computer and use it in GitHub Desktop.
To check function call statistics without depth image processing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <vector> | |
| #include <cmath> | |
| #include <iostream> | |
| #include "PicoZense_api.h" | |
| using namespace std; | |
| int main(int argc, char *argv[]) | |
| { | |
| PsReturnStatus status; | |
| int32_t deviceIndex = 0; | |
| status = PsInitialize(); | |
| if (status != PsReturnStatus::PsRetOK) | |
| { | |
| cout << "PsInitialize failed!" << endl; | |
| system("pause"); | |
| return -1; | |
| } | |
| for(;;){} | |
| PsShutdown(); | |
| return 0; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment