Apartment Navigation By Classic Wheeled Robot
Comprehensive Production Grade Repository For Apartment Navigation Project (Inspired By Udacity Course)
 
Loading...
Searching...
No Matches
conftest Namespace Reference

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 ()
 

Detailed Description

@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.

Function Documentation

◆ ament_prefix()

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).

◆ bringup_dir()

Path conftest.bringup_dir ( )
@brief Return the root directory of the robot_bringup package.

◆ description_dir()

Path conftest.description_dir ( Path bringup_dir)
@brief Return the root directory of the robot_description package.

◆ pkg_dir()

Path conftest.pkg_dir ( )
@brief Return the root directory of the robot_description package.

◆ urdf_file()

Path conftest.urdf_file ( Path pkg_dir)
@brief Return the path to the robot xacro entry point.

◆ urdf_root()

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.