Setting message rates via a file doesn’t appear to work. Can I get an example or more documentation on this? Requesting Data From The Autopilot — Dev documentation
Post your non working file
message-intervals-chan0.txt (63 Bytes)
That is for the USB. You probably want this for TELEM1 or TELEM2 channels instead.
Rename the file.
It doesn’t work regardless of channel. And I’ve ensured Mission Planner isn’t altering the stream rates. It goes directly in the root APM folder on the sd card right?
It appears I am not the only one: Setting Mavlink intervals with txt file doesn't work with MP or QGC
I’ve tested the file uploaded here by flashing Copter to a CubeBlack and resetting its parameters. The only parameter set was
FRAME_CLASS to 1. I was connected via USB.
The upload was accomplished with:
ftp put /tmp/message-intervals-chan0.txt
set streamrate -1 to stop MAVProxy adjusting the streamrates.
I uploaded the file supplied in a comment above.
Past a reboot, this seems to work as intended:
messagerate status STABILIZE> ATTITUDE: 1.0/s COMMAND_ACK: 0.4/s EXTENDED_SYS_STATE: 1.0/s GLOBAL_POSITION_INT: 1.0/s HEARTBEAT: 1.0/s SYSTEM_TIME: 1.0/s VFR_HUD: 1.0/s
So I’m currently unable to replicate your problems… Could you try with a bare board, starting from scratch and doing roughly what I did here?
… not specified on this issue was which flight controller is in use; a flight controller needs >1024kB to have this feature built into our standard firmwares.