drc心跳丢失
已完成你好 机器:机场2代 场景:三方云调用机场2
问题1:drc总是失去心跳
1.1这是进入控制模式连接状态参数
{
"method": "drc_mode_enter",
"data": {
"hsi_frequency": 1,
"osd_frequency": 21,
"mqtt_broker": {
"enable_tls": false,
"password": "******",
"address": "*****:1883",
"expire_time": 1723429528,
"client_id": "provider-djiddrc",
"username": "*****"
}
},
"bid": "06176508-221f-4341-b294-4b65a624f3da",
"tid": "6a98dbd8-ecb9-4785-b0d5-7caaacc8dbcb",
"timestamp": 1723425928784
}
过期时间 我加了3600s
1.2 这是心跳的参数 发送后机场未回复
{
"method": "heart_beat",
"data": {
"seq": 1,
"timestamp": 1723204330005
},
"seq": 1
}
发送心跳的机器未回复 请问该如何排查解决??心跳 seq 也尝试过用其他参数 始终未来回复 心跳是定时任务 5s一次(
补充 心跳之前回复过 现在没有回复了 这是之前的参数
{
"method": "heart_beat",
"data": {
"seq": 3,
"timestamp": 1722957680002
},
"seq": 3
}
)
问题2.三方云 调机场2 拍完照后 照片自动上传如何设置啊 麻烦帮忙解答一下 感谢
-
尊敬的开发者, 您好,感谢您联系DJI 大疆创新。 1.心跳的seq可以不填,已作废。drc未链接就无法下发drc/up相关指令机场也不会回复,需要先进入drc状态再下发心跳维持。drc_mode_enter这个加过期时间没用,需要心跳维持链接。 2.抱歉,这边给您复制下链接:https://sdk-forum.dji.net/hc/zh-cn/articles/25498021619481-%E6%9C%BA%E5%9C%BA%E5%AA%92%E4%BD%93%E6%96%87%E4%BB%B6%E6%97%A0%E6%B3%95%E4%B8%8A%E4%BC%A0?auth_token=eyJhbGciOiJIUzI1NiJ9.eyJhY2NvdW50X2lkIjo5Nzg4MTcsInVzZXJfaWQiOjI4MzA3Mjk0Nzg3LCJ0aWNrZXRfaWQiOjExNDMxMCwiY2hhbm5lbF9pZCI6NjMsInR5cGUiOiJTRUFSQ0giLCJleHAiOjE3MjYwMjkxNzR9.WuD9FY1kEPO3DOZh76vIOevLef2i2s5cesXFSuFd68c&source=search 希望我们的解决方案能够帮到您,感谢您的邮件,祝您生活愉快! Best Regards, DJI 大疆创新SDK技术支持 -
感谢解答 机场文件还是未上传 根据文档分析后还是有下面的问题 希望您这边帮忙解答
机场的osd 的remain_upload = 5
{
"bid": "60247306-efbd-4e05-9870-53b670b7647f",
"data": {
"drc_state": 0,
"flighttask_prepare_capacity": 1,
"flighttask_step_code": 5,
"media_file_detail": {
"remain_upload": 5
},
"sdr": {
"down_quality": 0,
"frequency_band": 2.4,
"up_quality": 100
},
"user_experience_improvement": 1,
"wireless_link": {
"4g_freq_band": 2.4,
"4g_gnd_quality": 0,
"4g_link_state": 0,
"4g_quality": 0,
"4g_uav_quality": 0,
"dongle_number": 0,
"link_workmode": 0,
"sdr_freq_band": 2.4,
"sdr_link_state": 0,
"sdr_quality": 0
}
},
"tid": "649d2746-4a21-4540-8f37-d35c73ffd938",
"timestamp": 1723517482222,
"gateway": "7CTDM3D00BVY4C"
}机场的envents 显示有照片
{
"bid": "7f7a3360-c893-49ac-be76-ff52fba999bc",
"data": {
"list": [
{
"properties": {
"flight_id": "2483",
"media_end_time": 1723517442312,
"media_start_time": 1723517442205,
"name": "/2483/DJI_202408131029_003_2483/DJI_20240813103549_0001_V.jpeg",
"size": -1
},
"sn": "7CTDM3D00BVY4C",
"timestamp": 1723517472215,
"type": "media_upload_track"
},
{
"properties": {
"flight_id": "2483",
"media_end_time": 1723517442442,
"media_start_time": 1723517442326,
"name": "/2483/DJI_202408131029_003_2483/DJI_20240813103652_0002_V.jpeg",
"size": -1
},
"sn": "7CTDM3D00BVY4C",
"timestamp": 1723517472215,
"type": "media_upload_track"
},
{
"properties": {
"flight_id": "2483",
"media_end_time": 1723517442570,
"media_start_time": 1723517442447,
"name": "/2483/DJI_202408122133_003_2483/DJI_20240812214139_0002_V.jpeg",
"size": -1
},
"sn": "7CTDM3D00BVY4C",
"timestamp": 1723517472215,
"type": "media_upload_track"
},
{
"properties": {
"flight_id": "2483",
"media_end_time": 1723517442684,
"media_start_time": 1723517442575,
"name": "/2483/DJI_202408122133_003_2483/DJI_20240812214113_0001_V.jpeg",
"size": -1
},
"sn": "7CTDM3D00BVY4C",
"timestamp": 1723517472215,
"type": "media_upload_track"
},
{
"properties": {
"flight_id": "2483",
"media_end_time": 1723517442801,
"media_start_time": 1723517442689,
"name": "/2483/DJI_202408130923_003_2483/DJI_20240813092611_0001_V.jpeg",
"size": -1
},
"sn": "7CTDM3D00BVY4C",
"timestamp": 1723517472215,
"type": "media_upload_track"
},
{
"properties": {
"flight_id": "2483",
"media_end_time": 1723517457780,
"media_start_time": 1723517447186,
"name": "/2483/DJI_202408131029_003_2483/DJI_20240813103549_0001_V.jpeg",
"size": -1
},
"sn": "7CTDM3D00BVY4C",
"timestamp": 1723517472215,
"type": "media_upload_track"
},
{
"properties": {
"flight_id": "2483",
"media_end_time": 1723517457910,
"media_start_time": 1723517457785,
"name": "/2483/DJI_202408131029_003_2483/DJI_20240813103652_0002_V.jpeg",
"size": -1
},
"sn": "7CTDM3D00BVY4C",
"timestamp": 1723517472215,
"type": "media_upload_track"
},
{
"properties": {
"flight_id": "2483",
"media_end_time": 1723517458037,
"media_start_time": 1723517457912,
"name": "/2483/DJI_202408122133_003_2483/DJI_20240812214139_0002_V.jpeg",
"size": -1
},
"sn": "7CTDM3D00BVY4C",
"timestamp": 1723517472215,
"type": "media_upload_track"
},
{
"properties": {
"flight_id": "2483",
"media_end_time": 1723517458147,
"media_start_time": 1723517458039,
"name": "/2483/DJI_202408122133_003_2483/DJI_20240812214113_0001_V.jpeg",
"size": -1
},
"sn": "7CTDM3D00BVY4C",
"timestamp": 1723517472215,
"type": "media_upload_track"
},
{
"properties": {
"flight_id": "2483",
"media_end_time": 1723517458259,
"media_start_time": 1723517458148,
"name": "/2483/DJI_202408130923_003_2483/DJI_20240813092611_0001_V.jpeg",
"size": -1
},
"sn": "7CTDM3D00BVY4C",
"timestamp": 1723517472215,
"type": "media_upload_track"
},
{
"properties": {
"flight_id": "2483",
"media_end_time": 1723517462279,
"media_start_time": 1723517462144,
"name": "/2483/DJI_202408131029_003_2483/DJI_20240813103549_0001_V.jpeg",
"size": -1
},
"sn": "7CTDM3D00BVY4C",
"timestamp": 1723517472215,
"type": "media_upload_track"
},
{
"properties": {
"flight_id": "2483",
"media_end_time": 1723517462418,
"media_start_time": 1723517462303,
"name": "/2483/DJI_202408131029_003_2483/DJI_20240813103652_0002_V.jpeg",
"size": -1
},
"sn": "7CTDM3D00BVY4C",
"timestamp": 1723517472215,
"type": "media_upload_track"
},
{
"properties": {
"flight_id": "2483",
"media_end_time": 1723517462557,
"media_start_time": 1723517462430,
"name": "/2483/DJI_202408122133_003_2483/DJI_20240812214139_0002_V.jpeg",
"size": -1
},
"sn": "7CTDM3D00BVY4C",
"timestamp": 1723517472215,
"type": "media_upload_track"
},
{
"properties": {
"flight_id": "2483",
"media_end_time": 1723517462704,
"media_start_time": 1723517462572,
"name": "/2483/DJI_202408122133_003_2483/DJI_20240812214113_0001_V.jpeg",
"size": -1
},
"sn": "7CTDM3D00BVY4C",
"timestamp": 1723517472215,
"type": "media_upload_track"
},
{
"properties": {
"flight_id": "2483",
"media_end_time": 1723517462834,
"media_start_time": 1723517462719,
"name": "/2483/DJI_202408130923_003_2483/DJI_20240813092611_0001_V.jpeg",
"size": -1
},
"sn": "7CTDM3D00BVY4C",
"timestamp": 1723517472215,
"type": "media_upload_track"
},
{
"properties": {
"flight_id": "2483",
"media_end_time": 1723517467315,
"media_start_time": 1723517467156,
"name": "/2483/DJI_202408131029_003_2483/DJI_20240813103549_0001_V.jpeg",
"size": -1
},
"sn": "7CTDM3D00BVY4C",
"timestamp": 1723517472215,
"type": "media_upload_track"
},
{
"properties": {
"flight_id": "2483",
"media_end_time": 1723517467425,
"media_start_time": 1723517467327,
"name": "/2483/DJI_202408131029_003_2483/DJI_20240813103652_0002_V.jpeg",
"size": -1
},
"sn": "7CTDM3D00BVY4C",
"timestamp": 1723517472215,
"type": "media_upload_track"
},
{
"properties": {
"flight_id": "2483",
"media_end_time": 1723517467563,
"media_start_time": 1723517467442,
"name": "/2483/DJI_202408122133_003_2483/DJI_20240812214139_0002_V.jpeg",
"size": -1
},
"sn": "7CTDM3D00BVY4C",
"timestamp": 1723517472216,
"type": "media_upload_track"
},
{
"properties": {
"flight_id": "2483",
"media_end_time": 1723517467698,
"media_start_time": 1723517467569,
"name": "/2483/DJI_202408122133_003_2483/DJI_20240812214113_0001_V.jpeg",
"size": -1
},
"sn": "7CTDM3D00BVY4C",
"timestamp": 1723517472216,
"type": "media_upload_track"
},
{
"properties": {
"flight_id": "2483",
"media_end_time": 1723517467821,
"media_start_time": 1723517467703,
"name": "/2483/DJI_202408130923_003_2483/DJI_20240813092611_0001_V.jpeg",
"size": -1
},
"sn": "7CTDM3D00BVY4C",
"timestamp": 1723517472216,
"type": "media_upload_track"
}
]
},
"method": "track",
"tid": "cd12341f-8bfd-4fca-8226-d6d833919a86",
"timestamp": 1723517472216,
"gateway": "7CTDM3D00BVY4C"
}1.但是一直未触发获取上传凭证(storage_config_get 方法) 请问 上传凭证是否是自动上传时获取???
2.file_upload_callback方法(媒体文件上传结果上报) 一直也没有消息
3. highest_priority_upload_flighttask_media 未回复是否影响图片上传
4.想问下 如何判断 上传问题出在哪
5.remain_upload是指任务数量还是 图片数量
场景补充:
remain_upload 有 3 4 5的变化 但是没有0 1 2 的变化??
下发过几次任务 任务id一致 第一次机场有发送storage_config_get和highest_priority_upload_flighttask_media方法
后续就没有请求过了
-
尊敬的开发者, 您好,感谢您联系DJI 大疆创新。 抱歉,这边详细回复下。 1.是的,自动上传触发 2. 1没触发,2也无法触发。先后顺序 获取临时凭证 每次媒体文件上传时,需要向服务端获取临时文件上传凭证,这样机场在上传时会带上该凭证给对象存储服务进行校验。 媒体文件上传结果上报 媒体文件传输结束后,机场会调用该接口向服务端告知对应的媒体文件上传结果。 3.不影响 4.可以从以下几点排查:1.检查sd卡是否真正产生了媒体文件,2.如果产生了媒体文件,但是没自动上传,看下是不是无人机未起飞时的媒体文件,这种不会上传,只有无人机起飞的会上传 3.检查oss服务器是否配置正确,可以拍摄照片pilot上传测试下。 相关文档:1.机场媒体文件无法上传 2.媒体文件上传失败是什么原因? 3.机场和飞机的媒体文件会自动删除吗? 希望我们的解决方案能够帮到您,感谢您的邮件,祝您生活愉快! Best Regards, DJI 大疆创新SDK技术支持 -
尊敬的开发者, 您好,感谢您联系DJI 大疆创新。 下次提工单,该页面可以直接跳转链接。都在上云API技术论坛里,以下是地址链接 1.https://sdk-forum.dji.net/hc/zh-cn/articles/25498021619481-%E6%9C%BA%E5%9C%BA%E5%AA%92%E4%BD%93%E6%96%87%E4%BB%B6%E6%97%A0%E6%B3%95%E4%B8%8A%E4%BC%A0?auth_token=eyJhbGciOiJIUzI1NiJ9.eyJhY2NvdW50X2lkIjo5Nzg4MTcsInVzZXJfaWQiOjI4MzA3Mjk0Nzg3LCJ0aWNrZXRfaWQiOjExNDMxMCwiY2hhbm5lbF9pZCI6NjMsInR5cGUiOiJTRUFSQ0giLCJleHAiOjE3MjYxMjUzOTF9.Z-uYMQNqFEgT5a1AsVy795W6j_UGbYX7GeOLdZlGPsI&source=search 2.https://sdk-forum.dji.net/hc/zh-cn/articles/5266653152793-%E5%AA%92%E4%BD%93%E6%96%87%E4%BB%B6%E4%B8%8A%E4%BC%A0%E5%A4%B1%E8%B4%A5%E6%98%AF%E4%BB%80%E4%B9%88%E5%8E%9F%E5%9B%A0?auth_token=eyJhbGciOiJIUzI1NiJ9.eyJhY2NvdW50X2lkIjo5Nzg4MTcsInVzZXJfaWQiOjI4MzA3Mjk0Nzg3LCJ0aWNrZXRfaWQiOjExNDMxMCwiY2hhbm5lbF9pZCI6NjMsInR5cGUiOiJTRUFSQ0giLCJleHAiOjE3MjYxMjUzOTF9.Z-uYMQNqFEgT5a1AsVy795W6j_UGbYX7GeOLdZlGPsI&source=search 3.https://sdk-forum.dji.net/hc/zh-cn/articles/22414671786521-%E6%9C%BA%E5%9C%BA%E5%92%8C%E9%A3%9E%E6%9C%BA%E7%9A%84%E5%AA%92%E4%BD%93%E6%96%87%E4%BB%B6%E4%BC%9A%E8%87%AA%E5%8A%A8%E5%88%A0%E9%99%A4%E5%90%97?auth_token=eyJhbGciOiJIUzI1NiJ9.eyJhY2NvdW50X2lkIjo5Nzg4MTcsInVzZXJfaWQiOjI4MzA3Mjk0Nzg3LCJ0aWNrZXRfaWQiOjExNDMxMCwiY2hhbm5lbF9pZCI6NjMsInR5cGUiOiJTRUFSQ0giLCJleHAiOjE3MjYxMjUzOTF9.Z-uYMQNqFEgT5a1AsVy795W6j_UGbYX7GeOLdZlGPsI&source=search 希望我们的解决方案能够帮到您,感谢您的邮件,祝您生活愉快! Best Regards, DJI 大疆创新SDK技术支持 -
osd的数据 待上传时11
{
"bid": "1cfb845d-9c76-42ef-b9c4-9dfc770863dd",
"data": {
"drc_state": 0,
"flighttask_prepare_capacity": 1,
"flighttask_step_code": 5,
"media_file_detail": {
"remain_upload": 11
},
"sdr": {
"down_quality": 0,
"frequency_band": 2.4,
"up_quality": 100
},
"user_experience_improvement": 1,
"wireless_link": {
"4g_freq_band": 2.4,
"4g_gnd_quality": 0,
"4g_link_state": 0,
"4g_quality": 0,
"4g_uav_quality": 0,
"dongle_number": 0,
"link_workmode": 0,
"sdr_freq_band": 2.4,
"sdr_link_state": 0,
"sdr_quality": 0
}
},
"tid": "c8b72e4c-f02f-4e76-9faf-29c737c2bad4",
"timestamp": 1723728707077,
"gateway": "7CTDM3D00BVY4C"
}想问下 任务飞行完成后 一直未发送请求来 获取上传临时凭证???是什么原因导致的?
重启的时候 机场倒是会 获取一次上传凭证!!!!!
关于您说的解决方案
1.机场2我咨询了客服 暂时不知道怎么获取机场2 的sd卡
2.我们是下发任务的拍照3.就没到获取 oss配置 每次任务后不会来请求获取 oss配置
请先登录再写评论。
评论
10 条评论