MCPcopy Create free account

hub / github.com/Michael-F-Bryan/adventures-in-motion-control / functions

Functions153 in github.com/Michael-F-Bryan/adventures-in-motion-control

↓ 12 callersMethodtranslate
(&mut self, command: &GCode, mut cb: C)
motion/src/movements/translator.rs:19
↓ 11 callersFunctionparse
(src: &str)
motion/src/movements/translator.rs:312
↓ 6 callersMethodpoll
(&mut self, inputs: &In, outputs: &mut Out)
fps-counter/src/lib.rs:76
↓ 4 callersMethodpoll
( &mut self, inputs: &L, outputs: &mut A, )
motion/src/home.rs:49
↓ 3 callersMethodadd
(&mut self, duration: Duration)
fps-counter/src/lib.rs:167
↓ 3 callersMethodset_target_velocity
( &mut self, axis_number: usize, velocity: Velocity, )
motion/src/home.rs:168
↓ 3 callersMethodunsupported_command
(&mut self, command: &GCode)
motion/src/movements/translator.rs:221
↓ 2 callersMethodabsolute_location
(&self, x: f32, y: f32, z: f32)
motion/src/movements/translator.rs:151
↓ 2 callersFunctionassert_is_automation_sequence
(_: &A)
hal/src/automation.rs:248
↓ 2 callersMethodcalculate_end
(&self, command: &GCode)
motion/src/movements/translator.rs:144
↓ 2 callersMethodcalculate_feed_rate
(&self, command: &GCode)
motion/src/movements/translator.rs:130
↓ 2 callersMethodclone
(&self)
hal/src/automation.rs:178
↓ 2 callersMethodelapsed
(&self)
fps-counter/src/lib.rs:95
↓ 2 callersMethodinvalid_argument
( &mut self, command: &GCode, arg: char, reason: &'static str, )
motion/src/movements/translator.rs:225
↓ 2 callersMethodpoll
(&mut self, browser: &Browser)
sim/src/app.rs:31
↓ 2 callersMethodpushMessage
(direction: Direction, value: any)
frontend/src/CommsBus.ts:78
↓ 2 callersMethodreject
(err: any)
frontend/src/CommsBus.ts:9
↓ 1 callersMethodat_end_state
(&self)
hal/src/automation.rs:32
↓ 1 callersMethodaverage_tick_duration
(&self)
fps-counter/src/lib.rs:55
↓ 1 callersMethodbegin_tick
A method which should be called at the beginning of every tick.
sim/src/inputs.rs:17
↓ 1 callersMethodcalculate_fps
(&self)
fps-counter/src/lib.rs:32
↓ 1 callersMethodcircular_interpolate
( &mut self, start: Point, centre: Point, end: Point, direction: Direc
motion/src/movements/translator.rs:247
↓ 1 callersMethodclock
(&self)
fps-counter/src/lib.rs:174
↓ 1 callersMethodclone
(&self)
motion/src/planning/mod.rs:35
↓ 1 callersFunctiondecode_rest_as_str
(from: &[u8])
motion/src/gcode_program.rs:80
↓ 1 callersMethoddwell
(&mut self, period: Duration)
motion/src/movements/translator.rs:245
↓ 1 callersMethodelapsed
(&self)
sim/src/clock.rs:10
↓ 1 callersMethodemit_fps
(&mut self, fps: Fps)
fps-counter/src/lib.rs:146
↓ 1 callersMethodend_of_program
(&mut self)
motion/src/movements/translator.rs:234
↓ 1 callersMethodend_tick
A method which should be called at the end of every tick.
sim/src/inputs.rs:20
↓ 1 callersMethodfirst
(&self)
fps-counter/src/lib.rs:140
↓ 1 callersMethodfrequency
(&self)
fps-counter/src/lib.rs:39
↓ 1 callersMethodget_centre
Gets the centre of a circular interpolate move (G02, G03), bailing out if the centre coordinates aren't provided.
motion/src/movements/translator.rs:119
↓ 1 callersMethodhandle
(&mut self, _: StartHomingSequence)
motion/src/motion.rs:69
↓ 1 callersMethodhandlePacket
(pkt: Packet)
frontend/src/CommsBus.ts:53
↓ 1 callersMethodhandle_circular_interpolate
( &mut self, command: &GCode, mut cb: C, )
motion/src/movements/translator.rs:90
↓ 1 callersMethodhandle_comms
(&mut self, browser: &mut B)
sim/src/app.rs:41
↓ 1 callersMethodhandle_dwell
(&mut self, command: &GCode, mut cb: C)
motion/src/movements/translator.rs:68
↓ 1 callersMethodhandle_general
(&mut self, command: &GCode, mut cb: C)
motion/src/movements/translator.rs:54
↓ 1 callersMethodhandle_linear_interpolate
( &mut self, command: &GCode, mut cb: C, )
motion/src/movements/translator.rs:77
↓ 1 callersMethodhandle_message
(&mut self, msg: &Packet)
comms/src/lib.rs:123
↓ 1 callersMethodhandle_miscellaneous
( &mut self, command: &GCode, mut cb: C, )
motion/src/movements/translator.rs:43
↓ 1 callersMethodhoming_sequence
(&self)
motion/src/motion.rs:50
↓ 1 callersMethodlimit_switches
( &self, axis_number: usize, )
motion/src/home.rs:156
↓ 1 callersMethodlinear_interpolate
( &mut self, start: Point, end: Point, feed_rate: Velocity, )
motion/src/movements/translator.rs:236
↓ 1 callersMethodonRequestSent
(req: Request)
frontend/src/CommsBus.ts:70
↓ 1 callersMethodonResponseReceived
(resp: Response)
frontend/src/CommsBus.ts:74
↓ 1 callersMethodon_crc_error
(&mut self)
comms/src/lib.rs:127
↓ 1 callersMethodon_data_received
Send data from the frontend to the simulator.
sim/src/app.rs:54
↓ 1 callersFunctionparse
(pkt: Packet)
frontend/src/CommsBus.ts:87
↓ 1 callersMethodpoll
( &mut self, inputs: &I, outputs: &mut O, )
hal/src/automation.rs:128
↓ 1 callersFunctionpoll_variant
( variant: &mut Option<A>, inputs: &I, outputs: &mut O, )
hal/src/automation.rs:209
↓ 1 callersMethodreceive
(&self)
sim/src/inputs.rs:38
↓ 1 callersMethodresolve
(response: Response)
frontend/src/CommsBus.ts:8
↓ 1 callersMethodround
Round `x`, `y`, and `z` to the nearest integer when converted to `N` units.
motion/src/movements/point.rs:48
↓ 1 callersFunctionsecs
(duration: Duration)
fps-counter/src/lib.rs:69
↓ 1 callersMethodsend
(&mut self, packet: &Packet)
comms/src/lib.rs:90
↓ 1 callersMethodtick_started
(&self)
fps-counter/src/lib.rs:178
↓ 1 callersFunctiontoPacket
(request: Request)
frontend/src/CommsBus.ts:98
↓ 1 callersFunctionwrap_in_option
Transform a `[T; N]` into a `[Option<T>; N]`, this is essentially a poor man's `items.into_iter().map(Some).collect()` using static arrays.
hal/src/automation.rs:96
Functionactuating_the_lower_limit_completes_the_sequence
()
motion/src/home.rs:217
Functionactuating_the_upper_limit_is_a_fault
()
motion/src/home.rs:197
Methodadd
(self, other: Point)
motion/src/movements/point.rs:63
FunctionareMessages
(thing?: any)
frontend/src/Message.ts:16
Methodaxis_not_found
(axis_number: usize)
motion/src/home.rs:86
Functioncalculate_fps_by_averaging_ticks
()
fps-counter/src/lib.rs:247
Functioncalculate_last_tick_duration
()
fps-counter/src/lib.rs:232
Methodcircular_interpolate
( &mut self, _start: Point, _centre: Point, _end: Point, _direction: D
motion/src/movements/translator.rs:208
Methodclock
(&self)
hal/src/clock.rs:16
Methodclock
(&self)
sim/src/inputs.rs:30
Methodconstructor
(init?: Partial<MotionParameters>)
frontend/src/MotionParameters.ts:4
Methodconstructor
()
frontend/src/CommsBus.ts:18
Methodconstructor
* Create a new `GoHome` message. * @param speed The speed to go home at in mm/s. Must be a positive integer * below 256.
frontend/src/messaging.ts:22
Methodconstructor
(firstLine: number, text: Uint8Array)
frontend/src/messaging.ts:38
Methodconverted_to
Get the underlying values in a particular unit system. # Examples ```rust use aimc_motion::movements::Point; use uom::si::length::{inch, millimeter}
motion/src/movements/point.rs:39
Functiondecode_gcode_program_message
()
motion/src/gcode_program.rs:96
Methoddefault
()
hal/src/automation.rs:159
Methoddefault
()
motion/src/motion.rs:38
Methoddefault
()
motion/src/movements/translator.rs:171
Methoddefault
()
motion/src/planning/mod.rs:23
Functiondispatch
Parse a message using [`scroll`] and send it to some [`Handler`], turning the response back into an ANPP [`Packet`].
sim/src/router.rs:45
Functiondwell
()
motion/src/movements/translator.rs:429
Methoddwell
(&mut self, _period: Duration)
motion/src/movements/translator.rs:217
Functiondwell_period_is_required
()
motion/src/movements/translator.rs:441
Methodecho
Sends the backend a message (via [`App::on_data_received()`]) to echo back a string of text.
sim/src/app.rs:60
Methodelapsed
(&self)
hal/src/clock.rs:24
Methodemit_fps
(&mut self, fps: Fps)
sim/src/browser.rs:23
Functionencode_gcode_program
(first_line: u32, text: &str)
sim/src/utils.rs:7
Methodend_of_program
(&mut self)
motion/src/movements/translator.rs:200
Methodeq
(&self, other: &Self)
hal/src/automation.rs:202
Methodeq
(&self, other: &Self)
motion/src/planning/mod.rs:61
Methodfirst_line
The (zero-based) line number this chunk starts on. Primarily used for error messages and progress reporting.
motion/src/gcode_program.rs:36
Functionfirst_reading_has_no_frequency
()
fps-counter/src/lib.rs:213
Methodfmt
(&self, f: &mut Formatter<'_>)
hal/src/automation.rs:190
Methodfmt
(&self, f: &mut Formatter<'_>)
motion/src/planning/mod.rs:47
Methodfrom
(_: Ack)
hal/src/messaging.rs:36
Methodhandle
(&mut self, _msg: Clear)
fps-counter/src/lib.rs:124
Methodhandle_message
(&mut self, msg: &Packet)
sim/src/router.rs:16
Methodinvalid_argument
( &mut self, _command: &GCode, _arg: char, _reason: &'static str, )
motion/src/movements/translator.rs:192
FunctionisMessage
(thing?: any)
frontend/src/Message.ts:12
next →1–100 of 153, ranked by callers