How can I communicate between a Pixhawk controller and an actuator module using UAVCAN?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Sakahisa Nagai
el 3 de Sept. de 2024
Comentada: Sakahisa Nagai
el 7 de Oct. de 2024
I am now building a UAV whose controller is Pixhawk 4X or 6X.
UAVCAN communication is available to drive the main motors.
According to the following page, UAVCAN is used to read GPS data.
However, I cannot find the detailed configuration of the UAVCAN.
Would you tell me how to use the UAVCAN communication using some blocks in UAV Toolbox Support Package for PX4 Autopilot such as "uORB Read" block?
0 comentarios
Respuesta aceptada
Arun Mathamkode
el 5 de Sept. de 2024
Starting in R2024b, you can use the PX4 Actuator Write block in your Simulink model to write motor and servo actuator values over the PWM and UAVCAN interfaces. Please refer to R2024b release notes.
Más respuestas (1)
Ayush
el 5 de Sept. de 2024
Editada: Ayush
el 5 de Sept. de 2024
You can develop algorithms on UAVCAN communication using various blocks like “uORB Read” block, “uORB Write”, “uORB Message” etc. Please refer to know more: https://www.mathworks.com/help/uav/develop-algorithm-deploy-px4.html
For hardware support and configuration for UAV Toolbox for PX4 Autopilots, you can refer to this documentation: https://www.mathworks.com/help/uav/setup-and-configuration-px4.html
You can also read more about UAV Toolbox here: https://www.mathworks.com/help/uav/index.html
Hope it helps!
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!