Open k-okada opened 9 years ago
@orikumaさん 補足で説明すると, https://github.com/fkanehiro/hrpsys-base/blob/master/rtc/ImpedanceController/ImpedanceController.cpp#L606 のようなRTCでは
std::cerr "[" << m_profile.instance_name << "] << ...
のようにして,各RTCの名前が追加できます.
また,RTCから更に呼ばれている各プログラム(今回はTwoDofController.[cpp,h])でも (やり方はいろいろあると思いますが) https://github.com/fkanehiro/hrpsys-base/blob/master/rtc/ImpedanceController/ImpedanceOutputGenerator.h#L47 https://github.com/fkanehiro/hrpsys-base/blob/master/rtc/ImpedanceController/ImpedanceOutputGenerator.h#L93 のようにして引数でprint用stringをRTC側から渡してあげれば,各RTCの名前が出力にでてきます.
おそらくsedを2回と,引数をちょっと変える作業の2手間くらいの変更ですむと思うので,それでお願いします. このあたりが最速で治ってくると,@eisoku9618さんもとても助かると思います.
こちら解決しましたのでcloseでお願いします。
from:https://github.com/start-jsk/rtmros_tutorials/issues/356#issuecomment-123792342
assigned @orikuma