Skip to content

Commit

Permalink
convert to string. KeyValue expects value as string
Browse files Browse the repository at this point in the history
  • Loading branch information
jihoonl committed Jan 21, 2015
1 parent 6567bde commit 4b61554
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ def _service_profile_to_msg(self, loaded_profile):
msg.parameters = loaded_profile['parameters']
if 'parameters_detail' in loaded_profile:
for param_key in loaded_profile['parameters_detail'].keys():
msg.parameters_detail.append(rocon_std_msgs.KeyValue(param_key, loaded_profile['parameters_detail'][param_key]))
msg.parameters_detail.append(rocon_std_msgs.KeyValue(param_key, str(loaded_profile['parameters_detail'][param_key])))

return msg

Expand Down

1 comment on commit 4b61554

@jihoonl
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.