mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 01:12:31 +00:00
Fixed hardpoint controller initialization
This commit is contained in:
committed by
Lorenz Meier
parent
1b75da8103
commit
6c3af77937
@@ -652,6 +652,12 @@ int UavcanNode::init(uavcan::NodeID node_id)
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ret = _hardpoint_controller.init();
|
||||||
|
|
||||||
|
if (ret < 0) {
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
// Sensor bridges
|
// Sensor bridges
|
||||||
IUavcanSensorBridge::make_all(_node, _sensor_bridges);
|
IUavcanSensorBridge::make_all(_node, _sensor_bridges);
|
||||||
auto br = _sensor_bridges.getHead();
|
auto br = _sensor_bridges.getHead();
|
||||||
|
|||||||
Reference in New Issue
Block a user