Simulator based tests¶
ESP side¶
For the ESP side, I have traditionally used the ESP clone under my carueda account on bufflehead. (However, it is possible to set up the ESP software on any other Linux box, and even on a Mac as Brent has told me.)
Typically, to reflect a similar setup as in real operations, the ESP simulator on bufflehead is to connect to the LRAUV when the time comes for a new sample.
$ cd esp2
$ git pull origin master
$ . ESPenv auv honu
$ ESPmode=simrapid
$ esp
Here, I usually check on the available cartridges, probably resetting them as needed, see below for relevant commands.
(To be continued ... In the meantime, you can look at some specific tests.)
Misc ESP commands¶
Resetting all cartridges¶
Brent: can you remind me how to reset all cartridges to dry?
-> slot All=>:dry
However, you probably also want to set the cartridge type.
To set all carts to :dry and assign their type as well:
-> slot All=>[cartType]
where cartType is one of:
-> Cartridge.types
[:aRNAl_bac,
:aRNAl_phyto,
:aRNAl_zoo,
:archiveHiBiomass_bac,
:archiveNull_bac,
:archive_bac,
:archive_phyto,
:archive_zoo,
:daSPR_bac,
:daSPR_phyto,
:daSPR_phyto9,
:daSPR_zoo,
:lyseHold_bac,
:lyseHold_phyto,
:lyseHold_zoo,
:lyseNull_bac,
:microSPR_bac,
:microSPR_phyto,
:microSPR_zoo,
:unknown]
-> slot All=>[:daSPR_bac]