pub enum RobotCommand {
Show 13 variants SendJoints { name: String, duration: f64, use_interpolation: bool, joint: Vec<(usize, f64)>, max_resolution_for_interpolation: f64, min_number_of_points_for_interpolation: i32, }, SendJointsPose { name: String, pose_name: String, duration: f64, }, MoveIk { name: String, x: Option<f64>, y: Option<f64>, z: Option<f64>, yaw: Option<f64>, pitch: Option<f64>, roll: Option<f64>, duration: f64, use_interpolation: bool, is_local: bool, max_resolution_for_interpolation: f64, min_number_of_points_for_interpolation: i32, }, GetState { name: String, }, LoadCommands { command_file_path: PathBuf, }, List, Speak { name: String, message: Vec<String>, }, ExecuteCommand { command: Vec<String>, }, GetNavigationCurrentPose, SendNavigationGoal { x: f64, y: f64, yaw: f64, frame_id: String, timeout_secs: f64, }, CancelNavigationGoal, SendBaseVelocity { x: f64, y: f64, theta: f64, duration_secs: f64, }, ShellCompletion(ShellType),
}

Variants§

§

SendJoints

Fields

§name: String
§duration: f64
§use_interpolation: bool

Interpolate target in cartesian space. If you use this flag, joint values are not used as references but used in forward kinematics.

§joint: Vec<(usize, f64)>

Specify joint parameters. Like --joint 0=1.2. In accordance with the sequence in which the “joint names” are defined in the configuration, they are numbered starting at 0.

§max_resolution_for_interpolation: f64
§min_number_of_points_for_interpolation: i32

Send joint positions.

§

SendJointsPose

Fields

§name: String
§pose_name: String
§duration: f64

Send predefined joint positions.

§

MoveIk

Fields

§name: String
§yaw: Option<f64>
§pitch: Option<f64>
§roll: Option<f64>
§duration: f64
§use_interpolation: bool

Interpolate target in cartesian space.

§is_local: bool
§max_resolution_for_interpolation: f64
§min_number_of_points_for_interpolation: i32

Move with ik

§

GetState

Fields

§name: String

Get joint positions and end pose if applicable.

§

LoadCommands

Fields

§command_file_path: PathBuf

Load commands from file and execute them.

§

List

List available clients.

§

Speak

Fields

§name: String
§message: Vec<String>

Speak text message.

§

ExecuteCommand

Fields

§command: Vec<String>

Execute an external command.

§

GetNavigationCurrentPose

Get navigation current pose.

§

SendNavigationGoal

Fields

§x: f64
§y: f64
§yaw: f64
§frame_id: String
§timeout_secs: f64

Send navigation goal pose.

§

CancelNavigationGoal

Cancel navigation goal.

§

SendBaseVelocity

Fields

§x: f64
§y: f64
§theta: f64
§duration_secs: f64

Send base velocity.

§

ShellCompletion(ShellType)

Shell completion

Trait Implementations§

Build a Command that can instantiate Self. Read more
Build a Command that can update self. Read more
Formats the value using the given formatter. Read more
Instantiate Self from ArgMatches, parsing the arguments as needed. Read more
Instantiate Self from ArgMatches, parsing the arguments as needed. Read more
Assign values from ArgMatches to self.
Assign values from ArgMatches to self.
Parse from std::env::args_os(), exit on error
Parse from std::env::args_os(), return Err on error.
Parse from iterator, exit on error
Parse from iterator, return Err on error.
Update from iterator, exit on error
Update from iterator, return Err on error.
Append to Command so it can instantiate Self. Read more
Append to Command so it can update self. Read more
Test whether Self can parse a specific subcommand

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can then be further downcast into Box<ConcreteType> where ConcreteType implements Trait. Read more
Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be further downcast into Rc<ConcreteType> where ConcreteType implements Trait. Read more
Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &Any’s vtable from &Trait’s. Read more
Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s. Read more
Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be further downcast into Arc<ConcreteType> where ConcreteType implements Trait. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The alignment of pointer.
The type for initializers.
Initializes a with the given initializer. Read more
Dereferences the given pointer. Read more
Mutably dereferences the given pointer. Read more
Drops the object pointed to by the given pointer. Read more
Should always be Self
The inverse inclusion map: attempts to construct self from the equivalent element of its superset. Read more
Checks if self is actually part of its subset T (and can be converted to it).
Use with care! Same as self.to_subset but without any property checks. Always succeeds.
The inclusion map: converts self to the equivalent element of its superset.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more