Uncrashed : FPV Drone Simulator

Uncrashed : FPV Drone Simulator

BloodshedRomance Feb 4, 2024 @ 4:22pm
DJI RC N1 controller
I found this github script through the DJI forums post that translates the DJI RC N1 to an Xbox controller input but no real guide on getting it to actually work with games. Here is a guide to get it working.


https://github.com/IvanYaky/DJI_RC-N1_SIMULATOR_FLY_DCL


install python 3.9 from python website.
add python to PATH under system settings because it does not add it automatically.

Adding the Python and Scripts directories to the PATH variable involves modifying the system environment variables. Here's a step-by-step guide on how to do this on a Windows system:

1 Find Python Installation Path:

Locate the directory where Python is installed on your system. The default path is usually C:\Users\YourUsername\AppData\Local\Programs\Python\Python3x, where YourUsername is your Windows username, and 3.x is the version number.

2 Copy Python and Scripts Paths:

Copy the path to the Python installation directory and the "Scripts" subdirectory. For example:
Python directory: C:\Users\YourUsername\AppData\Local\Programs\Python\Python3x
Scripts directory: C:\Users\YourUsername\AppData\Local\Programs\Python\Python3x\Scripts

3 Open System Properties:

Right-click on the Start button and select System.
Click on Advanced system settings on the left.

4 Open Environment Variables:

In the System Properties window, click on the Environment Variables button.

5 Edit User or System Variables:

In the Environment Variables window, you will see two sections: User variables and System variables.
If you want to modify the PATH for your user account only, edit the User variables. If you want to modify it for all users on the system, edit the System variables (you may need administrative privileges for this).
In either section, find the variable named "Path" and select it. Click on the Edit button.

6 Add Python and Scripts Paths:

In the Edit Environment Variable window, click on New.
Paste the path to the Python directory (e.g., C:\Users\YourUsername\AppData\Local\Programs\Python\Python3x) and click OK.
Click on New again, and this time paste the path to the "Scripts" directory (e.g., C:\Users\YourUsername\AppData\Local\Programs\Python\Python3x\Scripts). Click OK.

7 Apply Changes:

Click OK to close each of the open windows.

8 Restart CMD:

Close and reopen the Command Prompt to apply the changes.
You can now use the python and pip commands without specifying their full paths.
Remember to replace YourUsername with your actual Windows username and 3.x with your Python version. If you're modifying the System variables, you may need administrative privileges.



open command prompt

pip install vgamepad
pip install pyserial
(if pip is still not recognized re-run the python installer, modify the install and make sure the box for "pip" is checked under Optional Features).

download/run main.py from the original github link.



After all of that, my DJI RC N1 controller is able to be seen by UNCRASHED FPV DRONE SIMULATOR.
Last edited by BloodshedRomance; Feb 5, 2024 @ 10:19am
< >
Showing 1-1 of 1 comments
Maksym Apr 23, 2024 @ 4:03am 
Дякую, все працює👍👍👍
< >
Showing 1-1 of 1 comments
Per page: 1530 50