sunParticipantJuly 10, 2018 at 5:59 amPost count: 5
There is a GetPositionList in niryo_one_msgs / srv.
When rpi_example_python_api.py is executed, the following error occurs.
niryo@niryo-desktop:~/catkin_ws/src/niryo_one_python_api/examples$ python rpi_example_python_api.py
Traceback (most recent call last):
File “rpi_example_python_api.py”, 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/niryo_one_api.py”, line 34, in <module>
from niryo_one_msgs.srv import GetPositionList
ImportError: cannot import name GetPositionList
I want to know why an error occurs.
Edouard RenardKeymasterJuly 10, 2018 at 4:51 pmPost count: 239
- This topic was modified 1 year, 9 months ago by sun.
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 thatsunParticipantJuly 12, 2018 at 2:17 amPost 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 have been waiting a day.
Is it related to the above error ??Edouard RenardKeymasterJuly 12, 2018 at 3:15 pmPost 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 ?
- You must be logged in to reply to this topic.