uavcannode: refactor into separate publishers and subscribers

This commit is contained in:
Daniel Agar
2021-01-27 20:57:23 -05:00
committed by GitHub
parent 39ad84e069
commit cf43d07f70
20 changed files with 1286 additions and 450 deletions
@@ -36,6 +36,9 @@
#include <px4_platform_common/defines.h>
#include <lib/parameters/param.h>
namespace uavcannode
{
void UavcanNodeParamManager::getParamNameByIndex(Index index, Name &out_name) const
{
if (index < param_count_used()) {
@@ -136,3 +139,5 @@ int UavcanNodeParamManager::eraseAllParams()
param_reset_all();
return 0;
}
} // namespace uavcannode