Skip to content

RSDK-14475: pin orientation vector longitude at both poles, not just the north - #188

Open
Vignesh P (vpandiarajan20) wants to merge 5 commits into
mainfrom
fix-ov-south-pole-longitude
Open

RSDK-14475: pin orientation vector longitude at both poles, not just the north#188
Vignesh P (vpandiarajan20) wants to merge 5 commits into
mainfrom
fix-ov-south-pole-longitude

empty commit to retrigger CI

df02180
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
GitHub Actions / clippy succeeded Aug 31, 2026 in 2s

clippy

132 warnings

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 132
Note 0
Help 0

Versions

  • rustc 1.98.0 (88d9e12ae 2026-08-18)
  • cargo 1.98.0 (797e8a9bc 2026-08-05)
  • clippy 0.1.98 (88d9e12ae1 2026-08-18)

Annotations

Check warning on line 391 in src/dialdbg/main.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

redundant pattern matching

warning: redundant pattern matching
   --> src/dialdbg/main.rs:391:16
    |
391 |         if let Ok(_) = log_path.try_exists() {
    |                ^^^^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.98.0/index.html#redundant_pattern_matching
help: consider using `is_ok()`
    |
391 -         if let Ok(_) = log_path.try_exists() {
391 +         if log_path.try_exists().is_ok() {
    |

Check warning on line 318 in src/dialdbg/main.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

redundant pattern matching

warning: redundant pattern matching
   --> src/dialdbg/main.rs:318:16
    |
318 |         if let Ok(_) = log_path.try_exists() {
    |                ^^^^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.98.0/index.html#redundant_pattern_matching
    = note: `#[warn(clippy::redundant_pattern_matching)]` on by default
help: consider using `is_ok()`
    |
318 -         if let Ok(_) = log_path.try_exists() {
318 +         if log_path.try_exists().is_ok() {
    |

Check warning on line 212 in src/dialdbg/main.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

length comparison to zero

warning: length comparison to zero
   --> src/dialdbg/main.rs:212:8
    |
212 |     if responses.len() == 0 {
    |        ^^^^^^^^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `responses.is_empty()`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.98.0/index.html#len_zero

Check warning on line 146 in src/dialdbg/main.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this function has too many arguments (9/7)

warning: this function has too many arguments (9/7)
   --> src/dialdbg/main.rs:136:1
    |
136 | / async fn dial_webrtc(
137 | |     uri: &str,
138 | |     credential: &str,
139 | |     credential_type: &str,
...   |
145 | |     disable_mdns: bool,
146 | | ) -> Option<ViamChannel> {
    | |________________________^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.98.0/index.html#too_many_arguments
    = note: `#[warn(clippy::too_many_arguments)]` on by default

Check warning on line 49 in src/dialdbg/stats.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

you seem to want to iterate on a map's values

warning: you seem to want to iterate on a map's values
  --> src/dialdbg/stats.rs:49:27
   |
49 |         for (_, value) in &self.0.reports {
   |                           ^^^^^^^^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.98.0/index.html#for_kv_map
   = note: `#[warn(clippy::for_kv_map)]` on by default
help: use the corresponding method
   |
49 -         for (_, value) in &self.0.reports {
49 +         for value in self.0.reports.values() {
   |

Check warning on line 159 in src/dialdbg/parse.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

length comparison to zero

warning: length comparison to zero
   --> src/dialdbg/parse.rs:159:8
    |
159 |     if split_log.len() == 0 {
    |        ^^^^^^^^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `split_log.is_empty()`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.98.0/index.html#len_zero
    = note: `#[warn(clippy::len_zero)]` on by default

Check warning on line 10 in src/dialdbg/parse.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

constants have by default a `'static` lifetime

warning: constants have by default a `'static` lifetime
  --> src/dialdbg/parse.rs:10:38
   |
10 | pub(crate) const DIAL_ERROR_PREFIX: &'static str = "unexpected dial connect error";
   |                                     -^^^^^^^---- help: consider removing `'static`: `&str`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.98.0/index.html#redundant_static_lifetimes
   = note: `#[warn(clippy::redundant_static_lifetimes)]` on by default

Check warning on line 225 in src/spatialmath/utils.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this multiplication by -1 can be written more succinctly

warning: this multiplication by -1 can be written more succinctly
   --> src/spatialmath/utils.rs:225:43
    |
225 |                 _ => -1.0 * new_x.j.atan2(new_x.i * -1.0),
    |                                           ^^^^^^^^^^^^^^ help: consider using: `-new_x.i`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.98.0/index.html#neg_multiply

Check warning on line 225 in src/spatialmath/utils.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this multiplication by -1 can be written more succinctly

warning: this multiplication by -1 can be written more succinctly
   --> src/spatialmath/utils.rs:225:22
    |
225 |                 _ => -1.0 * new_x.j.atan2(new_x.i * -1.0),
    |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `-new_x.j.atan2(new_x.i * -1.0)`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.98.0/index.html#neg_multiply

Check warning on line 224 in src/spatialmath/utils.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this multiplication by -1 can be written more succinctly

warning: this multiplication by -1 can be written more succinctly
   --> src/spatialmath/utils.rs:224:37
    |
224 |                 val if val < 0.0 => -1.0 * new_x.j.atan2(new_x.i),
    |                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `-new_x.j.atan2(new_x.i)`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.98.0/index.html#neg_multiply

Check warning on line 215 in src/spatialmath/utils.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this multiplication by -1 can be written more succinctly

warning: this multiplication by -1 can be written more succinctly
   --> src/spatialmath/utils.rs:215:33
    |
215 | ...                   -1.0 * val
    |                       ^^^^^^^^^^ help: consider using: `-val`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.98.0/index.html#neg_multiply

Check warning on line 204 in src/spatialmath/utils.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this multiplication by -1 can be written more succinctly

warning: this multiplication by -1 can be written more succinctly
   --> src/spatialmath/utils.rs:204:79
    |
204 | ...                   UnitQuaternion::from_axis_angle(&new_z_imag_unit, -1.0 * val);
    |                                                                         ^^^^^^^^^^ help: consider using: `-val`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.98.0/index.html#neg_multiply
    = note: `#[warn(clippy::neg_multiply)]` on by default

Check warning on line 1145 in src/rpc/dial.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

redundant reference in `writeln!` argument

warning: redundant reference in `writeln!` argument
    --> src/rpc/dial.rs:1145:13
     |
1145 |             &self.max_duration.as_millis()
     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the redundant `&`: `self.max_duration.as_millis()`
     |
     = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.98.0/index.html#useless_borrows_in_formatting

Check warning on line 1143 in src/rpc/dial.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

redundant reference in `writeln!` argument

warning: redundant reference in `writeln!` argument
    --> src/rpc/dial.rs:1143:13
     |
1143 |             &self.count,
     |             ^^^^^^^^^^^ help: remove the redundant `&`: `self.count`
     |
     = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.98.0/index.html#useless_borrows_in_formatting

Check warning on line 1139 in src/rpc/dial.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

needlessly taken reference of both operands

warning: needlessly taken reference of both operands
    --> src/rpc/dial.rs:1139:32
     |
1139 |         let average_duration = &self.total_duration.as_millis() / &self.count;
     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.98.0/index.html#op_ref
     = note: `#[warn(clippy::op_ref)]` on by default
help: use the values directly
     |
1139 -         let average_duration = &self.total_duration.as_millis() / &self.count;
1139 +         let average_duration = self.total_duration.as_millis() / self.count;
     |

Check warning on line 293 in src/rpc/dial.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

redundant reference in `format_args!` argument

warning: redundant reference in `format_args!` argument
   --> src/rpc/dial.rs:293:49
    |
293 |             .field("State", &format_args!("{}", &std::any::type_name::<T>()))
    |                                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the redundant `&`: `std::any::type_name::<T>()`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.98.0/index.html#useless_borrows_in_formatting

Check warning on line 114 in src/rpc/client_stream.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

passing a unit value to a function

warning: passing a unit value to a function
   --> src/rpc/client_stream.rs:114:47
    |
114 |             Some(Type::Trailers(trailers)) => Ok(self.process_trailers(trailers.to_owned()).await),
    |                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.98.0/index.html#unit_arg
    = note: `#[warn(clippy::unit_arg)]` on by default
help: move the expression in front of the call and replace it with the unit literal `()`
    |
114 ~             Some(Type::Trailers(trailers)) => {
115 +                 let _: () = self.process_trailers(trailers.to_owned()).await;
116 +                 Ok(())
117 ~             },
    |

Check warning on line 27 in src/rpc/client_stream.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

called `unwrap` on `data` after checking its variant with `is_some`

warning: called `unwrap` on `data` after checking its variant with `is_some`
  --> src/rpc/client_stream.rs:27:40
   |
26 |                     if data.is_some() {
   |                     ----------------- help: try: `if let Some(<item>) = data`
27 |                         let mut data = data.unwrap();
   |                                        ^^^^^^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.98.0/index.html#unnecessary_unwrap
   = note: `#[warn(clippy::unnecessary_unwrap)]` on by default

Check warning on line 146 in src/rpc/client_channel.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

redundant reference in `anyhow!` argument

warning: redundant reference in `anyhow!` argument
   --> src/rpc/client_channel.rs:146:25
    |
146 |                         &stream.id,
    |                         ^^^^^^^^^^ help: remove the redundant `&`: `stream.id`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.98.0/index.html#useless_borrows_in_formatting

Check warning on line 49 in src/rpc/client_channel.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

redundant reference in `debug!` argument

warning: redundant reference in `debug!` argument
  --> src/rpc/client_channel.rs:49:53
   |
49 |         log::debug!("Dropping client channel {:?}", &self);
   |                                                     ^^^^^ help: remove the redundant `&`: `self`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.98.0/index.html#useless_borrows_in_formatting
   = note: `#[warn(clippy::useless_borrows_in_formatting)]` on by default

Check warning on line 1932 in src/gen/google.api.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

doc list item overindented

warning: doc list item overindented
    --> src/gen/google.api.rs:1932:9
     |
1932 |     ///    if it matches the full pattern specified:
     |         ^^^ help: try using `  ` (2 spaces)
     |
     = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.98.0/index.html#doc_overindented_list_items

Check warning on line 1930 in src/gen/google.api.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

doc list item overindented

warning: doc list item overindented
    --> src/gen/google.api.rs:1930:9
     |
1930 |     ///    to the x-goog-request-params routing header.
     |         ^^^ help: try using `  ` (2 spaces)
     |
     = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.98.0/index.html#doc_overindented_list_items

Check warning on line 1929 in src/gen/google.api.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

doc list item overindented

warning: doc list item overindented
    --> src/gen/google.api.rs:1929:9
     |
1929 |     ///    and the value matching `instances/*` should be added
     |         ^^^ help: try using `  ` (2 spaces)
     |
     = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.98.0/index.html#doc_overindented_list_items

Check warning on line 1906 in src/gen/google.api.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

doc list item without indentation

warning: doc list item without indentation
    --> src/gen/google.api.rs:1906:9
     |
1906 |     /// if the match is NOT successful, nothing will be sent.
     |         ^
     |
     = help: if this is supposed to be its own paragraph, add a blank line
     = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.98.0/index.html#doc_lazy_continuation
help: indent this line
     |
1906 |     ///   if the match is NOT successful, nothing will be sent.
     |         ++

Check warning on line 195 in src/gen/google.api.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

doc list item without indentation

warning: doc list item without indentation
   --> src/gen/google.api.rs:195:5
    |
195 | ///   request body, all
    |     ^^
    |
    = help: if this is supposed to be its own paragraph, add a blank line
    = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.98.0/index.html#doc_lazy_continuation
help: indent this line
    |
195 | ///      request body, all
    |       +++