User-defined PX4 uORB messages
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Simon Hafner
le 3 Mai 2023
Réponse apportée : Arun Mathamkode
le 14 Juil 2023
Hello everyone,
I want to use a user-defined PX4 uORB message with the hardware support package.
When I try to run the model, I get the following error.
MATLAB System block 'test/PX4 uORB Write/SinkBlock' error occurred when invoking 'setupImpl' method of 'px4.internal.block.Publisher'. The error was thrown from '
'C:\ProgramData\MATLAB\SupportPackages\R2023a\toolbox\target\supportpackages\px4\+px4\+internal\+block\Publisher.p' at line 151
'C:\Program Files\MATLAB\R2023a\toolbox\target\codertarget\sltoolstrip\m\+codertarget\+internal\+sltoolstrip\ConnectedIOHandler.m' at line 106
'C:\Program Files\MATLAB\R2023a\toolbox\target\codertarget\sltoolstrip\m\+codertarget\+sltoolstrip\EmbeddedHardwareBoardContext.m' at line 493'.
Caused by:
- The class px4.internal.ConnectedIO.uORBMsgMap has no Constant property or Static method named 'actuator_motors_simulink'.
I checked the class px4.internal.ConnectedIO.uORBMsgMap and saw that my custom message is not in there. Is there an update function for that?
Best regards
Simon
0 commentaires
Réponse acceptée
Arun Mathamkode
le 14 Juil 2023
Custom uORB messages are not supported with Connected I/O currently. You can consider using the Monitor and Tune Simulation instead.
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!