mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-03 09:00:34 +08:00
uavcannode: refactor into separate publishers and subscribers
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user