![]() |
NASA Astrobee Robot Software
0.19.1
Flight software for the Astrobee robots operating inside the International Space Station.
|
The image sampler subscribes to an image topic, then republishes the images at a different rate and resolution.
Two steps are required to start using the image sampler:
mode : parameters apply to RECORDING=1, or STREAMING=2 or BOTH=3framerate : rate in Hz to publiswith, height : dimension in pixels of the image to publishbitrate : only applies to SciCam, defines the image qualityExample to configure the nav_cam to publish half size images every 2 seconds (both for streaming and recording):
mode : parameters apply to RECORDING=1, or STREAMING=2 or BOTH=3flag : true to enable and false to disable the serviceExample to turn on streaming only of the nav_cam (using previous camera configuration):
See EnableCamera Service.
Then, the node will publish an image at the desired resolution and rate, with the topic name <node name>/image.
The image to read is specified through the command line argument --input_topic.