have wrong fuction name
This commit is contained in:
parent
c8df8aaaf7
commit
3dfa3cd03a
|
@ -29,9 +29,9 @@ input("Press enter to start")
|
|||
if __name__ == '__main__':
|
||||
|
||||
if len(sys.argv) <2:
|
||||
ChannelFactortyInitialize(1, "lo")
|
||||
ChannelFactoryInitialize(1, "lo")
|
||||
else:
|
||||
ChannelFactortyInitialize(0, sys.argv[1])
|
||||
ChannelFactoryInitialize(0, sys.argv[1])
|
||||
|
||||
# Create a publisher to publish the data defined in UserData class
|
||||
pub = ChannelPublisher("rt/lowcmd", LowCmd_)
|
||||
|
|
|
@ -21,7 +21,7 @@ def LowStateHandler(msg: LowState_):
|
|||
|
||||
|
||||
if __name__ == "__main__":
|
||||
ChannelFactortyInitialize(1, "lo")
|
||||
ChannelFactoryInitialize(1, "lo")
|
||||
hight_state_suber = ChannelSubscriber("rt/sportmodestate", SportModeState_)
|
||||
low_state_suber = ChannelSubscriber("rt/lowstate", LowState_)
|
||||
|
||||
|
|
Loading…
Reference in New Issue