I would like to access the flight logs after simulation. Is there any folder in px4 directory of local system where flight log of simulation stored?
If it's a ROS simulation, you'll find them here ~/.ros/rootfs/fs/microsd/log
In case of px4 it is /Firmware/buid/posix_sitl_default/tmp/rootfs/fs/microsd/log
They're the same. The rootfs in the .Ros folder is a symbolic link to the other.