Required Info:
- Software Version
DRIVE OS 6.0.6 - Target OS
Linux - SDK Manager Version
1.9.2.10884 - Host Machine Version
native Ubuntu Linux 20.04 Host installed with DRIVE OS DOCKER Containers
Describe the bug
I am trying to implemente dwCameraNode based on the dwcgf framework and the demo node header like driverorks-5.10/include/dwframework/dwnodes/sensors/dwcameranode/dwCameraNode.hpp
the work is in here nv_driveworks_demo/CameraNode.hpp at main · ZhenshengLee/nv_driveworks_demo · GitHub
To Reproduce
//just compile the code
#include <dwframework/dwnodes/common/channelpackets/Image.hpp>
#include <dwframework/dwnodes/common/channelpackets/SelfCalibrationTypes.hpp>
#include <dwframework/dwnodes/common/channelpackets/SensorCommonTypes.hpp>
#include <dwframework/dwnodes/common/channelpackets/Sensors.hpp>
Expected behavior
compile success.
Actual behavior
the compiling error shows that some header files not found, I think some files or paths are missing,
In file included from /gw_demo/modules/xplatform/xcgf/image_pipe/src/nodes/camera/camera/CameraNode.hpp:24,
from /gw_demo/modules/xplatform/xcgf/image_pipe/src/nodes/camera/camera/CameraNode.cpp:1:
/usr/local/driveworks/include/dwframework/dwnodes/common/channelpackets/Image.hpp:35:10: fatal error: dwframework/dwnodes/common/ChannelPacketImpl.hpp: No such file or directory
35 | #include <dwframework/dwnodes/common/ChannelPacketImpl.hpp>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [modules/xplatform/xcgf/image_pipe/CMakeFiles/dwcgf_image_pipe.dir/build.make:63: modules/xplatform/xcgf/image_pipe/CMakeFiles/dwcgf_image_pipe.dir/src/nodes/camera/camera/CameraNode.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /gw_demo/modules/xplatform/xcgf/image_pipe/src/nodes/camera/camera/CameraNode.hpp:24,
from /gw_demo/modules/xplatform/xcgf/image_pipe/src/nodes/camera/camera/CameraNodeImpl.hpp:4,
from /gw_demo/modules/xplatform/xcgf/image_pipe/src/nodes/camera/camera/CameraNodeImpl.cpp:1:
/usr/local/driveworks/include/dwframework/dwnodes/common/channelpackets/Image.hpp:35:10: fatal error: dwframework/dwnodes/common/ChannelPacketImpl.hpp: No such file or directory
35 | #include <dwframework/dwnodes/common/ChannelPacketImpl.hpp>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Additional context
- the missing header files are included in
dwframework/dwnodes
, is this path beding tested in dw5.8? - Is there any tutorial aboud developing a custom node based on
SimpleSensorNode
? I know there is a common tutorial in the doc withSimpleNode
that is aProcessNode
not aSensorNode
.