Skip to content

[BUG]: mavros does not publish any battery state information when using SITL #21

@evan-palmer

Description

@evan-palmer

Issue Description

When using SITL, mavros does not publish any battery state information. I anticipate that the SITL interface simply does not support publishing this information. This is an issue because the thruster dynamics currently rely upon this battery state information.

Steps to Reproduce

Launch the SITL interface using gazebo

ros2 launch blue_bringup bluerov2.launch.py use_sim:=true

Echo the /mavros/battery topic

ros2 topic echo /mavros/battery

Expected Behavior

Either one of two things must happen:

  1. The battery state topic is published to with a simulated battery state
  2. The thruster dynamics do not rely upon the battery state

Error Message

N/A

Runtime Environment

This occurs when running the SITL environment in the dev container.

Additional Context

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinghigh priorityThis is a high priority issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions