(
boardId: BoardIds, preset = BrainFlowPresets.DEFAULT_PRESET)
| 619 | } |
| 620 | |
| 621 | public static getGyroChannels( |
| 622 | boardId: BoardIds, preset = BrainFlowPresets.DEFAULT_PRESET): number[] |
| 623 | { |
| 624 | const numChannels = [0]; |
| 625 | const сhannels = [...new Array (512).fill(0)]; |
| 626 | const res = BoardControllerDLL.getInstance().getGyroChannels( |
| 627 | boardId, preset, сhannels, numChannels); |
| 628 | if (res !== BrainFlowExitCodes.STATUS_OK) |
| 629 | { |
| 630 | throw new BrainFlowError (res, 'Could not get board info'); |
| 631 | } |
| 632 | return сhannels.slice(0, numChannels[0]); |
| 633 | } |
| 634 | |
| 635 | public static getOtherChannels( |
| 636 | boardId: BoardIds, preset = BrainFlowPresets.DEFAULT_PRESET): number[] |
nothing calls this directly
no test coverage detected