You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use roslibjs to call ros2 services through rosbridge_server on the target software, most of the functions being fine but only the one, containing bounded array, works unexpectedly. I have researched for issue list on roslibjs and rosbridge_suite
github but there is no topic discussed about this. If anyone can give me a feedback, it will be very helpful, thanks.
Expected Behavior
Success to call the ros2 service and get the response.
Actual Behavior
Got the wrong type included because the wrong type parsing, I guess. The right type is PoseWithCovarianceStamped, but server uses "PoseWithCovarianceStamped, 1" while running the code.
[rosbridge_websocket-1] [ERROR] [1703146503.535621124] [rosbridge_websocket]: [Client 41bcd064-4da8-40ca-8cf5-dde4dfe46cf8] [id: call_service:/api/localization/initialize:67] call_service InvalidClassException: Unable to import msg class PoseWithCovarianceStamped, 1 from package geometry_msgs. Caused by module 'geometry_msgs.msg' has no attribute 'PoseWithCovarianceStamped, 1'
The text was updated successfully, but these errors were encountered:
I use roslibjs to call ros2 services through rosbridge_server on the target software, most of the functions being fine but only the one, containing bounded array, works unexpectedly. I have researched for issue list on roslibjs and rosbridge_suite
github but there is no topic discussed about this. If anyone can give me a feedback, it will be very helpful, thanks.
Steps To Reproduce
the javascript part
The type definition is as blew
ad-api/list/api/localization/initialize/
ad-api/types/autoware_adapi_v1_msgs/srv/InitializeLocalization/
Expected Behavior
Success to call the ros2 service and get the response.
Actual Behavior
Got the wrong type included because the wrong type parsing, I guess. The right type is PoseWithCovarianceStamped, but server uses "PoseWithCovarianceStamped, 1" while running the code.
The text was updated successfully, but these errors were encountered: