diff --git a/CHANGELOG.md b/CHANGELOG.md index 3a6c0c76..362a53cf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ Please add a note of your changes below this heading if you make a Pull Request. ### Added * [Mechanical brake support](docs/mechanical-brakes.md) +* Added periodic sending of encoder position on CAN ### Changed @@ -16,6 +17,9 @@ Please add a note of your changes below this heading if you make a Pull Request. * `enable_i2c_instead_of_can` was replaced by the separate settings `enable_i2c0` and `enable_can0`. * `.motor.gate_driver` was moved to `.gate_driver`. * `.min_endstop.pullup` and `.max_endstop.pullup` were removed. Use `.config.gpioX_mode = GPIO_MODE_DIGITAL / GPIO_MODE_DIGITAL_PULL_UP / GPIO_MODE_DIGITAL_PULL_DOWN` instead. +* `.config.can_node_id` was moved to `.config.can.node_id` +* `.config.can_node_id_extended` was moved to `.config.can.is_extended` +* `.config.can_heartbeat_rate_ms` was moved to `.config.can.heartbeat_rate_ms` # Release Candidate ## [0.5.1] - Date TBD diff --git a/Firmware/odrive-interface.yaml b/Firmware/odrive-interface.yaml index 89798dbd..22f3cb0c 100644 --- a/Firmware/odrive-interface.yaml +++ b/Firmware/odrive-interface.yaml @@ -417,7 +417,7 @@ interfaces: vel: float32 sensorless_ramp: LockinConfig general_lockin: LockinConfig - can: CANConfig + can: CanConfig gate_driver: c_name: gate_driver_exported_ c_is_class: False @@ -482,7 +482,7 @@ interfaces: finish_on_distance: bool finish_on_enc_idx: bool - ODrive.Axis.CANConfig: + ODrive.Axis.CanConfig: c_is_class: False attributes: node_id: uint32