Exemplo n.º 1
0
def test_current_force_status_report_no_throttle():
    w = ReactionWheel(axis=YAW, max_force=15)
    w.throttle = 0.1
    assert w.status_report["current_force"] == w.current_force, \
        "Wheel current_force is innacurately reported"
Exemplo n.º 2
0
def test_low_throttle_status_report():
    w = ReactionWheel(axis=YAW, max_force=15)
    w.throttle = 0.1
    assert w.status_report["throttle"] == w.throttle, \
        "Wheel throttle is innacurately reported"
Exemplo n.º 3
0
def test_current_acceleration_status_report_low_throttle():
    w = ReactionWheel(axis=YAW, max_force=15)
    w.throttle = 0.2
    assert w.status_report["current_acceleration"] == w.current_acceleration, \
        "Wheel current_acceleration is innacurately reported"
Exemplo n.º 4
0
def test_power_consumption_low_throttle_status_report():
    w = ReactionWheel(axis=YAW, max_force=15)
    w.throttle = 0.1
    assert w.status_report["power_consumption"] == w.power_consumption, \
        "Wheel power_consumption is innacurately reported"
Exemplo n.º 5
0
def test_degredation_rate_status_report_high_throttle():
    w = ReactionWheel(axis=YAW, max_force=15)
    w.throttle = 1.2
    assert w.status_report["degredation_rate"] == w.degredation_rate, \
        "Wheel degredation_rate is innacurately reported"