You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
VARIABLE provides default values to variables that can be changed when the bridge is started. This example shows an INTERFACE that is configured to use the serial_interface.rb class. It also includes a standard ROUTER using tcpip_server_interface.rb that COSMOS can connect to and get the data from the serial port. The LISTEN_ADDRESS is set to 127.0.0.1 in this example to prevent access from outside of the host system. Docker running on the same machine can access
84
137
this server using the host.docker.internal hostname and the configured port (2950 in this example).
85
138
@@ -97,6 +150,24 @@ Runs a bridge from a given configuration file. Defaults to bridge.txt in the cur
97
150
98
151
Runs a bridge using the bridge.txt provided in a bridge gem. Variables can also be passed into to override VARIABLE defaults.
99
152
153
+
## Python Bridge Commands: openc3pycli
154
+
155
+
To use the openc3pycli, first run
156
+
157
+
`python3 -m pip install -e .`
158
+
159
+
In the [cosmos/openc3/python/openc3/cli.py](https://github.com/OpenC3/cosmos/blob/main/openc3/python/openc3/cli.py) directory. A venv may be required to be activated prior to running the pip install. If so, run the following:
Runs a bridge from a given configuration file. Defaults to bridge.txt in the current directory. Variables can also be passed into to override VARIABLE defaults.
170
+
100
171
## Example Bridge Gems
101
172
102
173
- Serial Port: [openc3-cosmos-bridge-serial](https://github.com/OpenC3/openc3-cosmos-bridge-serial)
0 commit comments