Functions | |
| Path | bringup_dir () |
| Path | description_dir (Path bringup_dir) |
| Path | urdf_file (Path description_dir) |
| Path | ament_prefix (Path description_dir, pytest.TempPathFactory tmp_path_factory) |
| ET.Element | urdf_root (Path urdf_file, Path ament_prefix) |
| Path | pkg_dir () |
@brief Shared pytest fixtures for robot_bringup integration tests. Provides session-scoped fixtures for resolving package paths, expanding the robot xacro file, and setting up a minimal ament index for testing.
@brief Shared pytest fixtures for robot_description integration tests. Provides session-scoped fixtures for resolving package paths, expanding the robot xacro file, and setting up a minimal ament index for testing.
| Path conftest.ament_prefix | ( | Path | pkg_dir, |
| pytest.TempPathFactory | tmp_path_factory ) |
@brief Create a minimal ament index so xacro can resolve $(find robot_description).
| Path conftest.bringup_dir | ( | ) |
@brief Return the root directory of the robot_bringup package.
| Path conftest.description_dir | ( | Path | bringup_dir | ) |
@brief Return the root directory of the robot_description package.
| Path conftest.pkg_dir | ( | ) |
@brief Return the root directory of the robot_description package.
| Path conftest.urdf_file | ( | Path | pkg_dir | ) |
@brief Return the path to the robot xacro entry point.
| ET Element conftest.urdf_root | ( | Path | urdf_file, |
| Path | ament_prefix ) |
@brief Expand the xacro file and return the parsed URDF root element. @param urdf_file Path to the robot xacro file. @param ament_prefix Temporary ament prefix with robot_description registered. @return Parsed root XML element of the expanded URDF.