Posts by CPh

    What is the purpose you you wanting to do this? We may be able to help you find a different solution.

    I have a register, R[200] in which I set alarms.

    Then I use this register to find which alarms are activated.

    When R[200] == 1, I want to call a sub-program to display a notification.

    When R[200] == 2 (10), I want to stop the program

    When R[200] == 3 (11), I want to stop the program

    In my program I will write something like below:

    IF (R[200] AND 1) THEN JMP LBL[10:Warning]

    I don't know if it's really clear..

    If the previous code doesn't work I think it will be possible to use the operator DIV and MOD to check if a bit is set !

    R[1] = R[200] DIV 2
    R[1] = R[1] MOD 2
    IF R[1] == 0 => bit 2 is equal to 0
    IF R[1] == 1 => bit 2 is equal to 1 

    I am going to try that :)


    I want to use a bit mask on a register in a IF to check some conditions.. Do you know if it is possible to do that in a TP program or should I need to call Karel ?

    Thank you very much for your help.

    Here is the result with the previous parameters when calculating the face plate point P= M*[0 0 0 1] = [280 0 -360 1].

    In fact the values are correct but I would rather prefer to get P =[360 0 280 1] to be aligned with the working coordinates system of the robot (where Z is vertical etc.).

    I don't understand why the kinematic coordinate system is not aligned with the working coordinates system, not sure I am clear..

    I found the DH parameters thanks to you.

    In roboguide I have the following values.. they are quite different, do you know why?


    Then, I have a problem with the matrix, I found several doc and each show different matrix... which one should I use?

    Matrix1 - page 3

    Matrix2 - page 3

    Matrix3 - page 3

    I have tried all three with both DH parameters sets and none gave me the correct result...

    (sorry for using your thread to ask these questions).


    Could you help me to find the DH parameters of the following kinematic please?

    I tried to calculate the coordinates of the point O6 with the values shown in the table below but the result is not correct.

    I suppose the alpha angles are not correct.. Or maybe I have not set the axes orientation well.. I am only sure about Zi

    Joint values (Theta) are all 0° for the kinematic as drawn here.

    Can you suggest any camera which can be used for this purpose?

    Sorry, I can't help you more..

    Choosing an optical system is not an easy task that can be answered on a forum without knowing the background. There are so many sort of camera, so many sort of optics, so many sort of lightings depending on the application.. You have to list your needs and find the best technical solution to fulfil them.

    For example for an optical system you must choose: the distance from the object to the camera, the image resolution you need, the depth of field, etc. The lighting is in general the hardest part, do your object is bright ? mat ? etc.

    It is the same for choosing a robot..

    Maybe a 6-axis robot will help you. For example the LR Mate 200iD (max charge 7kg).

    You could pick the part from the side and use the last joint flip it.

    A camera is indeed a solution to find the orientation of the object.

    Depending on how the parts are supply you will also need a camera above the conveyor to give to the robot the picking coordinates. Maybe with only one camera you could do both operation (find orientation + position)

    But note that there are several solutions for your problem, it depends on so many factors, it depends on the robot but also on the kind of tool used, on the system, etc. ! Sometimes a simple mechanical solution is better than a expensive robot.

    Which robot should I buy and how to program it? Which software I have to learn to do the task described above.

    Hello, it is very difficult to answer to this questions without more info.

    The robot choice will depend on :

    • the parts to handle (size, weight)
    • the work envelope you need (it will define the size of your robot)
    • the movement complexity (it will define how many axis you need)
    • the accuracy you need



    I am using roboguide version 9 (rev G).

    I have just created a new cell and now when I click on the TP icon "PC keyboard shortcuts for TP keypad keys" and then on the windows to run step-by-step my TP program, the icon automatically deactivates.. Do you know if there is an option somewhere to avoid this behavior ? I have made several cells before and it's the first time I see this..


    I get the following message during the compilation of my Karel program: "Code size exceeded maximum. Break program into separately translated units."
    Have you ever seen this message?
    How should I do to be able to compile my code?