I have created a custom uORB topic, that publishes GPS data (custom). The uORB topic name is
gps_fake, and I have verified that the messages are being published by typing the uORB topic name in the px4 console (
pxh> gps_fake). I wanted the logger to log data from this topic as well, so I added only the relavant topic names in the
logger_topics.txt file present in the
PX4-Autopilot/build/px4_sitl_default/tmp/rootfs/fs/microsd/etc/logging folder, as suggested here.
logger_topics.txt file contains the following uORB topics:
However, when I run the simulation successfully, and try to download the log files from the QGroundControl software, all the default topics are only logged. The topic
gps_fake is not logged at all.
Can someone please help me with this?
Thanks in advance.