- If you want to view signals that are not available in the list shown in the "Logging" tab of the app, then the recommendation is to just work directly in the ConfiguredVehicleModel after you generate it. You can log any signals you want in that model by simply clicking on the signal line and turning on logging. No need to add "To Workspace" blocks or scopes, which can quickly make the model quite messy. You can even do that programmatically if you prefer. For more info, check out this help page.
- The short answer is 'no', you don't need to reference every single input signal defined in the interface for your custom controller. You can use a subset of them. For more a more detailed discussion on variants in Simulink, check out this help page.
How to modify virtual vehicle composer(VVC)
6 次查看(过去 30 天)
显示 更早的评论
Hello, I have some inquiries regarding the usage of Virtual Vehicle Composer (VVC).
- It seems that when building vehicle models through VVC, values cannot be confirmed via Scope blocks or log selected signals in the Simulink model "ConfiguredVirtualVehicleModel." Do I have to rely solely on VVC's Simulation Data Inspector? Using "To workspace" for values also feels inconvenient. Is there a way to activate Scope blocks within VVC?
- I want to use my own controller in the VVC, but changing the controller seems quite challenging. For instance, I simply want to input the steering angle and throttle as outputs of the controller to the Vehicle model. I wonder if all signals that the ConfiguredVirtualVehicleModel/Vehicle/Plant Models(Figure) receive as inputs need to be defined. It seems difficult to verify all signals, so is there a more concise way to design the controller? Do I need to define all signals that were previously connected when modifying the Simulink model?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1637021/image.jpeg)
0 个评论
采纳的回答
Mike Sasena
2024-3-11
Thanks for your questions about the VVC. I'll answer them separately.
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!