control the Gimbal orientation

I am concerned by a simulation that require to have control over a Gimbal's orientation as well as the drone's orientation.
can i achieve that with the Simulation 3D UAV Vehicle of the UAV toolbox?

Réponses (1)

Jianxin Sun
Jianxin Sun le 20 Oct 2021

0 votes

Hi, Ulrich,
You can use "Simulation 3D Camera" block to achieve this effect. https://www.mathworks.com/help/uav/ref/simulation3dcamera.html
You can adjust the relative position and orientation of your camera to the UAV using this block.
Thanks,
Jianxin

3 commentaires

Ulrich natsou
Ulrich natsou le 20 Oct 2021
Thanks for feedback
i guess i can use a matlab script to change it's orientation continuously?
In which case that would be the right block.
Jianxin Sun
Jianxin Sun le 20 Oct 2021
Yes, you can adjust the relative position and orientation during the simulation using either MATLAB function block or Simulink blocks.
Ulrich natsou
Ulrich natsou le 20 Oct 2021
Thank you @Jianxin Sun

Connectez-vous pour commenter.

Produits

Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by