microsoft / azure_spatial_anchors_ros

ROS wrapper for the Azure Spatial Anchors Linux SDK, allowing robots (and other devices with vision-based sensors) to co-localize with other robots, AR-enabled phones, and Hololens devices.
https://azure.microsoft.com/en-us/services/spatial-anchors/
MIT License
87 stars 20 forks source link

Add optional logging capabilities for debugging #14

Closed EricVoll closed 3 years ago

EricVoll commented 3 years ago

This PR adds eventhandlers using the two methods CloudSpatialAnchorSession.OnLogDebug and CloudSpatialAnchorSession.Error, which print out the received information from the API. This setting might help in debugging situations, where the default status prints are not enough.

Currently there is a parameter for the rosnode to activate this logging behavior, which is false by default. Since this is a very specific feature, we might want to think about removing the param from the default roslaunch file and only documenting it in the Wiki.