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 Comment

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 ?

Sign in to comment.

Answers (4)

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 Comments

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?

Sign in to comment.

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 Comment

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.

Sign in to comment.

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!

Categories

Find more on MATLAB Support Package for Parrot Drones in Help Center and File Exchange

Asked:

on 1 May 2018

Answered:

on 4 Feb 2025

Community Treasure Hunt

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

Start Hunting!