class documentation
Undocumented
Method | __init__ |
Undocumented |
Method | get |
Retrieve a setting from the database |
Method | set |
Set a setting in the database |
Static Method | __check |
Undocumented |
Method | __call |
Wait for the service called service_name Then call the service with args |
Method | __classic |
Undocumented |
Instance Variable | __service |
Undocumented |
Retrieve a setting from the database
Example
database.get_setting('purge_ros_logs_on_startup')
Parameters | |
name:str | the name of the setting |
Returns | |
object | the value of the setting |
Set a setting in the database
Example
database.set_setting('purge_ros_logs_on_startup', True)
Parameters | |
name:str | the name of a setting |
value:object | the value of the setting |
Returns | |
(int, str) | status, message |
Wait for the service called service_name Then call the service with args
Parameters | |
service | |
service | |
*args | Tuple of arguments |
Returns | |
Response | |
Raises | |
DatabaseRosWrapperException | Timeout during waiting of services |