-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix sin/cos and small values display (#1631)
* Fix printing very small values for printTextBlock * Use degrees for sin and cos in block's programming instead of radians * Fix sin/cos generation for python and js on trik * Fix printTextBlock for trik too
- Loading branch information
1 parent
683154d
commit a17e92c
Showing
7 changed files
with
12 additions
and
8 deletions.
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
2 changes: 1 addition & 1 deletion
2
plugins/robots/generators/trik/trikPythonGeneratorLibrary/templates/functions/cos.t
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
math.cos(@@ARGUMENT@@) | ||
math.cos(@@ARGUMENT@@*pi/180) |
2 changes: 1 addition & 1 deletion
2
plugins/robots/generators/trik/trikPythonGeneratorLibrary/templates/functions/sin.t
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
math.sin(@@ARGUMENT@@) | ||
math.sin(@@ARGUMENT@@*pi/180) |
2 changes: 1 addition & 1 deletion
2
plugins/robots/generators/trik/trikQtsGeneratorLibrary/templates/functions/cos.t
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
Math.cos(@@ARGUMENT@@) | ||
Math.cos(@@ARGUMENT@@*pi/180) |
2 changes: 1 addition & 1 deletion
2
plugins/robots/generators/trik/trikQtsGeneratorLibrary/templates/functions/sin.t
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
Math.sin(@@ARGUMENT@@) | ||
Math.sin(@@ARGUMENT@@*pi/180) |
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