-
Notifications
You must be signed in to change notification settings - Fork 7
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
ArduPilot SITL quadrotor not work #1
Comments
Hi, I just tried to reproduce the problem, but for me already cloning the ArduPilot fork ( |
I had a problem with my git config but now it works again. I have an idea what your problem might be. If that was not the problem, could you share a (private) YouTube video? The SITL generally also works without Matlab/Simulink. Matlab/Simulink is used here only as a physical model of the quadrotor. However, if you want to use a different simulator you have to make sure that the physical model is very similar. |
Thanks for your kindly help. The record video can be accessed via FTC_ArduPilot_For_Issue.
Thanks agains, and hope keeping in touch! |
Hi, thanks for the video! If I see it correctly, you are using the standard ArduCopter SITL quadrotor instead of the quadrotor Minnie (Simulink). This quadrotor is probably too different from the quadrotor Minnie, which leads to unstable flight behavior. Have you already tried the SITL with the Simulink model or do you not have a Matlab license? I have never done this, but you can certainly configure the quadrotor of the ArduCopter SITL. If you configure the copter like Minnie, it should work. I hope this helps and you get it working with it. |
I guess you are right about the mismatch quadrotor model I have used. But where is the model(gazebo), I mean, I'm trying to use the simulink model in the matlab, but the Matlab(Version 2019a) is installed on another computer, whoes Or maybe, can you share the video about how to implement the whole SITL system on youtube? Best wishes and many thanks to you! |
Sorry for the late reply. Have you made any progress in the meantime? We don't use Gazebo, we just use the interface for Gazebo (more info here). I've never done this, but I would assume that you can run SITL on two computers (one computer with ArduPilot and the other computer with the physical simulation model). I did some quick research and found this, for example. I hope this helps and look forward to your reply! |
I am glad to here your replay. I'm very interested in your work, and want to reproduce your work. But since the parameters in the standard ArduCopter SITL quadrotor do not work properly, I'm going to learn how to use the Matlab/Simulink module in this repository. Up to now, I can only run the "Customize simulation" section, which is all in Matlab/Simulink module, and it's difficult to understand this so many submodule. However, I'm curious about how to realize that running the code in the Pixhawk, just like the video. Video for this repository. Can you share some videos about how to implement the whole SITL system on youtube? |
Hi, when I run the scripts init_Minie_Loiter_FTC, it says that it could not recognize the variable "copter", have you ever seen this? Thanks |
I have clone the repository via "git clone --recursive -b EuroGNC_2022_flight_test https://github.com/ybeyer/ardupilot.git"
but when the flight mode is switch mode 29, the quadrotor in sitl seems to overturns without any controller works.
Other modes, such as stabilize works fun.
By the way, i add some print message in the "void ModeCustom::run()", but it also doesn't works. I'm starting to wonder if it runs.
Thus, please enlighten the right steps how to implement the ftc code for the quadrotor.
The text was updated successfully, but these errors were encountered: