Flight Controller Design and Hardware Deployment (Project 217) #48
Replies: 10 comments 22 replies
-
Hi, I am a student at National Taitung University and interested in working and collaborating on this project |
Beta Was this translation helpful? Give feedback.
-
Hi, I am a graduate from Dayananda Sagar Academy Of Technology And Management (DSATM), Bangalore and interested in working on this project. |
Beta Was this translation helpful? Give feedback.
-
Hi, my name is Jasmine an undergraduate senior from CSULA, I am currently working on the flight controller design for our project. We are currently in the process of uploading our control system to our autopilot. We are facing a problem within our project where our motors are not continuously spinning. Instead, they are stuttering when we send a thrust command through our RC. However, the appropriate motors are spinning when we give pitch, roll, and thrust commands which indicates to us that our control system is working appropriately. We are running the hardware simulation via I/O connection while having this issue, so we tried to run the control system via external mode, and we got a sample time error which stated that we need to set the sample time of all the PX4 blocks to 1ms. When we changed the sampling time in the PX4 blocks, we still got the same error message. This tells me that it may be a PWM signal rate or Code generation problem, and we have debugged the system and did not find issues with the control system or RC. We also tried the MathWorks model shown here, and the drone's motors would still stutter. I have a video of the issue attached and a picture of the error message we are receiving while running the simulation via external mode. I also have our hardware settings attached. CSULA.simulink.motor.run.mov |
Beta Was this translation helpful? Give feedback.
-
Hello all, |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
INTERNAL & PARTNERS
Hello,
We have tried with all the default cmake files present in the PX4 folder including px4_fmu-v5_default CMake, still causing the build failure in the end, Also for the reference I have attached the log file, the error facing is regarding Nuttx.
With Regards,
Ayush Bhagat
5acXjzUk
From: Arun Mathamkode ***@***.***>
Sent: Tuesday, January 2, 2024 9:57 AM
To: mathworks/MATLAB-Simulink-Challenge-Project-Hub ***@***.***>
Cc: BHAGAT Ayush (HELLA) ***@***.***>; Comment ***@***.***>
Subject: Re: [mathworks/MATLAB-Simulink-Challenge-Project-Hub] Flight Controller Design and Hardware Deployment (Project 217) (Discussion #48)
- External - This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
Hi,
In your MATLAB command window, there will be build logs getting displayed. Can you please share that as a text file? That would be helpful in understanding what is going wrong. I would also recommend giving a try with px4_fmu-v5_default CMake and seeing if that is also causing a build failure.
—
Reply to this email directly, view it on GitHub<#48 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BE5SVAKCO7ETMZ6O4STXTTLYMOECPAVCNFSM5AJYGTC2U5DIOJSWCZC7NNSXTOKENFZWG5LTONUW63SDN5WW2ZLOOQ5TOOJZGA2DCNI>.
You are receiving this because you commented.Message ID: ***@***.******@***.***>>
MathWorks PX4 Log File
BUILDSTARTING_26-Dec-2023_13-07-30
CMAKE Config selected : px4_fmu-v5_debug
make: *** [Makefile:226: px4_fmu-v5_debug] Error 1
BUILDCOMPLETE_26-Dec-2023_13-07-30
BUILDSTARTING_03-Jan-2024_10-48-00
CMAKE Config selected : px4_fmu-v5_debug
make: *** [Makefile:226: px4_fmu-v5_debug] Error 1
BUILDCOMPLETE_03-Jan-2024_10-48-00
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Hi, I am a final year student at Vellore Institute of Technology Bhopal and interested in working and collaborating on this project. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
https://radiolink.com.cn/doce/pro |
Beta Was this translation helpful? Give feedback.
-
Contribute to the discussion by asking and/or answering questions, commenting, or sharing your ideas for solutions to project #217
Beta Was this translation helpful? Give feedback.
All reactions