1.0.19 • Published 4 years ago
pathfinder1-jaci-js v1.0.19
Pathfinder JS
A node.js addod of the C++ library Pathfinder written by Jaci
Install
npm i pathfinder1-jaci-js
Examples
- Generate a profile for Tank robot and print the left wheel trajectory
var pathLength = 3;
var pathPoints = [[1,1,0],[2,1,0],[3,2,90]];
var timeStep = 0.02;
var maxVelocity = 3; // m / s
var maxAccelaration = 4; // m / s / s
var maxJerk = 5; // m / s / s / s
var wheelBase = 0.7; // m
pathFinder.generateTank( pathLength, pathPoints, timeStep, maxVelocity, maxAccelaration, maxJerk, wheelBase,(length,centerTrajectory,leftTrajectory,rightTrajectory) => {
console.log(leftTrajectory);
//Do something with the trajectory
}, (err) => {
//Catch Errors in points
});
1.0.19
4 years ago
1.0.18
4 years ago
1.0.17
6 years ago
1.0.16
6 years ago
1.0.15
6 years ago
1.0.14
6 years ago
1.0.13
6 years ago
1.0.12
6 years ago
1.0.11
6 years ago
1.0.10
6 years ago
1.0.9
6 years ago
1.0.8
6 years ago
1.0.7
6 years ago
1.0.6
6 years ago
1.0.5
6 years ago
1.0.4
6 years ago
1.0.3
6 years ago
1.0.2
6 years ago
1.0.1
6 years ago
1.0.0
6 years ago