Skip to content

Commit

Permalink
Fix roscore switch in startup script; better tracing for AML failures…
Browse files Browse the repository at this point in the history
…; remove class filter
  • Loading branch information
figuernd committed Dec 23, 2024
1 parent 06dd4ff commit 9cb8d83
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion phyto-arm
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def _start(args):
env['ROS_LOG_DIR'] = log_dir

# The following should only launch once, with the main PhytO-ARM processes
roscore = None
rosbag = roscore = None
if args.launch_name == "main":
# Before we continue compress any older log files
#print('Compressing older logs')
Expand Down
2 changes: 1 addition & 1 deletion src/aml_ctd/src/aml_ctd_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ async def main():
try:
parsed = amlxparser.parseAMLx(msg.data.decode())
except:
rospy.logerr(f'Failed to parse: {msg.data.decode()}')
rospy.logerr(f'Failed to parse: {msg.data.decode()}', exc_info=True)
continue

# Create a lookup table of measurements
Expand Down
2 changes: 1 addition & 1 deletion src/phyto_arm/launch/rosbag.launch
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ timestamps, or generate reports. See http://wiki.ros.org/rosbag/Cookbook
<arg name="rosbag_duration" default="60m" />

<node name="rosbag_record" pkg="rosbag" type="record"
args="$(eval 'record --all --exclude /camera/.*|/ifcb/image|/ifcb/in|/ifcb/roi/.*|/rosout_agg --output-prefix ' + arg('rosbag_prefix') + (' --split --size ' + str(arg('rosbag_size')) if arg('rosbag_size') else '') + (' --split --duration ' + str(arg('rosbag_duration')) if arg('rosbag_duration') else '') + ' --publish --lz4')" />
args="$(eval 'record --all --exclude /camera/.*|/ifcb/image|/ifcb/in|/ifcb/roi/image|/rosout_agg --output-prefix ' + arg('rosbag_prefix') + (' --split --size ' + str(arg('rosbag_size')) if arg('rosbag_size') else '') + (' --split --duration ' + str(arg('rosbag_duration')) if arg('rosbag_duration') else '') + ' --publish --lz4')" />
</launch>

0 comments on commit 9cb8d83

Please sign in to comment.