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 have a type mismatch between roslibjs and rosbridge. I don't know if the issue is related to rosbridge or roslibjs.
I am calling a service containing a Task.msg defined by :
TaskHandle.srv
Task task
---
string message
bool result
Task.msg
string name # Can be unique, you can use it as you please
uint8 mission_type # Type of the mission
geometry_msgs/Point position
float64 yaw # in degrees
float32[] data # Can be multiple data, like time to sleep, time to loiter, etc.
int64 ID
The error message I get is :
[ERROR] [WallTime: 1477462156.860756] [Client 2] [id: call_service:/flyingros/controller/task/remove:6] call_service FieldTypeMismatchException: flyingros_msgs/TaskHandleRequest message requires a int64 for field task.ID, but got a <type 'long'>
Dear,
I have a type mismatch between
roslibjs
androsbridge
. I don't know if the issue is related torosbridge
orroslibjs
.I am calling a service containing a
Task.msg
defined by :TaskHandle.srv
Task.msg
The error message I get is :
task.ID is an
int64
which should be compatible with the type long in python according to http://wiki.ros.org/msg#line-47The problem comes from definitions in the message conversion where "int64" should be declared as long.
rosbridge_suite/rosbridge_library/src/rosbridge_library/internal/message_conversion.py
Line 53 in ee339d5
The text was updated successfully, but these errors were encountered: