-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add HITL support for Fixed-wing, VTOL and Rover #9
Conversation
haitomatic
commented
Aug 28, 2024
•
edited
Loading
edited
- Add HITL support for FW (tested with Skywalker_x8 model)
- Add HITL support for VTOL (tested with standard_vtol and striver_mini models)
- Add HITL support for Rover (tested with scout_mini model)
- Add support for Actuator Test
src/gazebo_mavlink_interface.cpp
Outdated
if (armed) { | ||
input_reference_[i] = actuator_controls[input_index_[i]] * input_scaling_(i); | ||
if (i == motor_input_reference_.size() - 1) { | ||
// Set pusher motor velocity scaling if airframe is either fw or vtol. This assumes the pusher motor is the last motor! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this mean that there can be now only one pusher rotor in the fixed wing drone?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
scaling values could be read from the sdf elements, so no need to do any assumptions, see comment below
dfb92b4
to
4e34b92
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks Good.
4e34b92
to
7c4bdeb
Compare