Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chap6 Simulink #6

Open
AdvanceXplorer opened this issue Dec 25, 2019 · 9 comments
Open

Chap6 Simulink #6

AdvanceXplorer opened this issue Dec 25, 2019 · 9 comments

Comments

@AdvanceXplorer
Copy link

Hi, i was trying to do the project for the chapter 6 but i couldn't find the mdl files (roll_model.mdl etc.) to tüne the values, are they missing or ?

@spyros96
Copy link

spyros96 commented Jan 8, 2020

Look at the book supplement and the pdf presentation at the book website. It says they are not needed and you can tune directly on the full Simulink model

@AdvanceXplorer
Copy link
Author

No you can't, the tuned values themselves are used in the matlab code that is embedded into the simulink model. I have done the Project anyways.

@spyros96
Copy link

spyros96 commented Jan 8, 2020

What do you mean exaclty by that? Also did you implement the autopilot with the presence of wind or not?

@AdvanceXplorer
Copy link
Author

Already tuned values that are calculated by the writer of the code is used as constant values in the matlab code which is used in the autopilot.m file inside the simulink file.

@AdvanceXplorer
Copy link
Author

You can calculate the a values from chapter 5 then prepare the mdl files for the successive loop closure modelling

@AdvanceXplorer
Copy link
Author

Also did you implement the autopilot with the presence of wind or not?

Yea of course.

@spyros96
Copy link

spyros96 commented Jan 9, 2020

Already tuned values that are calculated by the writer of the code is used as constant values in the matlab code which is used in the autopilot.m file inside the simulink file.

And where is the problem with that? I am putting some values, see the response and if i dont like it, change them and run again the autopilot to see what happening. There should be constant, its not adaptive PID or something

@AdvanceXplorer
Copy link
Author

Dude using different models means different a values thus different models, you should first create your own simulink model then work on it till it Works decently and then finally implement it with other modules. You can do whatever you want sure but that is not the proper way to do it.

@AdvanceXplorer
Copy link
Author

I did the Project as i said before, there is nothing to discuss about lol. Good luck.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants