Skip to content

Commit

Permalink
[CLI] Edit the name of the cli argument encoder_high to encoder_period
Browse files Browse the repository at this point in the history
  • Loading branch information
MrVyM committed Nov 28, 2023
1 parent df38d0d commit e8cfeee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ WHEEL_GAPS=42
LIDAR_RESOLUTION=42
ENCODER_FREQUENCY=42
USB_DESCRIPTOR=/dev/42
ENCODER_HIGH_VALUE=42
ENCODER_PERIOD=42
PID_LINEAR="1 2 3 4 5 6"
4 changes: 2 additions & 2 deletions src/cli/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ pub struct Args {
#[arg(long, env)]
pub usb_descriptor: String,

/// The highest value of the encoder
/// The period of the encoder
#[arg(long, env)]
pub encoder_high_value: u16,
pub encoder_period: u16,

/// The resolution of the lidar
#[arg(long, env)]
Expand Down

0 comments on commit e8cfeee

Please sign in to comment.