Search Results
Thread:How to execute a specific instruction in a program?
Post:How to execute a specific instruction in a program...
What command or method could be used to execute (in simulation) a single specific instruction in a program? Similar to what happens when double clicking an instruction in the GUI tree, or right click&...
2Replies 285 Views
Thread:Camera parameters of retrieved camera item
Post:RE: Camera parameters of retrieved camera item
Thank you Sam, cam_item.setParam('Open', 1) did the trick!
3Replies 408 Views
Thread:Camera parameters of retrieved camera item
Post:RE: Camera parameters of retrieved camera item
I think I solved it, by repeating the Cam2D_Add command even when the camera already exists, and adding the camera item as a third variable: Code:cam_id = RDK.Item('Camera 1',robolink.ITEM_TYPE_CAMERA...
3Replies 408 Views
Thread:Camera parameters of retrieved camera item
Post:Camera parameters of retrieved camera item
I'm trying to get a snapshot from a camera in a station, by running a Python script in the station tree. It looks like this: Code:cam_id = RDK.Item('Camera 1',robolink.ITEM_TYPE_CAMERA) if not cam_id....
3Replies 408 Views
Thread:How to get a robot's speed settings?
Post:How to get a robot's speed settings?
How do I get the speed settings for a robot via the API? Meaning, the linear and joint velocity and acceleration. I know they can be set using setSpeed, setAcceleration, setSpeedJoints, setAcceleratio...
1Replies 380 Views
Thread:How to get a target's parent reference frame?
Post:How to get a target's parent reference frame?
How do I get a target's parent reference frame item? Meaning its direct parent frame, that is shown in the GUI by default under "Target position with respect to:" of the target properties window. I t...
1Replies 363 Views
Thread:How to model a 2DOF XY with a parallel 1DOF RZ together?
Post:RE: How to model a 2DOF XY with a parallel 1DOF RZ...
But what if the rotational RZ axis is not stacked in series on top of the XY stages, but they are parallel and attached to the same base? For example, how could a spinning lathe be modeled? (RZ being ...
3Replies 383 Views
Thread:How to model a 2DOF XY with a parallel 1DOF RZ together?
Post:How to model a 2DOF XY with a parallel 1DOF RZ tog...
I build two mechanisms in a RoboDK station: a 2DOFs linear XY stage and a separate external 1DOF rotational RZ stage. Is it possible to combine the two stages into a single 3DOFs system? The two stage...
3Replies 383 Views
Thread:Issues since maintenance expiry
Post:RE: Issues since maintenance expiry
(附件= 3856)添加-SKIPMAINT shortcut target works when opening RoboDK via this shortcut. But when RoboDK is launched by opening an .rdk file, the maintenance prompt is still issued (I ...
4Replies 625 Views
Thread:Issues since maintenance expiry
Post:RE: Issues since maintenance expiry
Hello Sam, where and how should I parse the -SKIPMAINT argument? I'm too unfamiliar with command line options to understand, perhaps a step by step explanation would help. Where do I enter "RoboDK.exe...
4Replies 625 Views
Thread:Issues since maintenance expiry
Post:Issues since maintenance expiry
Two worries since our maintenance license expired: Firstly, I get an annoying pop-up stating the maintenance license expired every single time RoboDK starts up, over and over again. Can this pop-up p...
4Replies 625 Views
Thread:Rotate tool path while keeping tool orientation
Post:RE: Rotate tool path while keeping tool orientatio...
Like this: Code:from robodk import robolink # RoboDK API from robodk import robomath # Robot toolbox RDK = robolink.Robolink() robot = RDK.Item('R1', robolink.ITEM_TYPE_ROBOT) # Get robot T1 ...
3Replies 781 Views
Thread:Rotate tool path while keeping tool orientation
Post:RE: Rotate tool path while keeping tool orientatio...
Hi Marwin, There might be cleaner ways, but this works: Code:robot = RDK.Item('YourRobot', robolink.ITEM_TYPE_ROBOT) target_1 = RDK.Item('YourTarget', robolink.ITEM_TYPE_TARGET) robot.MoveL(target) ...
3Replies 781 Views
Thread:A non-blocking movement command is still blocking my code
Post:RE: A non-blocking movement command is still block...
Hi Albert, can you spot the issue in the station I uploaded last week? The behavior when running the program is quite unexpected: sometimes the robots do start their move sequence as a thread, sometim...
7Replies 1,177 Views
Thread:A non-blocking movement command is still blocking my code
Post:RE: A non-blocking movement command is still block...
Thanks for your help Albert, but I find the "Synchronize 3 Robots with a Screen" example quite complex to understand for the supposedly simple thing I'm trying to achieve. I attached a stripped down ...
7Replies 1,177 Views
Thread:A non-blocking movement command is still blocking my code
Post:RE: A non-blocking movement command is still block...
Hi Albert, shuffling the commands does not solve the issue. In the order you propose: Command #3 to R1 will not execute until R1 has finished command #1, which is as expected. Command #4 to R2 will ...
7Replies 1,177 Views
Thread:A non-blocking movement command is still blocking my code
Post:RE: A non-blocking movement command is still block...
I run into the same issue: I have two robots (R1 and R2) in a station and from the API I want to fire non-blocking move commands to either of them. In its simplest form: Code:R1.MoveJ(R1_T1,False) #...
7Replies 1,177 Views
Thread:Export simulation orthographic view & export video
Post:RE: Export simulation orthographic view & export v...
Hi Albert, setting Tools>Options>Display>Projection type works for RoboDK itself, but has no effect on an exported simulation in html format, which remains perspective view. Can the view sett...
3Replies 630 Views
Thread:Export simulation orthographic view & export video
Post:Export simulation orthographic view & export video
Hi, is it possible to set the view in an exported simulation (html) to orthographic instead of perspective? It is difficult to analyse movements in perspective view. Related, is there script availabl...
3Replies 630 Views
Thread:Time simulation vs Set Speed instruction
Post:RE: Time simulation vs Set Speed instruction
Thanks Albert, that's want I wanted to know. For use with Mecademic, perhaps RoboDK could consider incorporating the option to specify and treat the velocity and acceleration as a percentage of anoth...
2Replies 617 Views
Thread:Time simulation vs Set Speed instruction
Post:Time simulation vs Set Speed instruction
How are the values in the Set Speed instruction used by RoboDK to determine the simulation time? The units of the Set Speed values can't be specified: they can be absolute in mm/s, deg/s, or relative...
2Replies 617 Views
Thread:Base Reference in the BuildMechanism function
Post:RE: Base Reference in the BuildMechanism function
Hi Albert, to my understanding, HB defines a relative 3D position plus orientation, referred to as a pose, that can be expressed e.g. in terms of XYZ position and some RXYZ rotation, or a 4x4 homogene...
7Replies 2,186 Views
Thread:How to use the command MoveL_Test
Post:RE: How to use the command MoveL_Test
You're using forward kinematics SolveFK(), where you should be using inverse kinematics SolveIK(). The first returns the robot (flange or tool) pose given its joint values, the latter returns a set of...
2Replies 749 Views
Thread:Base Reference in the BuildMechanism function
Post:RE: Base Reference in the BuildMechanism function
嗨,我ink the building of a mechanism in both the GUI and the API is still very confusing. In my simple case I'm trying to build a two-finger gripper via the API, importing 3 STEP files (gripper bo...
7Replies 2,186 Views
Thread:Robot's position(angle) joint axis jog
Post:RE: Robot's position(angle)_joint axis jog
I think you can use SolveIK_All() for that: //www.jasonament.com/doc/en/PythonAPI/robo...olveIK_All Code:robot = RDK.Item('YourRobot',ITEM_TYPE_ROBOT) all_solutions = robot.SolveIK_All(robot.Pose(),ro...
4Replies 905 Views
Thread:Robot's position(angle) joint axis jog
Post:RE: Robot's position(angle)_joint axis jog
I think the Joints() command is what you're looking for: //www.jasonament.com/doc/en/PythonAPI/robo...tem.Joints
4Replies 905 Views
Thread:How to determine the active reference frame item?
Post:How to determine the active reference frame item?
Hi, in the GUI, a green dot shows up on the icon of the active reference frame. How can this active reference frame item be determined via the API? Best regards, Maarten
2Replies 607 Views
Thread:How to determine the time duration per instruction?
Post:How to determine the time duration per instruction...
Hi, how can I determine the time duration that an instruction will take according to simulation? E.g. I have a program with a few move instructions, I would like to determine the required move time f...
1Replies 594 Views

Baidu
map