Skip to main content
Version: 3.2.1

Parameters

note

This resource is used for interacting with the various parameters SENSR provides. Note that not all configuration parameters are accesible through this resource. For finer control over the parameters one should use the graphical user interface (GUI) in SENSR.

Supported configuration keys

config-key (settings/parameters/common)GUI Equivalent (in "General Parameters")
publish_level_point_cloud"Output" -> "Point-Cloud Publishing Level"
point_cloud_update_interval"Output" -> "Background Points Update Interval [s]"
sensor_update_interval"Output" -> "Sensor Status Update Interval [s]"
object_update_interval"Output" -> "Fixed-Period Sending" -> "Update Interval [s]"
enable_point_cloud_bandwidth_reduction"Output" -> "Point-Cloud Bandwidth Reduction" -> "Enable"
downsampling_resolution"Output" -> "Point-Cloud Bandwidth Reduction" -> "Downsampling Resolution [m]"

GET

/[SENSR version]/settings/parameters/common

  • Get the specified configuration value from the common configuration.

  • Parameters
    • config-key : The configuration value that will be returned
  • Return code
    • 200 OK
    • 400 BAD REQ
  • Example

$ curl -X GET 'http://localhost:9080/[SENSR version]/settings/parameters/common?config-key=publish_level_point_cloud'
** Respond **
2

$ curl -X GET 'http://localhost:9080/[SENSR version]/settings/parameters/common?config-key=enable_point_cloud_bandwidth_reduction'
** Respond **
false


POST

/[SENSR version]/settings/parameters/common

  • Update the specified configuration value from the common configuration.

  • Parameters
    • config-key : The configuration value that will be updated
  • Return code
    • 200 OK
    • 400 BAD REQ
  • Example

$ curl -X POST 'http://localhost:9080/[SENSR version]/settings/parameters/common?config-key=publish_level_point_cloud' --data '2'
** Respond **
Configuration correctly updated.

$ curl -X POST 'http://localhost:9080/[SENSR version]/settings/parameters/common?config-key=enable_point_cloud_bandwidth_reduction' --data 'false'
** Respond **
Configuration correctly updated.

Logo
If you need access, please contact