FIRST-Tech-Challenge / FIRST-Tech-Challenge/FtcRobotController

setZeroPowerBehavior fails after expansion hub disconnect

Open
#97 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.3k
Forks
9.9k
Avg merge
18m
Merged PRs (30d)
1

Description

Problem: motor on expansion hub will revert to zeroPowerBehavior.BRAKE after losing connection with the control hub then reconnecting. Setting it to zeroPowerBehavior.FLOAT after the disconnect doesn't change this, but also doesn't throw an error.

RC: (Control Hub) OS v. 1.1.2, Android v. 7.1.2, Expansion Hub v. 1.8.2, RC v. 6.1 with an extra expansion hub connected through the RS485 port
DS: moto e5 play android v. 8.0 running DS v. 6.1

the [log](https://github.com/FIRST-Tech-Challenge/FtcRobotController/files/5937347/robotControllerLog.3.txt) is here, with logging low-level events set to true

code can be found [here](https://github.com/danielbrownmsm/FTC-3638-2021) (the AtomicTeleOp, when running the shooter motor in the ShooterSubsystem)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.