Robotics StackExchange | Archived questions

The parameters of the sensor itself

Hello.

Is there any way to get the parameters of the sensor itself, such as vendor,resolution,power,etc.

Thank you.

Asked by t_zhehang on 2016-10-17 21:03:40 UTC

Comments

Answers

In general, unless the driver writer has chosen to expose this information, vendor and power won't be available. If it is available, it tends to be in a diagnostics message. For instance, in the Hokuyo driver urg_node here is where the information is populated: populateDiagnosticsStatus

Depending on the type sensor, resolution is available either in the sensor_msgs/CameraInfo or sensor_msgs/LaserScan

Asked by mjcarroll on 2016-10-18 05:49:26 UTC

Comments