Loading a occupancy grid into a function block in simulink
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hi All,
I currently have a script which is able to find the locations in an occupancy grid (called map) which have either a 1 or a 0 to place a waypoint. I have run it on my map and it works perfectly. However when I move the script into a function block in simulink i get an error where it says it can't find the map even though its in my workspace. I have tried to load it in from the workspace but i get another saying the type of variable isn't accepted.
I'm at a loss and have searched the web to see if anyone else has had this issue.
Any help would be appreciated.
2 comentarios
Githin John
el 7 de Mayo de 2020
What format is the map stored in? as a matrix or an occupancy map object?
Respuestas (1)
Amrtanshu Raj
el 21 de Abr. de 2021
Hi,
You can refer to this documentation for implementation of Occupancy map in Simulink(check the planning block).
Here a binary Occupancy map is used inside a Matlab Function Block.
Hope this helps.
0 comentarios
Ver también
Categorías
Más información sobre Get Started with Simulink en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!