Skip to content

Commit

Permalink
Issue #3: Add comment, remove unnecessary assert
Browse files Browse the repository at this point in the history
  • Loading branch information
figuernd committed Mar 30, 2023
1 parent 6c14070 commit 3aea221
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions configs/example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ ifcb:
port: 8092
serial: "111-111-111"
routines_dir: "/routines"
# This path is interpreted by IFCBacquire, which may be in another
# container or namespace.
data_dir: "/mnt/data/ifcbdata"

motor:
Expand Down
1 change: 0 additions & 1 deletion src/ifcb/src/ifcb/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ def do_runroutine(client, pub, req):
return srv.RunRoutineResponse(success=False)

# Check for beads routines
assert rospy.get_param("~data_dir") is not None
if req.routine == 'beads':
send_command(client, pub, f'daq:setdatafolder:{rospy.get_param("~data_dir")}/beads')
else:
Expand Down

0 comments on commit 3aea221

Please sign in to comment.