Default image with RVC

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Default image with RVC

852 Views
vinothkumars
Senior Contributor IV

Dear All,

 

I working in imx8qm-mek board and use the rear_view_camera.

I got the default images by using the dumpsys commands after integrating CAN

How to disable this default view functionality ?

      RVC displayed in one of the tile at the right side of the screen.

pastedImage_1.png

Thanks & Regards,

VInoth S,

Regards,
Vinothkumar Sekar
0 Kudos
3 Replies

740 Views
igorpadykov
NXP Employee
NXP Employee

Hi VInoth

one can try turn on/off commands for cameras described in

sect.8.1.1 Interfaces to control the EVS function attached Android Guide.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

740 Views
vinothkumars
Senior Contributor IV

Hi igorpadykov

I done those configuration software side but, not working as per exception and finally, I found where the problem,

I changed GEAR_SELECTION default value to park from reverese

diff --git a/vehicle/impl/vhal_v2_0/DefaultConfig.h b/vehicle/impl/vhal_v2_0/DefaultConfig.h
index 03dd662..52fdad5 100644
--- a/vehicle/impl/vhal_v2_0/DefaultConfig.h
+++ b/vehicle/impl/vhal_v2_0/DefaultConfig.h
@@ -907,7 +907,7 @@ const ConfigDeclaration kVehicleProperties[]{
              .access = VehiclePropertyAccess::READ,
              .changeMode = VehiclePropertyChangeMode::ON_CHANGE,
          },
-     .initialValue = {.int32Values = {toInt(VehicleGear::GEAR_REVERSE)}}},
+     .initialValue = {.int32Values = {toInt(VehicleGear::GEAR_PARK)}}},

Default gear value is reverse in simulator and I configured as park. After this I got this default image.

I don't why this makes the problem.

Thanks & Regards,

Vinoth S,

Regards,
Vinothkumar Sekar
0 Kudos

740 Views
vinothkumars
Senior Contributor IV

Thank you Igorpadykov for the reply.

I got some information from your input.

evs/app/EvsStateControl.cpp

mTurnSignalValue.prop = static_cast<int32_t>(VehicleProperty::TURN_SIGNAL_STATE);

source/vendor/nxp-opensource/imx/vehicle/impl/vhal_v2_0/DefaultConfig.h

-     .initialValue = {.int32Values = {toInt(VehicleTurnSignal::NONE)}}},
+     .initialValue = {.int32Values = {toInt(VehicleTurnSignal::RIGHT)}}},

I will test and update.

Thanks & Regards,

Vinoth S,

Regards,
Vinothkumar Sekar
0 Kudos