Niryo Blocks: Rounding of coordinates when programming poses2018-04-12T06:04:58+00:00

Forums Niryo One Troubleshooting Niryo Blocks: Rounding of coordinates when programming poses

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • tonbayer
    Participant
    Post count: 4

    I am trying to program my Niryo using Niryo Blocks poses, and would like to define the positions in mm (0.001 m). When entering coordinate values, they are always rounded to the next cm (0.01 m).
    Is this intentional ? or can it be changed in some configuration

    Thanks/Ton

    Edouard Renard
    Keymaster
    Post count: 43

    Hi, the precision of “Move Pose” block has been set to 0.01, so the automatic rounding comes from that. Thanks for noticing that, we may change it in the next release, with a precision of 0.001.

    In the meantime, you can change it by yourself if you want to. You need to find the file named “niryo_one_blocks.js” which is inside the app folder. On this file you’ll quickly see the values “0.01” for the block “niryo_one_move_pose”, you can change the precision here.

    tonbayer
    Participant
    Post count: 4

    Thanks Edouard. That sound like a good solution. For the demo I was working on, I switched to the Python API, which is also very easy to handle.
    I was able make a small demo ( Printing with rubber stamps ) at our local maker-space during an open day (“Lange Nacht der Forschung”).
    Is there a way to upload photo / video to the forum ?

    Edouard Renard
    Keymaster
    Post count: 43

    You can’t directly upload a photo/video on niryo.com, but what you can do is host your photo/video elsewhere (ex: Youtube), and provide the link of the content here, which should be automatically displayed.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.