I recently tried using Optitrack data on pixracer.
My framework is: Computer-> wifi8266-> pixracer.
I refer to this tutorial: https://ardupilot.org/copter/docs/common-optitrack.html
However, I encountered a problem when generating the .exe file using C #:
1>D:\360MoveData\Users\45493\Desktop\NatNet_SDK_3.0.1\NatNetSDK\Samples\SampleClientML\MAVLinkMessage.cs(1,7,1,14): error CS0246: The type or namespace name“log4net”could not be found(are you missing a using directive or an assembly reference?)
1>D:\360MoveData\Users\45493\Desktop\NatNet_SDK_3.0.1\NatNetSDK\Samples\SampleClientML\MAVLinkMessage.cs(15,33,15,37): error CS0246: The type or namespace name“ILog”could not be found(are you missing a using directive or an assembly reference?)
1>D:\360MoveData\Users\45493\Desktop\NatNet_SDK_3.0.1\NatNetSDK\Samples\SampleClientML\MAVLinkParam.cs(56,10,56,26): error CS0246: The type or namespace name“IgnoreDataMemberAttribute”could not be found(are you missing a using directive or an assembly reference?)
1>D:\360MoveData\Users\45493\Desktop\NatNet_SDK_3.0.1\NatNetSDK\Samples\SampleClientML\MAVLinkParam.cs(56,10,56,26): error CS0246: The type or namespace name“IgnoreDataMember”could not be found(are you missing a using directive or an assembly reference?)
1>D:\360MoveData\Users\45493\Desktop\NatNet_SDK_3.0.1\NatNetSDK\Samples\SampleClientML\MAVLinkParam.cs(61,10,61,26): error CS0246: The type or namespace name“IgnoreDataMemberAttribute”could not be found(are you missing a using directive or an assembly reference?)
1>D:\360MoveData\Users\45493\Desktop\NatNet_SDK_3.0.1\NatNetSDK\Samples\SampleClientML\MAVLinkParam.cs(61,10,61,26): error CS0246: The type or namespace name“IgnoreDataMember”could not be found(are you missing a using directive or an assembly reference?)
I’m not familiar with C # and I can’t solve this problem at the moment. Can someone successfully implement the case for this tutorial? Have you encountered this problem?
My version number is:
1、NatNet_SDK_3.0.1
2、MissionPlanner1.3.56