-
Notifications
You must be signed in to change notification settings - Fork 450
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Link.double converts link parameters to numeric (double) type dl = l.double is a Link object in which all the parameters are numeric ('double') type. Useful when you are using Pi=sym('pi') to avoid round off errors (e.g in sin(Pi/2)), but later you want to pass the link object to a method (e.g. ikine) which only supports real numbers. Will give an error if a symbolic variable is not convertable to double number. See also SerialLink.double %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% SerialLink.double converts SerialLink object parameters to numeric (double) type dr = r.double is a SerialLink object in which all the parameters are numeric ('double') type. Useful when you are using Pi=sym('pi') to avoid round off errors e.g in sin(Pi/2)), but later you want to pass the SerialLink object to a method (e.g. ikine) which only supports real numbers. Will give an error if a symbolic variable is not convertable to double number. See also Link.double Author: Amin Yahyaabadi (aminyahyaabadi74@gmail.com)
- Loading branch information
Showing
2 changed files
with
65 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters