Hi,
based on this post, can we get distance of detected objects for drivenet on Drive Xavier? mind providing sample code? thanks
Hi,
based on this post, can we get distance of detected objects for drivenet on Drive Xavier? mind providing sample code? thanks
Hi,
Do you mean the distance output of drivenet?
v7b_distance model contains the car distance information.
But the distance of signs/lights is calculated by DriveAV/RoadRunner SW and is not released.
Thanks.
Thanks AastaLLL.
The dwObject has a few fields(see below), are the data of those fields valid in the samples of drivenet/drivenet_ncameras? If not, should we set flag hasDepth to true when calling dwDriveNet_initDefaultParams? also, I did not see the camera intrinsic extrinsic parameters of video input is being passed to and used in the samples. If we could make use of these fields, please provide some sample code. thanks
float32_t distance The estimated distance of the object in meters.
float32_t orientationYaw Yaw orientation of the object. Radian angle (-PI - +PI) from lateral axis. e.g. car faces the same direction with the host car (the same way traffic): 0 e.g. car faces toward the camera (opposite traffic): ± PI e.g. car faces toward the right side: -PI/2
dwVector3f positionInRig 3D position in rig
dwVector3f velocity Velocity of the object in x, y image space coordinates and z in scale factor.
dwVector3f velocityInRig 3D velocity in rig
Hi,
No. The fields you mentioned is using by RoadRunnder.
However, the full DriveAV/RoadRunnder stack has a classical method to predict distance to road signs and lights rather than using drivenet.
Thanks.
Hi AastaLLL,
Is there any sample application in DriveSDK that can give out distance of the detected lane, object or traffic signs in the PC environment? For example. in the sample laneDetection program, I see that there are world points field associated to the laneMarking object but they are always zero. Same goes for the dwObjectCamera.
Thanks
Goksan
Hi Göksan,
Would you please file a new topic for your current issue, then we can follow up and support you through there?
Thanks
Is the RoadRunner not available on the DrivePX2?
Correct, that’s not available for DRIVE PX 2 platform.