[ros-users] Throwing exceptions in services (Python vs. C++)

トップ ページ
添付ファイル:
Eメールのメッセージ
+ (text/plain)
このメッセージを削除
このメッセージに返信
著者: User discussions
日付:  
To: ros-users
題目: [ros-users] Throwing exceptions in services (Python vs. C++)
Hi,

we are using ROS services implemented in Python as well as in C++.
We found one significant difference in both implementations (which makes debugging more difficult):
This is when a service throws an exception.

In both languages a message is printed on the server's console.
In Python the string of the exception is also passed to the client.
But in C++ the exception is NOT passed to the client.

Is there a technical reason why the C++-ServiceCallback does not pass the exception message?
If not could this be added?

Regards,
Dirk