Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Michael-F-Bryan/adventures-in-motion-control
/ functions
Functions
153 in github.com/Michael-F-Bryan/adventures-in-motion-control
⨍
Functions
153
◇
Types & classes
71
↓ 12 callers
Method
translate
(&mut self, command: &GCode, mut cb: C)
motion/src/movements/translator.rs:19
↓ 11 callers
Function
parse
(src: &str)
motion/src/movements/translator.rs:312
↓ 6 callers
Method
poll
(&mut self, inputs: &In, outputs: &mut Out)
fps-counter/src/lib.rs:76
↓ 4 callers
Method
poll
( &mut self, inputs: &L, outputs: &mut A, )
motion/src/home.rs:49
↓ 3 callers
Method
add
(&mut self, duration: Duration)
fps-counter/src/lib.rs:167
↓ 3 callers
Method
set_target_velocity
( &mut self, axis_number: usize, velocity: Velocity, )
motion/src/home.rs:168
↓ 3 callers
Method
unsupported_command
(&mut self, command: &GCode)
motion/src/movements/translator.rs:221
↓ 2 callers
Method
absolute_location
(&self, x: f32, y: f32, z: f32)
motion/src/movements/translator.rs:151
↓ 2 callers
Function
assert_is_automation_sequence
(_: &A)
hal/src/automation.rs:248
↓ 2 callers
Method
calculate_end
(&self, command: &GCode)
motion/src/movements/translator.rs:144
↓ 2 callers
Method
calculate_feed_rate
(&self, command: &GCode)
motion/src/movements/translator.rs:130
↓ 2 callers
Method
clone
(&self)
hal/src/automation.rs:178
↓ 2 callers
Method
elapsed
(&self)
fps-counter/src/lib.rs:95
↓ 2 callers
Method
invalid_argument
( &mut self, command: &GCode, arg: char, reason: &'static str, )
motion/src/movements/translator.rs:225
↓ 2 callers
Method
poll
(&mut self, browser: &Browser)
sim/src/app.rs:31
↓ 2 callers
Method
pushMessage
(direction: Direction, value: any)
frontend/src/CommsBus.ts:78
↓ 2 callers
Method
reject
(err: any)
frontend/src/CommsBus.ts:9
↓ 1 callers
Method
at_end_state
(&self)
hal/src/automation.rs:32
↓ 1 callers
Method
average_tick_duration
(&self)
fps-counter/src/lib.rs:55
↓ 1 callers
Method
begin_tick
A method which should be called at the beginning of every tick.
sim/src/inputs.rs:17
↓ 1 callers
Method
calculate_fps
(&self)
fps-counter/src/lib.rs:32
↓ 1 callers
Method
circular_interpolate
( &mut self, start: Point, centre: Point, end: Point, direction: Direc
motion/src/movements/translator.rs:247
↓ 1 callers
Method
clock
(&self)
fps-counter/src/lib.rs:174
↓ 1 callers
Method
clone
(&self)
motion/src/planning/mod.rs:35
↓ 1 callers
Function
decode_rest_as_str
(from: &[u8])
motion/src/gcode_program.rs:80
↓ 1 callers
Method
dwell
(&mut self, period: Duration)
motion/src/movements/translator.rs:245
↓ 1 callers
Method
elapsed
(&self)
sim/src/clock.rs:10
↓ 1 callers
Method
emit_fps
(&mut self, fps: Fps)
fps-counter/src/lib.rs:146
↓ 1 callers
Method
end_of_program
(&mut self)
motion/src/movements/translator.rs:234
↓ 1 callers
Method
end_tick
A method which should be called at the end of every tick.
sim/src/inputs.rs:20
↓ 1 callers
Method
first
(&self)
fps-counter/src/lib.rs:140
↓ 1 callers
Method
frequency
(&self)
fps-counter/src/lib.rs:39
↓ 1 callers
Method
get_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 callers
Method
handle
(&mut self, _: StartHomingSequence)
motion/src/motion.rs:69
↓ 1 callers
Method
handlePacket
(pkt: Packet)
frontend/src/CommsBus.ts:53
↓ 1 callers
Method
handle_circular_interpolate
( &mut self, command: &GCode, mut cb: C, )
motion/src/movements/translator.rs:90
↓ 1 callers
Method
handle_comms
(&mut self, browser: &mut B)
sim/src/app.rs:41
↓ 1 callers
Method
handle_dwell
(&mut self, command: &GCode, mut cb: C)
motion/src/movements/translator.rs:68
↓ 1 callers
Method
handle_general
(&mut self, command: &GCode, mut cb: C)
motion/src/movements/translator.rs:54
↓ 1 callers
Method
handle_linear_interpolate
( &mut self, command: &GCode, mut cb: C, )
motion/src/movements/translator.rs:77
↓ 1 callers
Method
handle_message
(&mut self, msg: &Packet)
comms/src/lib.rs:123
↓ 1 callers
Method
handle_miscellaneous
( &mut self, command: &GCode, mut cb: C, )
motion/src/movements/translator.rs:43
↓ 1 callers
Method
homing_sequence
(&self)
motion/src/motion.rs:50
↓ 1 callers
Method
limit_switches
( &self, axis_number: usize, )
motion/src/home.rs:156
↓ 1 callers
Method
linear_interpolate
( &mut self, start: Point, end: Point, feed_rate: Velocity, )
motion/src/movements/translator.rs:236
↓ 1 callers
Method
onRequestSent
(req: Request)
frontend/src/CommsBus.ts:70
↓ 1 callers
Method
onResponseReceived
(resp: Response)
frontend/src/CommsBus.ts:74
↓ 1 callers
Method
on_crc_error
(&mut self)
comms/src/lib.rs:127
↓ 1 callers
Method
on_data_received
Send data from the frontend to the simulator.
sim/src/app.rs:54
↓ 1 callers
Function
parse
(pkt: Packet)
frontend/src/CommsBus.ts:87
↓ 1 callers
Method
poll
( &mut self, inputs: &I, outputs: &mut O, )
hal/src/automation.rs:128
↓ 1 callers
Function
poll_variant
( variant: &mut Option<A>, inputs: &I, outputs: &mut O, )
hal/src/automation.rs:209
↓ 1 callers
Method
receive
(&self)
sim/src/inputs.rs:38
↓ 1 callers
Method
resolve
(response: Response)
frontend/src/CommsBus.ts:8
↓ 1 callers
Method
round
Round `x`, `y`, and `z` to the nearest integer when converted to `N` units.
motion/src/movements/point.rs:48
↓ 1 callers
Function
secs
(duration: Duration)
fps-counter/src/lib.rs:69
↓ 1 callers
Method
send
(&mut self, packet: &Packet)
comms/src/lib.rs:90
↓ 1 callers
Method
tick_started
(&self)
fps-counter/src/lib.rs:178
↓ 1 callers
Function
toPacket
(request: Request)
frontend/src/CommsBus.ts:98
↓ 1 callers
Function
wrap_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
Function
actuating_the_lower_limit_completes_the_sequence
()
motion/src/home.rs:217
Function
actuating_the_upper_limit_is_a_fault
()
motion/src/home.rs:197
Method
add
(self, other: Point)
motion/src/movements/point.rs:63
Function
areMessages
(thing?: any)
frontend/src/Message.ts:16
Method
axis_not_found
(axis_number: usize)
motion/src/home.rs:86
Function
calculate_fps_by_averaging_ticks
()
fps-counter/src/lib.rs:247
Function
calculate_last_tick_duration
()
fps-counter/src/lib.rs:232
Method
circular_interpolate
( &mut self, _start: Point, _centre: Point, _end: Point, _direction: D
motion/src/movements/translator.rs:208
Method
clock
(&self)
hal/src/clock.rs:16
Method
clock
(&self)
sim/src/inputs.rs:30
Method
constructor
(init?: Partial<MotionParameters>)
frontend/src/MotionParameters.ts:4
Method
constructor
()
frontend/src/CommsBus.ts:18
Method
constructor
* 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
Method
constructor
(firstLine: number, text: Uint8Array)
frontend/src/messaging.ts:38
Method
converted_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
Function
decode_gcode_program_message
()
motion/src/gcode_program.rs:96
Method
default
()
hal/src/automation.rs:159
Method
default
()
motion/src/motion.rs:38
Method
default
()
motion/src/movements/translator.rs:171
Method
default
()
motion/src/planning/mod.rs:23
Function
dispatch
Parse a message using [`scroll`] and send it to some [`Handler`], turning the response back into an ANPP [`Packet`].
sim/src/router.rs:45
Function
dwell
()
motion/src/movements/translator.rs:429
Method
dwell
(&mut self, _period: Duration)
motion/src/movements/translator.rs:217
Function
dwell_period_is_required
()
motion/src/movements/translator.rs:441
Method
echo
Sends the backend a message (via [`App::on_data_received()`]) to echo back a string of text.
sim/src/app.rs:60
Method
elapsed
(&self)
hal/src/clock.rs:24
Method
emit_fps
(&mut self, fps: Fps)
sim/src/browser.rs:23
Function
encode_gcode_program
(first_line: u32, text: &str)
sim/src/utils.rs:7
Method
end_of_program
(&mut self)
motion/src/movements/translator.rs:200
Method
eq
(&self, other: &Self)
hal/src/automation.rs:202
Method
eq
(&self, other: &Self)
motion/src/planning/mod.rs:61
Method
first_line
The (zero-based) line number this chunk starts on. Primarily used for error messages and progress reporting.
motion/src/gcode_program.rs:36
Function
first_reading_has_no_frequency
()
fps-counter/src/lib.rs:213
Method
fmt
(&self, f: &mut Formatter<'_>)
hal/src/automation.rs:190
Method
fmt
(&self, f: &mut Formatter<'_>)
motion/src/planning/mod.rs:47
Method
from
(_: Ack)
hal/src/messaging.rs:36
Method
handle
(&mut self, _msg: Clear)
fps-counter/src/lib.rs:124
Method
handle_message
(&mut self, msg: &Packet)
sim/src/router.rs:16
Method
invalid_argument
( &mut self, _command: &GCode, _arg: char, _reason: &'static str, )
motion/src/movements/translator.rs:192
Function
isMessage
(thing?: any)
frontend/src/Message.ts:12
next →
1–100 of 153, ranked by callers