Skip to content

Example scenario reaction wheel wrong unit #1395

@Tanki777

Description

@Tanki777

Describe the bug
In some of the examples, I found that when creating reaction wheels the wrong unit is used.
For example, in scenarioAttitudeConstrainedManeuver.py:
line210: maxSpeed = 6000 * macros.RPM
but rwFactory.create() expects it in RPM, not in rad/s.

To reproduce
Steps to reproduce the behavior:

  1. See basilisk/examples/

Expected behavior
Unit should be RPM, so remove macro which converts it to rad/s

Screenshots

Desktop (please complete the following information):

  • OS: [Windows]
  • Version [e.g. 12.6.1]
  • Python version [e.g. 3.9.15]

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions