To change the output dimension of a block
1 view (last 30 days)
Show older comments
I am currently using the Mobile Robotics Training Toolbox to create simulink code for line tracer using reinforcement learning.
But there's an error now.
How do I change the output dimension of the line sensor block in the mobile robotics training library?



This is the error that appears below.

4 Comments
Answers (1)
Walter Roberson
on 20 Feb 2023
If you need groups of four sensor readings to become the input, then use a buffer block.
However I suspect that instead you need either four different sensors or a sensor that provides four output values (for example x y z signal-strength)
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!