MCPcopy Create free account
hub / github.com/brainflow-dev/brainflow / get_rotation_channels

Method get_rotation_channels

cpp_package/src/board_shim.cpp:535–545  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

533}
534
535std::vector<int> BoardShim::get_rotation_channels (int board_id, int preset)
536{
537 int channels[MAX_CHANNELS];
538 int len = 0;
539 int res = ::get_rotation_channels (board_id, preset, channels, &len);
540 if (res != (int)BrainFlowExitCodes::STATUS_OK)
541 {
542 throw BrainFlowException ("failed to get board info", res);
543 }
544 return std::vector<int> (channels, channels + len);
545}
546
547std::vector<int> BoardShim::get_gyro_channels (int board_id, int preset)
548{

Callers

nothing calls this directly

Calls 2

get_rotation_channelsFunction · 0.85
BrainFlowExceptionClass · 0.85

Tested by

no test coverage detected