Skip to content

Commit f672747

Browse files
committed
pybricks.robotics.DriveBase.arc: Angle before distance.
Matches the docs and existing curve() implementation. This method was not released yet, so this is not a breaking change.
1 parent 233dcc5 commit f672747

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44

55
## [Unreleased]
66

7+
### Changed
8+
- Changed order of the `DriveBase.arc` method. This method has not yet been
9+
released or documented, so this is not a breaking change ([support#1157]).
10+
711
## [3.6.0b4] - 2025-02-14
812

913
### Fixed

pybricks/robotics/pb_type_drivebase.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,8 @@ static mp_obj_t pb_type_DriveBase_arc(size_t n_args, const mp_obj_t *pos_args, m
189189
PB_PARSE_ARGS_METHOD(n_args, pos_args, kw_args,
190190
pb_type_DriveBase_obj_t, self,
191191
PB_ARG_REQUIRED(radius),
192-
PB_ARG_DEFAULT_NONE(distance),
193192
PB_ARG_DEFAULT_NONE(angle),
193+
PB_ARG_DEFAULT_NONE(distance),
194194
PB_ARG_DEFAULT_OBJ(then, pb_Stop_HOLD_obj),
195195
PB_ARG_DEFAULT_TRUE(wait));
196196

0 commit comments

Comments
 (0)