| | 53 | === 2F LiDAR Access Within COSMOS |
| | 54 | |
| | 55 | After logging into a compute node (e.g. Bed or SB1/2), you can access the LiDAR stream using tools like [https://ouster.com/downloads/sdk Ouster-SDK]. |
| | 56 | The LiDAR is under '''lidar1-md2.bed.cosmos-lab.org'''. |
| | 57 | |
| | 58 | 1. Make sure that Ouster-SDK is installed: |
| | 59 | |
| | 60 | {{{#!shell-session |
| | 61 | python3 -m pip install --upgrade ouster-sdk |
| | 62 | }}} |
| | 63 | |
| | 64 | 2. Make sure that the installation directory is in your '''$PATH''' and the LiDAR is accessible: |
| | 65 | {{{#!shell-session |
| | 66 | ping lidar1-md2.bed.cosmos-lab.org && ouster-cli source "lidar1-md2.bed.cosmos-lab.org" config -d |
| | 67 | }}} |
| | 68 | |
| | 69 | 3. Record a 10s clip and save as a '''.pcap''' file |
| | 70 | |
| | 71 | {{{#!shell-session |
| | 72 | ouster-cli source "lidar1-md2.bed.cosmos-lab.org" slice 0s:10s save .pcap |
| | 73 | }}} |
| | 74 | |
| | 75 | 3. For other usage, please refer to the [https://docs.ouster.com/sdk-docs/index.html Ouster-SDK documentation]. |
| | 76 | |
| | 77 | |