KeyError with Publisher Node
I am trying to implement a project described here: https://roboticdreams.wordpress.com/2...
The relevant code is available here: https://bitbucket.org/mnjacobs/inmoov...
When I try to run the LeapPublisher.py with rosrun I am getting the following error:
Traceback (most recent call last):
File "/home/diane/catkin_ws/src/inmoov/src/inmoov/leapmotion/LeapPublisher.py", line 21, in <module>
launchParameters = rospy.get_param(NODE_NAME)
File "/opt/ros/melodic/lib/python2.7/dist-packages/rospy/client.py", line 465, in get_param
return _param_server[param_name] #MasterProxy does all the magic for us
File "/opt/ros/melodic/lib/python2.7/dist-packages/rospy/msproxy.py", line 123, in __getitem__
raise KeyError(key)
KeyError: 'LeapMotionPublisher'
I realize that it might be an error with rospy.get_param however I am able to view the parameters with rosparam list. I have alternately tried using roslaunch but that results in similar errors. I'm not sure what could be going wrong here, any help would be greatly appreciated!
Additional details: I am running ros-melodic on a Windows laptop via Ubuntu WSL (slave) and on the Raspberry Pi (master), I am running ros-kinetic. I have successfully tested the rospy_tutorials (listener.py and talker.py) with the same configuration.