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?

Answers (1)

Jianxin Sun
Jianxin Sun on 20 Oct 2021
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 Comments

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.
Yes, you can adjust the relative position and orientation during the simulation using either MATLAB function block or Simulink blocks.

Sign in to comment.

Products

Release

R2020b

Asked:

on 20 Oct 2021

Commented:

on 20 Oct 2021

Community Treasure Hunt

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

Start Hunting!