-
Notifications
You must be signed in to change notification settings - Fork 55
Hello, i have an error in your code #12
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
base: master
Are you sure you want to change the base?
Conversation
|
Hi, sounds like it's a different project you're using, as there is no python code in my repo. Looks like you're using the code from here: https://github.com/IvanYaky/DJI_RC-N1_SIMULATOR_FLY_DCL Cool project, @IvanYaky , I added a link to it from my readme :) |
|
Ok, maybe your project will work with remote from DJI Mavik 3? |
|
This project only works for the old DJI (like, 10 years old). For other version see here: https://github.com/Matsemann/mDjiController#mdjicontroller |
|
@Matsemann Hi, thanks @Tuburni https://github.com/IvanYaky/DJI_RC-N1_SIMULATOR_FLY_DCL works great with Mavic 3 rc-n1(rc23 ) on Windows 11 but it's easy could be modified for Linux |
Hi, I have problem in run emulator. |
|
@Xmen-ua Please try this:
|
I suggest installing pyserial pip3 install pyserial |
|
@IvanYaky reinstalled ViGEmBUs, only 1.16.116 work in my case. Thanks for the help! |
|
Hi, when I run the file it closes immediately, I tried to start it via IDLE so it said:``` What should i try? P.s: Use Mavic Mini RC |
Exception has occurred: AttributeError
'socket' object has no attribute 'write'
File "C:\Users\User\Downloads\DJI_RC-N1_SIMULATOR_FLY_DCL-master\DJI_RC-N1_SIMULATOR_FLY_DCL-master\main.py", line 125, in send_duml
s.write(packet)
^^^^^^^
File "C:\Users\User\Downloads\DJI_RC-N1_SIMULATOR_FLY_DCL-master\DJI_RC-N1_SIMULATOR_FLY_DCL-master\main.py", line 189, in
send_duml(s, 0x0a, 0x06, 0x40, 0x06, 0x24, bytearray.fromhex('01'))
AttributeError: 'socket' object has no attribute 'write'