-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Hi!
I’m trying to implement your code with my own built bot, I’ve tested the bot and it works. However, some of your code gives me problems, especially when it calculates the inverse kinematics
When calculating b with following code
var b = Math.acos((square(LENGTH1)+square(hypotenuse)-square(LENGTH2))/(2_LENGTH1_hypotenuse));
it returns a number above 1, but below 2, which causes Math.acos to return NaN
Can you see what’s wrong? I'm using following variables:
LENGTH1: 80mm
LENGTH2: 80mm
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels