readAprilTag in Simulink for code generation
조회 수: 4 (최근 30일)
이전 댓글 표시
Good morning,
Someone has any ideas on how I can use the function readAprilTag in Simulink for code generation?
Or someone has done before the estimation and pose of an AprilTag in Simulink?
Thank you.
Alberto
댓글 수: 0
답변 (1개)
Uday Pradhan
2021년 3월 15일
Hi Alberto,
The "readAprilTag" function is currently not supported for code generation. You could use the coder.extrinsic API to include such functions in your custom code:
coder.extrinsic('readAprilTag');
I hope this helps!
댓글 수: 2
Dingzhi Zhang
2021년 11월 24일
편집: Dingzhi Zhang
2021년 11월 24일
Same problem here. I think for the function 'readAprilTag' is only possible to use coder in the host system, but not possible to use in the target system, which for example can be the RaspberryPi.
C/C++ Code Generation
Generate C and C++ code using MATLAB® Coder™.
- Generates code only on host platforms.
- You must specify the input argument tagFamily as a character vector or an array of character vectors. String inputs are not supported.
참고 항목
카테고리
Help Center 및 File Exchange에서 Parrot Minidrones에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!