which toolbox do I need to run openExampl​e('px4/Act​uatorContr​olUAVCANDr​oneCANExam​ple','supp​ortingFile​','px4Actu​atorWrite'​)?

20 views (last 30 days)
I'm following the instructions at https://www.mathworks.com/help/uav/px4/ref/getting-started-actuator-write-uavcan-dronecan.html , which suggests running the example
openExample('px4/ActuatorControlUAVCANDroneCANExample','supportingFile','px4ActuatorWrite')
However, I can't find any information about the px4 toolbox. I have UAV Toolbox Support Package for PX4® installed and I gone through Setup and Configuration of the support package using Hardware Setup screens
Which toolbox do I need to run openExample('px4/ActuatorControlUAVCANDroneCANExample','supportingFile','px4ActuatorWrite')?

Answers (2)

Walter Roberson
Walter Roberson on 10 Dec 2024
That example appears to be new as of R2024b.
  4 Comments
Steven Lord
Steven Lord on 11 Dec 2024
Kate, please confirm that you're running release R2024b not release R2024a by running this command and pasting its output into a comment.
version
ans = '24.2.0.2814637 (R2024b) Update 3'

Sign in to comment.


Epsilon
Epsilon on 10 Dec 2024
Hi Kate,
The 'px4/ActuatorControlUAVCANDroneCANExample' example requires the 'UAV Toolbox Support Package for PX4 Autopilots'
The above support package requires the following:
Hope it helps!

Products


Release

R2024a

Community Treasure Hunt

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

Start Hunting!