Closed weiweikong closed 7 years ago
I don't have ROS installed, so I cannot test it. It seems ROS uses $ROS_HOME as working directory, so you can start to look in there if you find an .ulg file.
@bkueng Thank you for your reply.
In my opinion, the $ROS_HOME
folder only recorded the related terminal feedback. I tried and checked the folder, but there are
✔ amax@amax-X10DRi|~/.ros/log/04bea1e2-cf0b-11e6-a4ea-002590fdcfd7
07:55:34 $ ls
keyboard-1-stdout.log
master.log
roslaunch-amax-X10DRi-10770.log
roslaunch-amax-X10DRi-11634.log
rosout-1-stdout.log
rosout.log
vehicle_spawn_amax_X10DRi_10770_1154193950404211463-5.log
In previous tests, without MAVROS, such as running make posix_sitl_default gazebo
instead of roslaunch px4 mavros_posix_sitl.launch
, the .px4log
and .ulg
saved correctly in the build_posix_sitl_default/rootfs/fs/microsd/log/
folder whith is independent of $ROS_HOME
folder.
Please reopen if this is still an issue. It works fine for me locally.
@weiweikong or @mhkabir I am facing the same Issue. I am running my simulation with mavros and .ulg is not saved correctly. If I instead make posix_sitl_default gazebo then it stores the log files correctly. How did you solve the problem? Best Nils
I tried to use current master version to test the my algorithms by
.ulg
log file usingThe system worked well as follwoing
I could ARM and DISARM correctly through MAVROS, but the system did not save the log file correctly even though the terminal told me
I checked that the folder
Firmware/build_posix_sitl_default/tmp/rootfs/fs/microsd/log/2016-12-31
was clean. Also, I searched the wholeFimware
folder bybut got nothing.