Forums General General Chat The GetPositionList.srv file was not found.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • sun
    Post count: 5

    There is a GetPositionList in niryo_one_msgs / srv.
    When is executed, the following error occurs.

    niryo@niryo-desktop:~/catkin_ws/src/niryo_one_python_api/examples$ python
    Traceback (most recent call last):
    File “”, line 4, in <module>
    from niryo_one_python_api.niryo_one_api import *
    File “/home/niryo/catkin_ws/src/niryo_one_python_api/src/niryo_one_python_api/”, line 34, in <module>
    from niryo_one_msgs.srv import GetPositionList
    ImportError: cannot import name GetPositionList

    I want to know why an error occurs.

    • This topic was modified 2 years, 2 months ago by sun.
    Edouard Renard
    Post count: 239

    It seems that you have updated the Niryo ROS packages from github. When you do that, you also need to recompile the code. (a tutorial will be released soon on how to do that).

    First, stop the current ROS execution (takes a lot of RAM) : sudo systemctl stop niryo_one_ros.service

    Then : cd ~/catkin_ws

    And : catkin_make -j2

    Finally, you can restart the ROS code (sudo systemctl start niryo_one_ros.service)

    Let me know if you still have the problem after doing that

    Post count: 5

    I have two problems.

    1. After catkin_make -j2, the following error occurred.
    Unable to register with master node [http: // localhost: 11311]: master may not be running. Will keep trying.
    Changing the localhost part did not change anything.

    2. Robot’s LED does not change from red to blue.
    I waited.
    I have been waiting a day.
    Is it related to the above error ??

    Edouard Renard
    Post count: 239

    Could you explain the exact steps you followed before you got this error ?

    Also, yes, for your question 2., the LED will not switch to blue, because it seems that the Niryo One ROS stack is not running in the first place.

    Could you also try to flash a new microSD card with the 1.1.0 Rpi Image (you can download it here), and see if everything is working well ?

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.