testjson.py
Go to the documentation of this file.
00001 import json_parser
00002 
00003 json_parameters = "{\"tasks\":[{\"time_schedule\":1263798000000,\"task\":\"move\",\"destination\":{\"predefined_pose\":\"home\"}}],\"initializer\":{\"device_type\":\"ui_loc\",\"device_id\":\"ui_loc_0001\"}}"
00004 
00005 tasks = json_parser.Tasks(json_parameters)
00006 
00007 task_feedback = json_parser.Task_Feedback ('11' , tasks.device_id, tasks.device_type, tasks.tasks_list[0].task_json_string)
00008 
00009 print task_feedback.task_name
00010 


srs_decision_making
Author(s): Renxi Qiu
autogenerated on Mon Oct 6 2014 08:38:32