Some tests require a connected emulator to run. To connect your system to emulation you must have the OT-3 Emulator set up and running.
Tests will default to using vcan0
as their SocketCAN network. If you wish to change
the network, then specify the CAN_CHANNEL
environment variable with the name of
your network.
The opentrons-hardware
package includes some utility scripts.
This will generate a C++ header file defining constants shared between firmware and the opentrons-hardware
package.
opentrons_generate_header --target TARGET
Example: opentrons_generate_header --target some_file.h
This is a tool for sending messages to firmware over CAN bus
opentrons_can_comm --interface INTERFACE [--bitrate BITRATE]
[--channel CHANNEL]
Example: opentrons_can_comm --interface socketcan --channel vcan0