Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
770 views
in Technique[技术] by (71.8m points)

canvas - How to use fabric.js to make a rectangle move according to a given coordinate path?

The coordinates are passed from the back-end server and the rectangle moves according to these coordinates. I am preparing my thesis to implement a multi-agv path scheduling simulation system. The scheduling system should get the coordinates of all the current AGV carts from the front end,then use conflict avoidance algorithm to determine whether there is a conflict, if there is no conflict, follow the next coordinates of the planned global shortest path; if there is a conflict, then calculate a suitable coordinate as the next position of the corresponding AGV carts. My task is on the front end, responsible for getting the cart to move according to the coordinates given in the background.

question from:https://stackoverflow.com/questions/65682141/how-to-use-fabric-js-to-make-a-rectangle-move-according-to-a-given-coordinate-pa

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...