Simulation 3D camera error while training with RL agent
古いコメントを表示
I started to train an RL agent with a vehicle model with a camera. I'm getting this error after 1 episode
Caused by:
Error using rl.env.SimulinkEnvWithAgent>localHandleSimoutErrors (line 667)
Error in 'model/Environment/Subsystem/Simulation 3D Camera Forward Facing': Failed to evaluate mask initialization commands.
Error using rl.env.SimulinkEnvWithAgent>localHandleSimoutErrors (line 667)
Cannot change property 'Enabled' of 'model/Environment/Subsystem/Simulation 3D Camera Forward Facing' while simulation is running
4 件のコメント
Emmanouil Tzorakoleftherakis
2021 年 3 月 18 日
It seems like you are changing a property during simulation? If that's the case, have you tried enabling the camera from the start?
Sanketh Salimath
2021 年 3 月 18 日
Emmanouil Tzorakoleftherakis
2021 年 3 月 18 日
There should not be any issues using camera blocks. I would try 'SetBlockParameter' as showin in the reset function in this example
Sanketh Salimath
2021 年 3 月 19 日
回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Simulink 3D Animation についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!