0
ROSオブジェクトの属性とメソッドを表示するにはどうすればよいですか? Pythonのinspectモジュールを使用できますか?PythonのROSオブジェクトのイントロスペクション
私はdir()、type()コマンドを使うことができます。
ROSオブジェクトの属性とメソッドを表示するにはどうすればよいですか? Pythonのinspectモジュールを使用できますか?PythonのROSオブジェクトのイントロスペクション
私はdir()、type()コマンドを使うことができます。
私はPythonモジュールのいくつかのハックを知っています。以下を行ってください。
import os
print os.getcwd() # to get the current working directory
print os.listdir(os.getcwd()) # to get the contents of the current working directory