Help Needed: Setting Up PSDK and X-Port Integration on Matrice 300 RTK with Raspberry Pi for Final Project
CompletedHi everyone,
I’m currently working on my final degree project for my Telecommunications Engineering studies at Universidad Politécnica de Madrid, and I could really use some help with setting up the DJI X-Port on the Matrice 300 RTK using the Payload SDK (PSDK). My project involves controlling a radar mounted on the X-Port.
I have the Payload SDK Development Kit 2.0 and I'm using a Raspberry Pi as the external board to interface with the X-Port. I've gone through the official documentation, but I find some parts of the setup unclear, especially since this is my first time working with dji systems.
I was wondering if anyone could point me toward any video tutorials, examples, or additional resources that might help clarify a few things.
Specifically, I’m looking for guidance on:
- Physical setup: How to correctly connect the Matrice 300 RTK, X-Port, the Raspberry Pi, and any necessary wiring.
- Development environment: A guide for setting up the PSDK development environment on the Raspberry Pi.
- Programming and testing: Example workflows for programming custom payloads and testing them with the X-Port.
If anyone has experience working with a Raspberry Pi as the external board or with the PSDK 2.0 kit, any advice or resources would be greatly appreciated. I just want to ensure I’m on the right track with the setup and development process.
Thanks in advance for any help or guidance!
Best,
Rodrigo
-
Hello, regarding the connection of X-Port, we can give you a reference diagram. In fact, you only need to connect the serial port and the network port, and there are no extra steps. You need to pay attention to the front and back of the coaxial line between the development kit and the X-Port. After the coaxial line is correctly connected, when your drone is turned on and the X-Port is mounted to the drone gimbal port, the power light of your development kit expansion version will also light up. Regarding the development environment guide you mentioned, you can check here: https://developer.dji.com/doc/payload-sdk-tutorial/en/quick-start/config-develop-environment.html Then you can directly compile and run the PSDK program. The sample program already contains the sample code of X-Port.
Please sign in to leave a comment.
Comments
1 comment