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

Mavproxy Optilink Motive compatability 2.x and 3.x #1321

Open
Simba185 opened this issue Feb 9, 2024 · 2 comments
Open

Mavproxy Optilink Motive compatability 2.x and 3.x #1321

Simba185 opened this issue Feb 9, 2024 · 2 comments

Comments

@Simba185
Copy link

Simba185 commented Feb 9, 2024

So during a test of the Optilink connection with Mavproxy It seems that the Mavproxy Optilink Module is not compatible with Motive 3.x.

I get the following error when trying to decode packets from Motive 3.0.1 beta 2.

The copter is getting correct data when using Motive 2.x

" utf-8’ codec can’t decode byte 0x8e in position 0: invalid start byte
Traceback (most recent call last):
File “mavproxy.py”, line 1054, in periodic_tasks
File “modules\mavproxy_optitrack_init_.py”, line 62, in idle_task
File “modules\mavproxy_optitrack\NatNetClient.py”, line 1401, in process_data_and_cmd
File “modules\mavproxy_optitrack\NatNetClient.py”, line 1274, in __process_message
File “modules\mavproxy_optitrack\NatNetClient.py”, line 720, in __unpack_mocap_data
File “modules\mavproxy_optitrack\NatNetClient.py”, line 448, in __unpack_marker_set_data
UnicodeDecodeError: ‘utf-8’ codec can’t decode byte 0x8e in position 0: invalid start byte"

Can anyone advise if the Optitrack Module has been updated to be compatible with Motive 3.x? @chobitsfan

Thanks.

@chobitsfan
Copy link
Contributor

Hi @Simba185 thank you for reporting

NatNetClient.py is extraced from Optitrack's NatNet SDK. I think this problem may be solved by update this file. However, I do not have Motive 3.x license key and I can not test it.

@Simba185
Copy link
Author

@chobitsfan

Thank you for the recommendation, once I have the system working well with Motive 2.x I will try and implement 3.x

I am have some issues with Loiter Mode with Optitrack. The UAV is not getting correct attitude control, how can I resolve his?

Thanks.

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

2 participants