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

Inquiry Regarding Coordinate Systems and Roll/Pitch Commands in Gazebo/SITL Simulation #2007

Open
eren1998-256 opened this issue Oct 26, 2024 · 0 comments

Comments

@eren1998-256
Copy link

Dear All
Hello ,
I am currently working on a university project focused on the implementation and testing of a fixed-wing guidance algorithm in the Gazebo/SITL simulation environment, using the Arduplane control platform. Additionally, I am using the ROS platform and the MAVROS package to receive controller messages and send commands to the fixed-wing UAV.

Based on my initial research into the coordinate systems used in MAVROS, it appears that the package employs the ENU (East-North-Up) coordinate system for sending roll and pitch reference commands to Arduplane. These commands are sent through the "/mavros/setpoint_raw/attitude" topic.

I have implemented a two-dimensional guidance algorithm accordingly and tested its output by sending it to the SITL simulation via the aforementioned tools. However, based on the simulation results in Gazebo, the fixed-wing UAV exhibits unusual behavior, particularly with constant oscillations around the roll axis.

I would greatly appreciate your guidance in addressing the following questions:

What coordinate systems are used in SITL/Gazebo simulation and the ROS package for sending and receiving commands and messages?
In which coordinate system should the output of my guidance algorithm, which provides roll, pitch, and thrust references for the inner loop, be computed? Additionally, is the topic I am using suitable for sending these commands?
Thank you in advance for your time and assistance. I look forward to your valuable insights.
Warm regards.

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

1 participant