Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue regarding testing modbus_server_test.py #59

Open
Mdmorshadurrahman opened this issue Jun 18, 2022 · 0 comments
Open

issue regarding testing modbus_server_test.py #59

Mdmorshadurrahman opened this issue Jun 18, 2022 · 0 comments

Comments

@Mdmorshadurrahman
Copy link

while running the command "rosrun niryo_one_modbus modbus_server_test.py" to run the server

got this error:

Traceback (most recent call last):
File "/home/joseph/Niryo_ws/src/niryo_one_ros/niryo_one_modbus/examples/modbus_server_test.py", line 9, in
server = ModbusServer("0.0.0.0", 5020)
File "/home/joseph/Niryo_ws/src/niryo_one_ros/niryo_one_modbus/src/niryo_one_modbus/modbus_server.py", line 40, in init
self.holding_register = HoldingRegisterDataBlock()
File "/home/joseph/Niryo_ws/src/niryo_one_ros/niryo_one_modbus/src/niryo_one_modbus/holding_register_data_block.py", line 104, in init
self.tool_command_list = rospy.get_param("/niryo_one_tools/command_list")
File "/opt/ros/noetic/lib/python3/dist-packages/rospy/client.py", line 467, in get_param
return _param_server[param_name] #MasterProxy does all the magic for us
File "/opt/ros/noetic/lib/python3/dist-packages/rospy/msproxy.py", line 123, in getitem
raise KeyError(key)
KeyError: '/niryo_one_tools/command_list'

looking for help to solve this issue so badly :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant