Public Member Functions | |
def | __init__ |
def | clearMsgList |
def | getMsgList |
def | loadBagFile |
def | loadBagFileAsync |
def | loadBagFileInternal |
def | mtraceCallback |
def | rosTopicThread |
def | startRosRecording |
Private Attributes | |
_msg_list | |
_mutex | |
_ros_topic_thread | |
_topic_subs |
Class to record and keep trace of MotorTrace messages
Definition at line 59 of file mtrace_recorder.py.
def mtrace_recorder.MtraceRecorder.__init__ | ( | self | ) |
Definition at line 61 of file mtrace_recorder.py.
def mtrace_recorder.MtraceRecorder.clearMsgList | ( | self | ) |
Definition at line 72 of file mtrace_recorder.py.
def mtrace_recorder.MtraceRecorder.getMsgList | ( | self | ) |
Definition at line 67 of file mtrace_recorder.py.
def mtrace_recorder.MtraceRecorder.loadBagFile | ( | self, | |
bag_filename | |||
) |
Loads all MotorTrace messages from a given bag file
Definition at line 85 of file mtrace_recorder.py.
def mtrace_recorder.MtraceRecorder.loadBagFileAsync | ( | self, | |
bag_filename | |||
) |
Starts background thread that loads all MotorTrace messages from a given bag file
Definition at line 90 of file mtrace_recorder.py.
def mtrace_recorder.MtraceRecorder.loadBagFileInternal | ( | self, | |
bag | |||
) |
Internal, loads all MotorTrace messages from a given bag file
Definition at line 76 of file mtrace_recorder.py.
def mtrace_recorder.MtraceRecorder.mtraceCallback | ( | self, | |
msg, | |||
topic | |||
) |
Definition at line 98 of file mtrace_recorder.py.
def mtrace_recorder.MtraceRecorder.rosTopicThread | ( | self | ) |
Definition at line 104 of file mtrace_recorder.py.
def mtrace_recorder.MtraceRecorder.startRosRecording | ( | self | ) |
Starts recoarding messages from any ROS topic that has a MotorTrace type scans for new ROS MotorModel topics every second and subscribes to every new one
Definition at line 130 of file mtrace_recorder.py.
Definition at line 61 of file mtrace_recorder.py.
mtrace_recorder.MtraceRecorder::_mutex [private] |
Definition at line 61 of file mtrace_recorder.py.
Definition at line 61 of file mtrace_recorder.py.
Definition at line 61 of file mtrace_recorder.py.