Skip to content

Commit

Permalink
Create log files at init
Browse files Browse the repository at this point in the history
  • Loading branch information
Vivek T committed May 3, 2024
1 parent 6c1fc84 commit c18f5c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pxrf/scripts/pxrf_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ def __init__(self):
self.gps_quaternion = np.zeros(4)
self.gps_odom_heading = 0

self.create_log_file()
rospy.loginfo("Started PXRF Handler...")

rospy.spin()
Expand Down Expand Up @@ -185,7 +186,6 @@ def data_listener(self, data: PxrfMsg):
self.gps_odom_heading,
]


self.algorithm_type = rospy.get_param(self._algorithm_type_param_name)
self.data_file = os.path.join(self.data_dir, "scan_results_" + self.algorithm_type + ".csv")

Expand Down

0 comments on commit c18f5c4

Please sign in to comment.