grblHAL core  20241107
planner.c File Reference
#include <math.h>
#include <stdlib.h>
#include <string.h>
#include "hal.h"
#include "nuts_bolts.h"
#include "planner.h"
#include "protocol.h"

Macros

#define ROTARY_FIX   0
 

Functions

uint_fast16_t plan_get_buffer_size (void)
 
bool plan_reset (void)
 
void plan_discard_current_block (void)
 
plan_block_tplan_get_system_motion_block (void)
 
plan_block_tplan_get_current_block (void)
 
float plan_get_exec_block_exit_speed_sqr (void)
 
bool plan_check_full_buffer (void)
 
float plan_compute_profile_nominal_speed (plan_block_t *block)
 
float limit_acceleration_by_axis_maximum (float *unit_vec)
 
bool plan_buffer_line (float *target, plan_line_data_t *pl_data)
 
float * plan_get_position (void)
 
void plan_sync_position (void)
 
uint_fast16_t plan_get_block_buffer_available (void)
 
void plan_cycle_reinitialize (void)
 
void plan_feed_override (override_t feed_override, override_t rapid_override)
 
void plan_data_init (plan_line_data_t *plan_data)
 

Macro Definition Documentation

◆ ROTARY_FIX

#define ROTARY_FIX   0

Function Documentation

◆ limit_acceleration_by_axis_maximum()

float limit_acceleration_by_axis_maximum ( float *  unit_vec)

◆ plan_buffer_line()

bool plan_buffer_line ( float *  target,
plan_line_data_t pl_data 
)

◆ plan_check_full_buffer()

bool plan_check_full_buffer ( void  )

◆ plan_compute_profile_nominal_speed()

float plan_compute_profile_nominal_speed ( plan_block_t block)

◆ plan_cycle_reinitialize()

void plan_cycle_reinitialize ( void  )

◆ plan_data_init()

void plan_data_init ( plan_line_data_t plan_data)

◆ plan_discard_current_block()

void plan_discard_current_block ( void  )

◆ plan_feed_override()

void plan_feed_override ( override_t  feed_override,
override_t  rapid_override 
)

◆ plan_get_block_buffer_available()

uint_fast16_t plan_get_block_buffer_available ( void  )

◆ plan_get_buffer_size()

uint_fast16_t plan_get_buffer_size ( void  )

◆ plan_get_current_block()

plan_block_t* plan_get_current_block ( void  )

◆ plan_get_exec_block_exit_speed_sqr()

float plan_get_exec_block_exit_speed_sqr ( void  )
inline

◆ plan_get_position()

float* plan_get_position ( void  )

◆ plan_get_system_motion_block()

plan_block_t* plan_get_system_motion_block ( void  )

◆ plan_reset()

bool plan_reset ( void  )

◆ plan_sync_position()

void plan_sync_position ( void  )