97 bool isValidXML(
const std::string& new_urdf_contents,
int& error_row, std::string& error_description)
const;
Contains all of the non-GUI code necessary for doing one "screen" worth of setup.
std::string gazebo_urdf_string_
Gazebo URDF robot model string.
void onInit() override
Overridable initialization method.
std::filesystem::path getURDFPath() const
std::string getURDFContents() const
std::string getURDFPackageName() const
std::shared_ptr< URDFConfig > urdf_config_
std::string getName() const override
Returns the name of the setup step.
bool save_gazebo_urdf_
Whether a new Gazebo URDF is created.
bool isValidXML(const std::string &new_urdf_contents, int &error_row, std::string &error_description) const
Check if the given xml is valid.
bool outputGazeboURDFFile(const std::filesystem::path &file_path)
bool isReady() const override
Return true if the data necessary to proceed with this step has been configured.
std::string getGazeboCompatibleURDF()
Parses the existing urdf and constructs a string from it with the elements required by gazebo simulat...
std::string getJointHardwareInterface(const std::string &joint_name)
Helper function to get the controller that is controlling the joint.