pub struct PathRun {
pub file: String,
pub program: String,
pub time_optimal: bool,
pub orientation_speed: f64,
}Expand description
A path in place of the cycle ([path] of a config, see with_path): the text of a path file or a program
(program::read), the file name that says which reader takes it, and whether it is timed as fast as the motors allow.
Fields§
§file: String§program: String§time_optimal: bool§orientation_speed: f64program.orientation_speed_rad_s: how fast a robot program turns the tool (rad/s), 500 degrees per second where
the config has no key (program::ORIENTATION_SPEED).
Trait Implementations§
impl StructuralPartialEq for PathRun
Auto Trait Implementations§
impl Freeze for PathRun
impl RefUnwindSafe for PathRun
impl Send for PathRun
impl Sync for PathRun
impl Unpin for PathRun
impl UnsafeUnpin for PathRun
impl UnwindSafe for PathRun
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more