I do not know how to use the asbTrajectory Tool of Quadcopter Project.

How can I use the default WayPoint in the asbTrajectory Tool with asbQuadcopter Simulink? Quadcopter Project

1 Kommentar

Even I need help on this Question, do we need to change X,Y and Z in the simulink blocks to fly in the genrated path ?

Melden Sie sich an, um zu kommentieren.

Antworten (4)

Priyank Sharma
Priyank Sharma am 15 Mai 2018

0 Stimmen

asbTrajectoryTool command is used to start the trajectory generation tool in MATLAB that creates a navigational panel used to describe the poses tool will take including the direction, turn and curvature. For more information you can go through the below link that describes it in details:
https://www.mathworks.com/help/aeroblks/examples/quadcopter-project.html

4 Kommentare

Where does it save the trajectory though? The tool in itself is pretty intuitive to use however, the trajectory should be saved somewhere so that the simulink model can use it. It is not apparent where it is saved.
Hello I have been looking into same problem. I have found a way to change Quadcopter project and update VSS_Command=2 which will make it to get input from already saved .mat file instead of Signal Builder. I hope it helps you in some way. But now the problem is, I am trying to find out where exactly and in what format Trajectory file is saved when we pressed "Generate Trajectory" on asbTrajectory tool so that it can be directly link to to Quadcopter Project.
It is saved in ~\MATLAB\Projects\slexamples\asbQuadcopter\tasks\private\wpTrajectory.mat
I think but I also do not know how to make the quadrotors fly following the generated path. Any idea??
Hello, did anyone find a solution to let the quadcopter follow the created path?

Melden Sie sich an, um zu kommentieren.

Weibo Huang
Weibo Huang am 7 Okt. 2018

0 Stimmen

Hi Yoshiyuki Otsuji, have you solved the problem? I am new to Quadcopter project and I don't know how to apply the generated trajectory to guide quadcopter flying, could you help me?

1 Kommentar

Hello. Do you have any idea why quadrocopter does not follow the trajectory that I create in asbTrajectoryTool. I wanna the motion of cuadrocopter that I create in asbTrajectoryTool in asbQuadcopterStart window. Do you have any idea.

Melden Sie sich an, um zu kommentieren.

Aravind
Aravind am 4 Feb. 2025
The “asbTrajectoryTool” serves mainly as a reference tool and does not directly integrate with the example for automatic trajectory following. The flight controller included in the Quadcopter example is specifically designed for the simulation context provided.
Moreover, even though the documentation mentions "trajectory," the output from the “asbTrajectoryTool” is actually a path without any time information associated with it. Therefore, you cannot use it directly with the Quadcopter example. To follow waypoints, you would need to redesign the flight control system or add time information to the waypoints and convert it into a trajectory.
For more details, you can refer to this MATLAB Answer by the MathWorks Support Team: https://www.mathworks.com/matlabcentral/answers/438975-why-is-the-quad-copter-example-not-following-the-gui-trajectory.
I hope this helps!

Kategorien

Mehr zu MATLAB Support Package for Parrot Drones finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 1 Mai 2018

Beantwortet:

am 4 Feb. 2025

Community Treasure Hunt

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

Start Hunting!

Translated by