Header file issue while using dw::framework::ExceptionSafeSensorNode Class

Please provide the following info (tick the boxes after creating this topic):
Software Version
DRIVE OS 6.0.10.0
[*] DRIVE OS 6.0.8.1
DRIVE OS 6.0.6
DRIVE OS 6.0.5
DRIVE OS 6.0.4 (rev. 1)
DRIVE OS 6.0.4 SDK
other

Target Operating System
[*] Linux
QNX
other

Hardware Platform
DRIVE AGX Orin Developer Kit (940-63710-0010-300)
DRIVE AGX Orin Developer Kit (940-63710-0010-200)
DRIVE AGX Orin Developer Kit (940-63710-0010-100)
DRIVE AGX Orin Developer Kit (940-63710-0010-D00)
DRIVE AGX Orin Developer Kit (940-63710-0010-C00)
[*] DRIVE AGX Orin Developer Kit (not sure its number)
other

SDK Manager Version
2.1.0
other

Host Machine Version
native Ubuntu Linux 20.04 Host installed with SDK Manager
[*] native Ubuntu Linux 20.04 Host installed with DRIVE OS Docker Containers
native Ubuntu Linux 18.04 Host installed with DRIVE OS Docker Containers
other

Issue Description
Hello @SivaRamaKrishnaNV
After converting the dwCamerNode in c++ using dw::framework::ExceptionSafeSensorNode Class there is a missing header file error in dwCameraNodeImpl.hpp which is of as follows
include <dwframework/dwnodes/sensors/dwsensornode/impl/dwSensorNodeImpl.hpp>.

I’ve seen that there is no path related to this in docker.

Can you please guide us what this error is?

Regards,
Prit

Dear @prit.shah,
The requested header files of dwSensorNode is not shipped in DRIVE OS release.
As I understand, you have used nodestub.py tool to generate cpp files from dwCameraNode.json. If you want to use any supported sensor, you can directly use its corresponding sensor node.json in your application.

dear @SivaRamaKrishnaNV since the header files arent shipped with the DRIVE OS; however using the nodestub.py with dw::framework::ExceptionSafeSensorNode class for the camera application’s CameraNode.node.json mentions the directory for framework’s sensor node implementation header file:

#define DW_FRAMEWORK_DWCAMERANODEIMPL_HPP_

#include <dwcgf/node/SimpleNodeT.hpp>
#include <dwframework/dwnodes/sensors/dwsensornode/impl/dwSensorNodeImpl.hpp>

#include "./dwCameraNode.hpp"

#include <dw/core/base/Types.h>
#include <dw/image/Image.h>
#include <dwframework/dwnodes/common/SelfCalibrationTypes.hpp>
#include <dwframework/dwnodes/common/SensorCommonTypes.hpp>
  1. Does this mean that the class used with nodestub.py is to be set for only dw:framework::ExceptionSafeProcessNode on DRIVE OS 6.0.8.1?

  2. As of now I understand, to make a custom application we need to create the stubs from the custom made application’s nodes from the graphlet.json and then add logic integration on the process functions of the implementation cpp files?

  3. If the above is true, do let me know what is causing the build fail.

regards,
Prit

Dear @SivaRamaKrishnaNV , just a friendly reminder

Dear @prit.shah,
Yes. you are correct. When you use ExceptionSafeSensorNode, it is adding few files which are not part of devzone release and hence causing build issues. Please use only ProcessNode with nodestub.py to create stub files of a process node.

Dear @SivaRamaKrishnaNV ,
Thank you

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.