We use wpilib-ws.yaml to auto-generate code designed to work with halsim_ws and are adding support for CAN devices. This PR:
Updates wpilib-ws.yaml to reflect the specific SimDevice type messages described in the CAN messages section (and hardware/DutyCycle section) of the api doc.
Adds and documents "<neutralDeadband" and "<brakeMode" as 2 new data properties for CANMotor messages. These are needed so that a simulated CANMotor can respond appropriately (including setting ">motorCurrent" and/or ">supplyCurrent") when "<percentOutput" is set.
We use
wpilib-ws.yaml
to auto-generate code designed to work with halsim_ws and are adding support for CAN devices. This PR:wpilib-ws.yaml
to reflect the specificSimDevice
type messages described in the CAN messages section (and hardware/DutyCycle section) of the api doc."<neutralDeadband"
and"<brakeMode"
as 2 new data properties for CANMotor messages. These are needed so that a simulated CANMotor can respond appropriately (including setting">motorCurrent"
and/or">supplyCurrent"
) when"<percentOutput"
is set.