0
Wie kann ich Attribute und Methoden von ROS-Objekten sehen? Kann ich das inspect-Modul von Python verwenden?ROS Objekte Introspektion in Python
Wie in Python kann ich dir(), type() Befehle verwenden.
Wie kann ich Attribute und Methoden von ROS-Objekten sehen? Kann ich das inspect-Modul von Python verwenden?ROS Objekte Introspektion in Python
Wie in Python kann ich dir(), type() Befehle verwenden.
Ich kenne ein paar Hacks für Python-Module. Bitte machen Sie folgendes.
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