We use cookies to try and give you a better experience in Freshdesk.
You can learn more about what kind of cookies we use, why, and how from our Privacy policy. If you hate cookies, or are just on a diet, you can disable them altogether too. Just note that the Freshdesk service is pretty big on some cookies (we love the choco-chip ones), and some portions of Freshdesk may not work properly if you disable cookies.
We’ll also assume you agree to the way we use cookies and are ok with it as described in our Privacy policy, unless you choose to disable them altogether through your browser.
Solution:
Update ZIO SOM firmware : Zio_SoM_Firmware v2.0.1.4
ZIO gimbal firmware : Zio-Firmware v7.8.1
Change CAM_TYPE = 5 instead of 6.
Gremsy will work with Ardupilot to solve this problem as soon as possible.
Below is the conversation:
Regards,
Koh
by duongdev on Thu, 28 Dec, 2023 at 11:41 AM as Incoming email
I'm Duong, software engineer at Gremsy.
1. Reply for your questions
Can you tell me which MAVLink command to switch camera photo/video mode on a mission?Can you tell me which MAVLink command to start and stop camera video on a mission?
-> You can use the camera menu on the Ground control station (QGC or Mission Planner) to switch and control the video recording while doing a mission. We didn't test the video control while doing a mission, but I think it is possible.
We don't have an example to control the video on our PayloadSDK at the moment, but it will be updated soon.
About the command to control the Zio payload's camera, you can refer https://mavlink.io/en/services/camera.html, or take a look into our PayloadSDK at https://github.com/Gremsy/PayloadSdk/tree/develop
2. MAVlink command supported list-> We will complete the supported list of MAVlink commands for our payloads soon. We will send you right after the document is ready.-> For now, please follow the MAVlink camera protocol and our PayloadSDK for interacting with our payloads.
Hope this helps,Duong Ng
by Gremsy Support Team on Tue, 2 Jan at 2:56 PM as Outbound email
Khanh
Check your ticket status : https://support.gremsy.com/helpdesk/tickets/13552
by 項錦先 on Wed, 10 Jan at 7:34 PM as Incoming email
Thank you for your reply.
>As for the trigger, you can use the command below: MAV_CMD_DO_DIGICAM_CONTROL (203 )
I tried MAV_CMD_DO_DIGICAM_CONTROL (203 ) to Shooting camera.```mavproxy.py --master=/dev/ttyACM0,115200 --console --map --load-module gimbal,messagemessage COMMAND_LONG 0 0 203 0 0 0 0 0 1 0 0
```
But there is no response.
And I tried MAV_CMD_IMAGE_START_CAPTURE (2000) to Shooting camera.```
mavproxy.py --master=/dev/ttyACM0,115200 --console --map --load-module gimbal,message
message COMMAND_LONG 0 0 2000 0 0 0 1 0 0 0 0
```
The command ACCEPTED, but no photo saved on the SD card.Question:Does the Gremsy zio camera support Shooting photos on a mission using some mavlink command?
by duongdev on Thu, 11 Jan at 8:27 AM as Incoming email
mavproxy.py --master=/dev/ttyACM0,115200 --console --map --load-module gimbal,message
message COMMAND_LONG 0 0 2000 0 0 0 1 0 0 0 0
```This command will send to target_system_id 0 and target_comp_id 0, this is not our Zio system.
I think you can try with```
mavproxy.py --master=/dev/ttyACM0,115200 --console --map --load-module gimbal,message
message COMMAND_LONG 1 101 2000 0 0 0 1 0 0 0 0
```
Hope this helps,Duong Ng
by 項錦先 on Thu, 11 Jan at 10:18 AM as Incoming email
Thank you for your reply.
>I think you can try with>message COMMAND_LONG 1 101 2000 0 0 0 1 0 0 0 0
I tried, But there was no response, and no photo saved on the SD card.```mavproxy.py --master=/dev/ttyACM0,115200 --console --map --load-module gimbal,message
message COMMAND_LONG 1 101 2000 0 0 0 1 0 0 0 0and message COMMAND_LONG 1 101 203 0 0 0 0 0 1 0 0
```
Regards,
Koh
by duongdev on Thu, 11 Jan at 10:32 AM as Incoming email
What is your system_id and comp_id of your companion computer ?Please note that the Zio payload only accepts the commands from Autopilot (1,1), Ground control station (1,190) and Onboard computer (1,191).
by duongdev on Fri, 12 Jan at 8:47 AM as Incoming email
We tested the communication between the Zio payload and mavproxy (running on an Ubuntu PC).This command will work```mavproxy.py --master=/dev/ttyACM0,115200 --console --map --load-module gimbal,message
set source_component 191
message COMMAND_LONG 1 101 2000 0 0 0 1 0 0 0 0```We must change the source_component to 191 (onboard computer) before sending it to the Zio payload.You can set the source_component directly on your command or on the mavproxy GUI.
Hope this helps,Duong Ng
by 項錦先 on Fri, 12 Jan at 10:30 AM as Incoming email
Thank you for your reply.
using "set source_component 191" on mavproxy (mavproxy default source_component is 230)
I can save photos to the Zio payload sd card.```mavproxy.py --master=/dev/ttyACM0,115200 --console --map --load-module gimbal,message
set source_component 191
message COMMAND_LONG 1 101 203 0 0 0 0 0 1 0 0message COMMAND_LONG 1 101 2000 0 0 0 1 0 0 0 0
```
Regards,
Koh
by 項錦先 on Fri, 19 Jan at 10:33 AM as Incoming email
Thank you for your reply.
I can use "set source_component 191" on mavproxy to save photos to the Zio payload sd card by COMMAND_LONG.```# Using SITL
cd gitlab/ardupilot/ArduCopter
../Tools/autotest/sim_vehicle.py -A "--serial2=uart:/dev/ttyUSB0:115200" --console --map -D -l 34.968639174,136.9803456388,5,7module load gimbal
module load message
set source_component 191
message COMMAND_LONG 1 101 203 0 0 0 0 0 1 0 0message COMMAND_LONG 1 101 2000 0 0 0 1 0 0 0 0
```
But when I use MAV_CMD_DO_DIGICAM_CONTROL or MAV_CMD_IMAGE_START_CAPTURE in Mission.```# Using SITL
cd gitlab/ardupilot/ArduCopter
../Tools/autotest/sim_vehicle.py -A "--serial2=uart:/dev/ttyUSB0:115200" --console --map -D -l 34.968639174,136.9803456388,5,7module load gimbal
module load message
set source_component 191mode guided
arm throttle
takeoff 40
auto```But there was no response, and no photo saved on the SD card when I ran Mission.
Question:Do I need to set "set source_component 191" somewhere for Mission ?
Regards,
Koh
by Gremsy Support Team on Mon, 22 Jan at 2:26 PM as Outbound email
Thank you,
Khanh
Check your ticket status : https://support.gremsy.com/helpdesk/tickets/13552
by Gremsy Support Team on Mon, 22 Jan at 3:05 PM as Outbound email
Khanh
Check your ticket status : https://support.gremsy.com/helpdesk/tickets/13552
by Gremsy Support Team on Fri, 26 Jan at 10:57 AM as Outbound email
Khanh
Check your ticket status : https://support.gremsy.com/helpdesk/tickets/13552
by 項錦先 on Tue, 26 Mar at 8:37 PM as Incoming email
Sorry for the late reply.
I tested these new versions. But no photo files are saved in the SD card when I run the mission.
Zio-Firmware: gremsyZio_v781_Official
Zio_SoM_Firmware: Zio_v2.0.1_build.25012024
Zio_SoM_Firmware: Zio_v2.0.1.3_build.22032024
These is my tested video:
Zio_v2.0.1_build.25012024.zip
https://drive.google.com/file/d/1NKozOXzzqw-Sp5UHacuUQw5luwcCEyOe/view?usp=drive_linkZio_v2.0.1.3_build.22032024.zip
https://drive.google.com/file/d/1ORiAx3rmTqeLyApNuqcpblvCcEIu6r0L/view?usp=drive_link
Question:
by Gremsy Support Team on Wed, 27 Mar at 1:09 PM as Outbound email
Thank you,
Khanh
Check your ticket status : https://support.gremsy.com/helpdesk/tickets/13552
by duongdev on Wed, 3 Apr at 12:45 PM as Incoming email
About the issue of trigger image and control gimbal when flying a mission, we assume that you are using an Ardupilot flight controller.We found some minor bugs on the software of the Zio payload. We just released an alpha software package to fix your issues.Please help us to update your Zio payload and the issue should be fixed.Here is the new software for testing software v2.0.1.4 alphaPlease note that you MUST update the software for the camera to v2.0.1.4 and the firmware for the gimbal to v7.8.1 as well.
You can find the instruction for creating a map with the exact command for trigger image and control gimbal on the attachment file.
Hope this helps,BR,
Duong Ng
by 項錦先 on Thu, 4 Apr at 3:17 PM as Incoming email
Thank you for your reply.
Thank you for releasing an alpha software package.I will try it and let you know.
by 項錦先 on Thu, 4 Apr at 5:00 PM as Incoming email
I tried Zio_SoM_Firmware v2.0.1.4 + Zio-Firmware v7.8.1.The control gimbal when flying a mission is successful.But the trigger image action when flying a mission failed (No photo files saved in sd card).
I upload a mission item like this.Is there some wrong settings in my mavlink mission item?
MAV_CMD_DO_DIGICAM_CONTROL in MISSION_ITEMI tried these 3 type compid settings, but they did not work.
- set sysid:255 compid:190
- set sysid:1 compid:190
- set sysid:255 compid:0
18:11:36.512 GcsConnector D mission msg_item: MAVLINK_MSG_ID_MISSION_ITEM_INT - sysid:255 compid:190 param1:0.0 param2:0.0 param3:0.0 param4:0.0 x:1 y:0 z:0.0 seq:11 command:203 target_system:1 target_component:1 frame:3 current:0 autocontinue:1 mission_type:018:40:35.249 GcsConnector D mission msg_item: MAVLINK_MSG_ID_MISSION_ITEM_INT - sysid:1 compid:190 param1:0.0 param2:0.0 param3:0.0 param4:0.0 x:1 y:0 z:0.0 seq:11 command:203 target_system:1 target_component:1 frame:3 current:0 autocontinue:1 mission_type:0
18:50:51.863 GcsConnector D mission msg_item: MAVLINK_MSG_ID_MISSION_ITEM_INT - sysid:255 compid:0 param1:0.0 param2:0.0 param3:0.0 param4:0.0 x:1 y:0 z:0.0 seq:11 command:203 target_system:1 target_component:1 frame:3 current:0 autocontinue:1 mission_type:0
by Gremsy Support Team on Fri, 5 Apr at 9:13 AM as Outbound email
Khanh
Check your ticket status : https://support.gremsy.com/helpdesk/tickets/13552
by 項錦先 on Tue, 9 Apr at 2:21 PM as Incoming email
> When perform the mission, did you see the camera trigger or not?When perform the mission, I checked the camera trigger in QGroundControl UI, it seems camera trigger not happen.
Regards,
Koh
by duongdev on Wed, 10 Apr at 8:09 AM as Incoming email
Can you confirm if you can trigger the image manually ?Did you set the CAM_TYPE=5 ?Please see the picture below for the trigger command you can use in the missionAlso, can you send us your mapping plan? We can check if you are missing something.And, please confirm some software version you are using: + software for the Zio's camera
+ firmware for the Zio's gimbal + software of the Ardupilot
Waiting for your reply
BR,Duong Ng
by 項錦先 on Wed, 10 Apr at 8:42 AM as Incoming email
I am usingArduCopter simulator Copter-4.4.3Zio_SoM_Firmware v2.0.1.4 + Zio-Firmware v7.8.1.
There is no CAM_TYPE parameter in Ardupilot.I set CAM1_TYPE = 6
I am using DO_DIGICAM_CONTROL
I saved a mapping plan file from MissionPlanner, Can you check if my mapping plan is wrong?
by duongdev on Wed, 10 Apr at 8:47 AM as Incoming email
Please help us to change the CAM1_TYPE to 5 then try again.Also, we will check your mapping plan to see if there are any missing things here.
BR,Duong Ng
by 項錦先 on Wed, 10 Apr at 9:10 AM as Incoming email
Thank you for your quick response.After changing CAM1_TYPE to 5, the camera trigger in the mission is worked.
But in this zio-manual, the setting is MNT1_TYPE: “6”.https://docs.gremsy.com/payloads/zio-manual-v2/autopilot-setup/setup-with-ardupilot/3.-parameter-settings
Do we need to set CAM1_TYPE to 5 other than 6 in the future?
by 項錦先 on Wed, 10 Apr at 9:13 AM as Incoming email
Thank you for your quick response.After changing CAM1_TYPE to 5, the camera trigger in the mission is worked.
But in this zio-manual, the setting is CAM_TYPE: "6"https://docs.gremsy.com/payloads/zio-manual-v2/autopilot-setup/setup-with-ardupilot/3.-parameter-settings
Do we need to set CAM1_TYPE to 5 other than 6 in the future?
Regards,
Koh
by duongdev on Wed, 10 Apr at 9:52 AM as Incoming email
It is a minor bug of Ardupilot, we will update the manual asap.You need to set CAM1_TYPE=5 for now.
Good to hear that you can trigger images in the mission.Go ahead.
BR,Duong Ng
Attachments (1)
user-guide-s....pdf
814 KB
0 Votes
0 Comments