yarf 0.1
Yet Another RepRap Firmware
Functions
src/movement/planner_lookahead.h File Reference

The lookahead component tries to keep the speed at which movements are made as high as possible. That is, it tries to raise the entry and exit speeds of blocks, while at the same time preventing jerky movement. The code is based on chamnit's fork of Grbl (https://github.com/chamnit/grbl). More...

#include "block.h"

Go to the source code of this file.

Functions

void plan_lookahead_init (void)
 Initializes the lookahead component.
void plan_lookahead (void)
 Updates the motion plan for the entire planning queue, to account for the additional contraints on the motion plan, imposed by the last block that was added to the queue.

Detailed Description

The lookahead component tries to keep the speed at which movements are made as high as possible. That is, it tries to raise the entry and exit speeds of blocks, while at the same time preventing jerky movement. The code is based on chamnit's fork of Grbl (https://github.com/chamnit/grbl).

Author:
Pieter Agten (pieter.agten@gmail.com)
Date:
5 nov 2011

Definition in file planner_lookahead.h.


Function Documentation

void plan_lookahead ( void  )

Updates the motion plan for the entire planning queue, to account for the additional contraints on the motion plan, imposed by the last block that was added to the queue.

To use the lookahead component, this method should be called right after adding a new block to the planning queue.

The lookahead component tries to keep the speed in between blocks as high as possible, without causing jerky movement at the junctions between blocks.

Definition at line 284 of file planner_lookahead.c.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines