1.0.19 • Published 3 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
3 years ago
1.0.18
3 years ago
1.0.17
5 years ago
1.0.16
5 years ago
1.0.15
5 years ago
1.0.14
5 years ago
1.0.13
5 years ago
1.0.12
5 years ago
1.0.11
5 years ago
1.0.10
5 years ago
1.0.9
5 years ago
1.0.8
5 years ago
1.0.7
5 years ago
1.0.6
5 years ago
1.0.5
5 years ago
1.0.4
5 years ago
1.0.3
5 years ago
1.0.2
5 years ago
1.0.1
5 years ago
1.0.0
5 years ago