-
Notifications
You must be signed in to change notification settings - Fork 9
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
NatNet 2 support #3
Comments
Thanks for letting me know! Unfortunately I don't have access to a Motive version that old, so I don't have any test data for the old protocol. If you give me a packet capture of another NatNet client successfully communicating with your version of Motive I'll put it on my to-do list. |
Nice work. What I need is a recording of your raw network traffic, captured with a network sniffing tool like Wireshark. First, start the capture with the filter "port 1510 or port 1511" so you only include NatNet traffic. Then, open WinFormTestApp.exe and do whatever you did to get it going. You should see packets appearing in Wireshark. Give it a few seconds, then stop capturing in Wireshark, save the capture file, and upload it here. It would be ideal if you could run WinFormTestApp.exe on a different computer to Motive, but if you can't then I can probably still figure out what's going on. |
Thank you for your reply. Unfortunately we were not able to run it on two separate machines. Please see attached the captured data requested |
Please see attached the captured data and the SampleData.exe data Thank you, |
That's perfect, thanks again. I've made some changes in the At the moment I have each bone in the skeleton published as a |
Okay, that's an issue with connecting to old versions of Motive. It should be fixed now, please update ( |
Hi, |
You have to be in src/natnet_ros when you run git pull and git submodule
update or they won’t do anything ;)
|
Hi Matthew, I tried your suggestion in the previous comment and it still gave me the same error as attached. Is it because the program is using "multicast_address" while it is labeled "Multicast Interface" in the motive application? Please advise. |
Ah I see the problem, try again now. |
Hi Omar, have you had a chance to test these changes? |
Hi Matthew, We tried out the update and still ran into errors. It seems too tedious of a process to force the library to work with an older version so after speaking with senior members of our lab, we have decided to update our Motive software to the latest version (2.1). Again, we are immensely thankful for your help. I will keep you in the loop once we get our updated software and test your library. Best, |
Sorry Omar, I missed this one! If it's not too late, my affiliation is Electrical and Computer Engineering, University of Canterbury, New Zealand. I'd be interested to see your paper if you don't mind sharing. How are you getting on with updating Motive? |
I get the following error when I run "rosrun natnet_ros client _server:=10.195.79.98":
_```
radlab@DESKTOP-TSTVI8U:~/catkin_ws$ rosrun natnet_ros client _server:=10.195.79.98
[INFO] [1551755108.133212]: Connecting to 10.195.79.98
Traceback (most recent call last):
File "/home/radlab/catkin_ws/src/natnet_ros/natnet_ros/scripts/client", line 217, in
node.run()
File "/home/radlab/catkin_ws/src/natnet_ros/natnet_ros/scripts/client", line 207, in run
client = natnet.Client.connect(server, logger=self.log)
File "/home/radlab/catkin_ws/src/natnet_ros/python_natnet/python_natnet/src/natnet/comms.py", line 415, in connect
return cls._simple_connect(server, logger, timeout)
File "/home/radlab/catkin_ws/src/natnet_ros/python_natnet/python_natnet/src/natnet/comms.py", line 393, in _simple_connect
timeout=timeout)
File "/home/radlab/catkin_ws/src/natnet_ros/python_natnet/python_natnet/src/natnet/comms.py", line 154, in wait_for_message_with_id
return protocol.deserialize_payload(message_id, payload), received_time
File "/home/radlab/catkin_ws/src/natnet_ros/python_natnet/python_natnet/src/natnet/protocol/common.py", line 271, in deserialize_payload
return _registry.deserialize_payload(*args, **kwargs)
File "/home/radlab/catkin_ws/src/natnet_ros/python_natnet/python_natnet/src/natnet/protocol/common.py", line 221, in deserialize_payload
message = message_type.deserialize(payload_data, version)
File "/home/radlab/catkin_ws/src/natnet_ros/python_natnet/python_natnet/src/natnet/protocol/ServerInfoMessage.py", line 67, in deserialize
high_resolution_clock_frequency = data.unpack(uint64_t)
File "/home/radlab/catkin_ws/src/natnet_ros/python_natnet/python_natnet/src/natnet/protocol/common.py", line 92, in unpack
value = struct_type.unpack(self.data[self.offset:self.offset + struct_type.size])
struct.error: unpack requires a string argument of length 8
The text was updated successfully, but these errors were encountered: