Maximum number of services

Hi,

I’d like to know if there is a maximum number of services that can be added to the file mission.json under product/common/skel. I’ve tried to add more than 8 services but I got this error :

E module_mission(webserver-336/civetweb-worker-470): mission_install_now:328: mission_mngr_install err=22(Invalid argument)

Thanks,
Eliott

Hi
Could you please share your mission.json file ?
Thanks
Nicolas

Hi @ndessart,

Here is the content of my mission.json file :

{
	"uid": "com.parrot.missions.samples.hello",
	"name": "Hello mission",
	"desc": "This is a simple 'Hello' mission",
	"version": "0.0.0",
	"target_model_id": "091A",
	"target_min_version": "0.0.0",
	"target_max_version": "99.99.99",
	"services" : [
		["hello-cv0", "airsdk-cv-service0", "arg1", "arg2"],
        ["hello-cv1", "airsdk-cv-service1", "arg1", "arg2"],
        ["hello-cv2", "airsdk-cv-service2", "arg1", "arg2"],
        ["hello-cv3", "airsdk-cv-service3", "arg1", "arg2"],
        ["hello-cv4", "airsdk-cv-service4", "arg1", "arg2"],
        ["hello-cv5", "airsdk-cv-service5", "arg1", "arg2"],
        ["hello-cv6", "airsdk-cv-service6", "arg1", "arg2"],
        ["hello-cv7", "airsdk-cv-service7", "arg1", "arg2"],
        ["hello-cv8", "airsdk-cv-service8", "arg1", "arg2"]
    ]
}

Everything works fine when I remove one the 9 services (doesn’t matter which one), but with the 9 services I can’t launch the mission on the simulated drone. I get this 2 errors :

E module_mission(webserver-326/civetweb-worker-440): mission_install_now:328: mission_mngr_install err=22(Invalid argument)

and

[ERROR] olympe.missions.ANAFI Ai 000000 - _install - Error while reading the mission tarball (bad file format or signature ?)

Thanks,
Eliott

This topic was automatically closed after 30 days. New replies are no longer allowed.