The GUI plugin for steering the vehicle actor keeps failing

In the Follow Me tutorial under the Advanced Topics, spawning the pedestrian and vehicle actors with different paths work for me but the last section about controlling the vehicle’s throttle, brake, and steering with the keyboard keeps failing and I can’t get the plugin to work.

When I run this command:

sphinx /opt/parrot-sphinx/usr/share/sphinx/worlds/ \
/opt/parrot-sphinx/usr/share/sphinx/drones/anafi4k.drone::name=follower::pose=starting_pen \

sphinx opens up fine. However, as soon as I added this code snippet:

<plugin name="libsphinx_vehicle_gui" filename="">

before the </gui> tag in the and re-run the same command, I get this error:

[Msg] Preparation of firmware
I shd: omniscient_vehicle: opened: sample_count=4000 sample_size=192 sample_rate=1000 metadata_size=1125
I shd: wind: opened: sample_count=4000 sample_size=24 sample_rate=1000 metadata_size=125
[libprotobuf FATAL ./google/protobuf/repeated_field.h:1575] CHECK failed: (n) >= (0): 
terminate called after throwing an instance of 'google::protobuf::FatalException'
  what():  CHECK failed: (n) >= (0): 
*** Aborted
Register dump:

 RAX: 0000000000000000   RBX: 0000564a8742cd70   RCX: 00007ffb1eb03fb7
 RDX: 0000000000000000   RSI: 00007fff25258ac0   RDI: 0000000000000002
 RBP: 00007ffb1eeb1840   R8 : 0000000000000000   R9 : 00007fff25258ac0
 R10: 0000000000000008   R11: 0000000000000246   R12: 0000564a874248a0
 R13: 00007fff25258e70   R14: 000000000000000d   R15: 0000564a87447350
 RSP: 00007fff25258ac0

 RIP: 00007ffb1eb03fb7   EFLAGS: 00000246

 CS: 0033   FS: 0000   GS: 0000

 Trap: 00000000   Error: 00000000   OldMask: 00000000   CR2: 00000000

 FPUCW: 0000037f   FPUSW: 00000000   TAG: 00000000
 RIP: 00000000   RDP: 00000000

 ST(0) 0000 0000000000000000   ST(1) 0000 0000000000000000
 ST(2) 0000 0000000000000000   ST(3) 0000 0000000000000000
 ST(4) 0000 0000000000000000   ST(5) ffff a000000000000000
 ST(6) ffff a000000000000000   ST(7) a000 a000000000000000
 mxcsr: 1fa7
 XMM0:  000000000000000000000000ffffffff XMM1:  000000000000000000000000ffffffff
 XMM2:  000000000000000000000000ffffffff XMM3:  000000000000000000000000ffffffff
 XMM4:  000000000000000000000000ffffffff XMM5:  000000000000000000000000ffffffff
 XMM6:  000000000000000000000000ffffffff XMM7:  000000000000000000000000ffffffff
 XMM8:  000000000000000000000000ffffffff XMM9:  000000000000000000000000ffffffff
 XMM10: 000000000000000000000000ffffffff XMM11: 000000000000000000000000ffffffff
 XMM12: 000000000000000000000000ffffffff XMM13: 000000000000000000000000ffffffff
 XMM14: 000000000000000000000000ffffffff XMM15: 000000000000000000000000ffffffff


Memory map:

40427000-404d6000 rw-p 00000000 00:00 0 
40e5a000-40f09000 rw-p 00000000 00:00 0 
410f7000-411a6000 rw-p 00000000 00:00 0 
41632000-41634000 r-xs 00000000 00:01 155884                             /memfd:/.glXXXXXX (deleted)
564a81e56000-564a82235000 r-xp 00000000 00:1b 650003                     /opt/parrot-sphinx/usr/bin/gzclient-7.0.1
564a82434000-564a8243a000 r--p 003de000 00:1b 650003                     /opt/parrot-sphinx/usr/bin/gzclient-7.0.1
564a8243a000-564a8243b000 rw-p 003e4000 00:1b 650003                     /opt/parrot-sphinx/usr/bin/gzclient-7.0.1
564a8243b000-564a8243c000 rw-p 00000000 00:00 0 
564a8386f000-564a87888000 rw-p 00000000 00:00 0                          [heap]
7ffa48000000-7ffa48032000 rw-p 00000000 00:00 0 
7ffa48032000-7ffa4c000000 ---p 00000000 00:00 0 
7ffa4c000000-7ffa4c021000 rw-p 00000000 00:00 0 
7ffa4c021000-7ffa50000000 ---p 00000000 00:00 0 
7ffa50000000-7ffa50081000 rw-p 00000000 00:00 0 
7ffa50081000-7ffa54000000 ---p 00000000 00:00 0 
7ffa54000000-7ffa54021000 rw-p 00000000 00:00 0 

How can I fix it?

I also would like to know if there is a way to spawn a vehicle without a path and then control it using shell commands only (which I will call from a python script) because I want to study different interactions between the drone and the vehicle so it’d be easier if I can control them directly?

Hello, we are currently updating all our SDK tools - including Sphinx - for the release of ANAFI Ai.
This item won’t be fixed until the new release is deployed.

Hi Jerome. Thank you for your reply.

I am aware that people have asked something like the following question before in other threads, but I feel the new SDK tools will be unveiled anytime soon which I can’t wait to see. Any hint on which month that will happen in?

I completely understand if you cannot answer it for any reason.

Keep up the amazing work!

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.