The document says that if the file was successfully read, but the number of modules in the file is not equal to '1' or the size of the group, returns failure.
Why does the function return success when the number of modules in the file is equal to '1' even though there are several hardware modules in the group?
What is observed is that the correct gains are set for first hardware module, but gains read from uninitialised memory are used to set the rest of the hardware modules.
Is it a bug or intended behaviour?
Thank you very much.
hebi::GroupCommand::readGains
- hardik_singh
- HEBI Official
- Posts: 13
- Joined: Thu Jul 09, 2020 10:49 am
Re: hebi::GroupCommand::readGains
Thanks for catching this! You are correct - this is not intended behavior. We're working to include a fix in an upcoming api release.
Re: hebi::GroupCommand::readGains
Great. Thank you very much.
Could you please share when the next api release will be?
Could you please share when the next api release will be?
- matt_tesch
- HEBI Official
- Posts: 27
- Joined: Mon Mar 30, 2020 9:14 am
- Location: Pittsburgh, USA
Re: hebi::GroupCommand::readGains
Apologies for the delay over the holiday!
This was fixed in C API v2.1.0 before the new year; the C++ API update should be out today pending some final testing.
Best,
Matt
This was fixed in C API v2.1.0 before the new year; the C++ API update should be out today pending some final testing.
Best,
Matt