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

Add HITL support for Fixed-wing, VTOL and Rover #9

Merged
merged 3 commits into from
Sep 26, 2024

Conversation

haitomatic
Copy link

@haitomatic haitomatic commented Aug 28, 2024

  • 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

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!
Copy link
Collaborator

@jnippula jnippula Sep 5, 2024

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?

Copy link
Collaborator

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

Copy link

@Ilia-Loginov Ilia-Loginov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks Good.

src/gazebo_mavlink_interface.cpp Outdated Show resolved Hide resolved
src/gazebo_mavlink_interface.cpp Outdated Show resolved Hide resolved
@haitomatic haitomatic force-pushed the DP-9681_HITL-vtol-fw-rover-support branch from 4e34b92 to 7c4bdeb Compare September 26, 2024 07:06
@haitomatic haitomatic merged commit 06b5c16 into master Sep 26, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

3 participants