diff --git a/unitree_sdk2py/core/channel_config.py b/unitree_sdk2py/core/channel_config.py index 19a67a4c..8ebc6c02 100644 --- a/unitree_sdk2py/core/channel_config.py +++ b/unitree_sdk2py/core/channel_config.py @@ -1,4 +1,7 @@ -ChannelConfigHasInterface = ''' +import os +_CDDS_LOG = os.path.join(os.path.expanduser("~"), "cdds.LOG") + +ChannelConfigHasInterface = f''' @@ -8,7 +11,7 @@ config - /tmp/cdds.LOG + {_CDDS_LOG} '''