original_docstring: Load a locally-built HAL component not installed in the standard
      module directory
      
docstring: Load a locally-built HAL component not installed in the standard
  module directory
docstring_tokens: Load a locally - built HAL component not installed in the standard module directory
code: def loadrt_local(modname):
      """Load a locally-built HAL component not installed in the standard
      module directory
      """
      if modname in hal.components:
          return
      for path in os.environ.get("LD_LIBRARY_PATH", "").split(":"):
          rospy.logdebug(f"Checking for {modname}.so in {path}")
          modpath = os.path.join(path, f"{modname}")
          if os.path.exists(f"{modpath}.so"):
              break
      else:
          raise RuntimeError(f"Unable to locate {modname} module")
      rtapi.loadrt(modpath)
code_tokens: def loadrt_local ( modname ) : if modname in hal . components : return for path in os . environ . get ( "LD_LIBRARY_PATH" , "" ) . split ( ":" ) : rospy . logdebug ( f"Checking for {modname}.so in {path}" ) modpath = os . path . join ( path , f"{modname}" ) if os . path . exists ( f"{modpath}.so" ) : break else : raise RuntimeError ( f"Unable to locate {modname} module" ) rtapi . loadrt ( modpath )
short_docstring: Load a locally-built HAL component not installed in the standard
  module directory
short_docstring_tokens: Load a locally - built HAL component not installed in the standard module directory
comment: """Load a locally-built HAL component not installed in the standard
      module directory
      """