Trouble with mavproxy on rpi

I am running latest version of PX4 on quad with a raspberry pi4 companion computer. I updates all libs and software on pi. Mavproxy appears to initiate properly; however, I am unable to change flight modes. The mavproxy session is as follows (how can I resolve this problem):

pi@raspberrypi:~ $ python3 ./.local/bin/mavproxy.py --master=/dev/ttyAMA0 --out 127.0.0.1:14550 --out 127.0.0.1:14551 --out=udpout=0.0.0.0:14550

Connect /dev/ttyAMA0 source_system=255

Log Directory:

Telemetry log: mav.tlog

Waiting for heartbeat from /dev/ttyAMA0

MAV> Detected vehicle 1:1 on link 0

online system 1

MANUAL> Mode MANUAL

fence breach

MANUAL> mode STABILIZED

MANUAL> ERROR in command [‘STABILIZED’]: required argument is not a float

MANUAL>

Hello were you able to solve this?

Mavproxy is mostly compatible with ArduPilot and not PX4, so the flight modes likely won’t work well with PX4.

There is work going on for mavlink to support common flight modes to address this problem in the future.

how did you do the connection ? because with cuav v5+ and rpi 4 they aren’t communicating .