Gremsy / PayloadSdk

GNU General Public License v3.0
3 stars 5 forks source link

Waiting for payload signal! #13

Closed kuroshZ closed 6 months ago

kuroshZ commented 7 months ago

Problem Description:

PayloadSDK cannot establish a connection with the camera bot over UART/USB and UDP.

Error Messages

USB: usb

UDP: udp

Hardware Setup:

LAN wire connection from the laptop and camera to the router. USB connection from the laptop to the camera using a CP2102 Adapter as described in the manual.

Software Setup

Operating System:

NAME="Fedora Linux" VERSION="39 (Workstation Edition)" ID=fedora VERSION_ID=39

Firmware Information

Gremsy ZIO ZIO Firmware Version: gremsyZio_v781_Official Gremsy Payload: Gremsy Zio Firmware v780 Official also tried with Gremsy Zio Firmware v781 Official

payload_setup.txt

This file is copied to the MicroSD Card of the camera.

/PAYLOAD CONFIGURATION/ ZIO_ADDR = 192.168.0.190 NETMASK = 255.255.255.0 GATEWAY = 192.168.0.1

PayloadSdk Build

git clone -b develop --recurse-submodules https://github.com/Gremsy/PayloadSdk.git

cd PayloadSdk/libs/gSDK/ git checkout gSDK_V3_alpha git pull origin gSDK_V3_alpha

Change IP address in case of UDP and change the CONTROL_METHOD in payloadsdk.h accordingly.

cd PayloadSdk mkdir build && cd build
cmake ..
make -j6

Related Questions:

After copying the payload_setup.txt file to the SD Card, you can ping the payload which indicates that the setup worked. However, when you turn off the camera and turn it back on, the ping command returns the error message "Destination Host Unreachable". If you check the SD card now, you will see that the payload_setup file has been deleted! I am wondering if I am missing something here or if there is an actual bug in PayloadSdk that prevents the connection.

lamGremsy commented 7 months ago

Hi kuroshZ,

Please check Zio SoM Firmware in the following way:

kuroshZ commented 7 months ago

How can I change it to the OSD debug mode without a px4?

lamGremsy commented 7 months ago

Can't change it to the OSD debug mode without a px4 or without PayloadSDK Please use GremsyFlashTool to upgrade SoM firmware version 2.0.1.4 build03042024 Tutorial link: https://docs.gremsy.com/payloads/zio-manual-v2/upgrade-firmware/upgrade-som-firmware

kuroshZ commented 7 months ago

What is the default port of the UDP connection?

kuroshZ commented 7 months ago

I used the port 14566 in QGroundControl for the UDP connection and set the px4 parameters as described in the manual but I can see no Gremsy window!