We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa4cbef commit 2609e6fCopy full SHA for 2609e6f
1 file changed
example/high_level/read_highstate.py
@@ -15,7 +15,8 @@ def HighStateHandler(msg: SportModeState_):
15
16
17
if __name__ == "__main__":
18
- ChannelFactoryInitialize(0, "enp3s0")
+ # sys.argv[1]: name of the network interface
19
+ ChannelFactoryInitialize(0, sys.argv[1])
20
sub = ChannelSubscriber("rt/sportmodestate", SportModeState_)
21
sub.Init(HighStateHandler, 10)
22
0 commit comments