File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -76,6 +76,13 @@ or by specifying one comparison policy and threshold (100ms for example), and re
7676
7777More usage please check the unittest.
7878
79+ ## Python bindings  
80+ 
81+ The library can be used in Python via pybind11 bindings.
82+ Since util_caching is a template library, we need to explicitly instantiate the template for the types we want to use in Python.
83+ For this, we provide the convenience functions ` bindNumberBasedCache `  and ` bindTimeBasedCache ` .
84+ Check the unit test for a usage example.
85+ 
7986
8087## Installation  
8188
@@ -178,4 +185,4 @@ docker compose -f demo/docker-compose.ros.yaml build
178185docker compose -f demo/docker-compose.ros.yaml run --rm util_caching_ros 
179186``` 
180187
181- See [ demo/README.md] ( demo/README.md )  for how to run the demo, showcasing the use of ` util_caching `  in a ROS node.
188+ See [ demo/README.md] ( demo/README.md )  for how to run the demo, showcasing the use of ` util_caching `  in a ROS node.
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments