Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 20 additions & 2 deletions src/_Config/Info.zig
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,8 @@ pub const Axis = struct {
base_position: Type = "f32",
__base_position: Meta = .{
.description = "Base position of Axis. Measured by calibration.",
.unit_short = "pitch",
.unit_long = "Magnet pitch",
},
sensor: struct {
position: struct {
Expand All @@ -323,13 +325,17 @@ pub const Axis = struct {
\\Position where right sensor turns on in forward
\\direction. Measured by calibration.
,
.unit_short = "pitch",
.unit_long = "Magnet pitch",
},
backward: Type = "f32",
__backward: Meta = .{
.description =
\\Position where left sensor turns on in backward
\\direction. Measured by calibration.
,
.unit_short = "pitch",
.unit_long = "Magnet pitch",
},
} = .{},
off: struct {
Expand All @@ -339,13 +345,17 @@ pub const Axis = struct {
\\Position where left sensor turns off in forward
\\direction. Measured by calibration.
,
.unit_short = "pitch",
.unit_long = "Magnet pitch",
},
backward: Type = "f32",
__backward: Meta = .{
.description =
\\Position where right sensor turns off in backward
\\direction. Measured by calibration.
,
.unit_short = "pitch",
.unit_long = "Magnet pitch",
},
} = .{},
} = .{},
Expand Down Expand Up @@ -546,9 +556,17 @@ pub const State = struct {
},
bias: struct {
a: Type = "f32",
__a: Meta = .{ .description = "A-phase current offset." },
__a: Meta = .{
.description = "A-phase current offset.",
.unit_short = "A",
.unit_long = "Ampere",
},
b: Type = "f32",
__b: Meta = .{ .description = "B-phase current offset." },
__b: Meta = .{
.description = "B-phase current offset.",
.unit_short = "A",
.unit_long = "Ampere",
},
} = .{},
};
};
Loading