WHy genFASTCC does not work ?

6 visualizzazioni (ultimi 30 giorni)
Cristina-Rebeca
Cristina-Rebeca il 6 Set 2023
Risposto: Garmit Pant il 9 Gen 2024
hi . I am trying to do the
Reverse-Capable Motion Planning for Tractor-Trailer Model Using plannerControlRRT
and the genFASTcc doent work . I got an error everytime i am trying to work it : Error using codegen.Error in genFastCC (line 13)
codegen('exampleHelperCollisionChecker', '-args', args);
pls help me , its for my thesis and IDK what to do.
  1 Commento
Star Strider
Star Strider il 6 Set 2023
How are you implementing it? It seems to work here until it needs to open the Editor and cannot (because that does not work here).
openExample('nav/TractorTrailerPlanningUsingPlannerControlRRTExample')
Error using edit
Failed to open MATLAB Editor.

Error in openExample (line 88)
edit(fullfile(workDir, mainFile))

Caused by:
Error using assert
Timeout occurred while waiting for AppContainer to return an AppState of RUNNING.
(I do not have the Navigation Toolbox, so I cannot experiment with this anywhere else.)

Accedi per commentare.

Risposte (1)

Garmit Pant
Garmit Pant il 9 Gen 2024
I understand that you are trying to reproduce the MATLAB Example titled “Reverse-Capable Motion Planning for Tractor-Trailer Model Using plannerControlRRT” and you are getting an error while running the "genFASTcc.m” file that creates a MEX file using Codegen. You want to understand the cause of the issue and get a fix for it.
A MATLAB Coder Error Report is generated whenever code generation fails. Please refer to the Error Report to pinpoint the reason behind the error.
For further understanding on MATLAB Coder and code generation, you can refer to the following MATLAB Documentation:
  1. Documentation to install, configure and start using MATLAB Coder - https://www.mathworks.com/help/releases/R2023a/coder/getting-started-with-matlab-coder.html
  2. A guide to Code Generation errors - https://www.mathworks.com/help/releases/R2023a/fixedpoint/ug/fixing-errors-detected-at-code-generation-time.html
I hope you find the above explanation and suggestions useful!

Categorie

Scopri di più su Execution Speed in Help Center e File Exchange

Prodotti


Release

R2023a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by