Closed hughie closed 8 years ago
Client log
[ERROR] [WallTime: 1443073757.876468] Exception in your execute callback: 'P2PDeliveryRobot' object has no attribute 'table_poses'
Traceback (most recent call last):
File "/opt/ros/indigo/lib/python2.7/dist-packages/actionlib/simple_action_server.py", line 299, in executeLoop
self.execute_callback(goal)
File "/home/yujin/ros/headoffice_concert/src/concert_common_rapps/concert_demo_sim_rapps/scripts/p2p_delivery_robot_soft.py", line 54, in execute_callback
self.go_to(order_id, target_goal=caller, status=P2PDeliveryStatus.GO_TO_PICKUP, message="Go to caller")
File "/home/yujin/ros/headoffice_concert/src/concert_common_rapps/concert_demo_sim_rapps/scripts/p2p_delivery_robot_soft.py", line 115, in go_to
goal = MoveBaseGoal(self.table_poses[target_goal])
AttributeError: 'P2PDeliveryRobot' object has no attribute 'table_poses'
Client log
[INFO] [WallTime: 1443080608.121364] Gateway : sending flip request [alien-wired0036c88ce7bb420f955b5541d657bc6b][publisher][/young/robot_pose][/young/robot_pose_publisher,http://192.168.10.23:34614/]
[ INFO] [1443080610.004320088]: Resizing costmap to 732 X 413 at 0.050000 m/pix
[ INFO] [1443080610.104213789]: Received a 732 X 413 map at 0.050000 m/pix
[ INFO] [1443080610.108036362]: Using plugin "obstacle_layer"
[ INFO] [1443080610.109492768]: Subscribed to Topics:
[ INFO] [1443080610.133118602]: Using plugin "inflation_layer"
[ INFO] [1443080610.236097801]: Loading from pre-hydro parameter style
[ INFO] [1443080610.258061420]: Using plugin "obstacle_layer"
[ INFO] [1443080610.299471230]: Subscribed to Topics:
[ INFO] [1443080610.321083707]: Using plugin "inflation_layer"
[ INFO] [1443080610.409302620]: Created local_planner base_local_planner/TrajectoryPlannerROS
[ INFO] [1443080610.415379320]: Sim period is set to 0.05
[ WARN] [1443080610.418524649]: Trajectory Rollout planner initialized with param meter_scoring not set. Set it to true to make your settins robust against changes of costmap resolution.
[ INFO] [1443080610.596477038]: Recovery behavior will clear layer obstacles
[ INFO] [1443080610.638964815]: Recovery behavior will clear layer obstacles
[ INFO] [1443080610.664383688]: odom received!
[INFO] [WallTime: 1443080610.823138] Initialized
[INFO] [WallTime: 1443080610.823563] /young/waiter_soft : Waiting for locations and global markers
[INFO] [WallTime: 1443080611.205607] Gateway : sending flip request [alien-wired0036c88ce7bb420f955b5541d657bc6b][subscriber][/annotation/tables][/young/waiter_soft,http://192.168.10.23:60122/]
[INFO] [WallTime: 1443080611.209537] Gateway : sending flip request [alien-wired0036c88ce7bb420f955b5541d657bc6b][subscriber][/annotation/ar_markers][/young/waiter_soft,http://192.168.10.23:60122/]
[INFO] [WallTime: 1443080611.213558] Gateway : sending flip request [alien-wired0036c88ce7bb420f955b5541d657bc6b][publisher][/young/robot_status][/young/waiter_soft,http://192.168.10.23:60122/]
[INFO] [WallTime: 1443080611.794017] /young/waiter_soft : received global markers
[INFO] [WallTime: 1443080611.794550] /young/waiter_soft : received waypoint locations
[INFO] [WallTime: 1443080612.824651] /young/waiter_soft : Waiting for locations and global markers
[INFO] [WallTime: 1443080612.833701] /young/waiter_soft : Delivery robot has been started
[INFO] [WallTime: 1443080613.307539] Gateway : sending flip request [alien-wired0036c88ce7bb420f955b5541d657bc6b][action_server][/p2p_delivery_order_36a2cd13d85f42fea4a25777c9cdeef4][/young/waiter_soft,http://192.168.10.23:60122/]
[INFO] [WallTime: 1443080616.433120] /young/waiter_soft : Order Received [sw_team -> svc_team]
[ERROR] [WallTime: 1443080648.488006] Exception in your execute callback: process_status() takes exactly 6 arguments (5 given)
Traceback (most recent call last):
File "/opt/ros/indigo/lib/python2.7/dist-packages/actionlib/simple_action_server.py", line 299, in executeLoop
self.execute_callback(goal)
File "/home/yujin/ros/headoffice_concert/src/concert_common_rapps/concert_demo_sim_rapps/scripts/p2p_delivery_robot_soft.py", line 61, in execute_callback
self.process_status(time_range=[time_start, time_end], order_id=order_id, target_goal=caller, status=P2PDeliveryStatus.WAITING_FOR_PICKUP_CONFIRM)
TypeError: process_status() takes exactly 6 arguments (5 given)
Client log
[INFO] [WallTime: 1443083487.558641] /young/waiter_soft : Order Received [sw_team -> svc_team]
[INFO] [WallTime: 1443083520.511811] /young/waiter_soft : HELLOW, [1/5]
[INFO] [WallTime: 1443083521.513254] /young/waiter_soft : HELLOW, [2/5]
[INFO] [WallTime: 1443083522.514719] /young/waiter_soft : HELLOW, [3/5]
[INFO] [WallTime: 1443083523.516188] /young/waiter_soft : HELLOW, [4/5]
[INFO] [WallTime: 1443083524.517639] /young/waiter_soft : HELLOW, [5/5]
[ERROR] [WallTime: 1443083547.371017] Exception in your execute callback: global name 'receiver' is not defined
Traceback (most recent call last):
File "/opt/ros/indigo/lib/python2.7/dist-packages/actionlib/simple_action_server.py", line 299, in executeLoop
self.execute_callback(goal)
File "/home/yujin/ros/headoffice_concert/src/concert_common_rapps/concert_demo_sim_rapps/scripts/p2p_delivery_robot_soft.py", line 71, in execute_callback
self.process_status(time_range=[time_start, time_end], order_id=order_id, target_goal=receiver, status=P2PDeliveryStatus.WAITING_FOR_RECEIVER_CONFIRM, message=message)
NameError: global name 'receiver' is not defined
Client log
[INFO] [WallTime: 1443083862.428020] /young/waiter_soft : Order Received [sw_team -> svc_team]
[INFO] [WallTime: 1443083895.347232] /young/waiter_soft : HELLOW, [1/5]
[INFO] [WallTime: 1443083896.348839] /young/waiter_soft : HELLOW, [2/5]
[INFO] [WallTime: 1443083897.350573] /young/waiter_soft : HELLOW, [3/5]
[INFO] [WallTime: 1443083898.351784] /young/waiter_soft : HELLOW, [4/5]
[INFO] [WallTime: 1443083899.353151] /young/waiter_soft : HELLOW, [5/5]
[INFO] [WallTime: 1443083923.289505] /young/waiter_soft : HELLOW, [1/5]
[INFO] [WallTime: 1443083924.290934] /young/waiter_soft : HELLOW, [2/5]
[INFO] [WallTime: 1443083925.291886] /young/waiter_soft : HELLOW, [3/5]
[INFO] [WallTime: 1443083926.292613] /young/waiter_soft : HELLOW, [4/5]
[INFO] [WallTime: 1443083927.294060] /young/waiter_soft : HELLOW, [5/5]
[ERROR] [WallTime: 1443083927.294821] Exception in your execute callback: global name 'target_goal' is not defined
Traceback (most recent call last):
File "/opt/ros/indigo/lib/python2.7/dist-packages/actionlib/simple_action_server.py", line 299, in executeLoop
self.execute_callback(goal)
File "/home/yujin/ros/headoffice_concert/src/concert_common_rapps/concert_demo_sim_rapps/scripts/p2p_delivery_robot_soft.py", line 74, in execute_callback
self.feedback(order_id, target_goal, P2PDeliveryStatus.COMPLETE_DELIVERY, "COMPLETE_DELIVERY")
NameError: global name 'target_goal' is not defined
Client log
INFO] [WallTime: 1443084710.212834] /young/waiter_soft : Delivery robot has been started
[INFO] [WallTime: 1443084710.865888] Gateway : sending flip request [alien-wired8d3edcd01c294010b2e77f2ded33fb1b][action_server][/p2p_delivery_order_f9e6cd8c106241f680562d252bf04ca6][/young/waiter_soft,http://192.168.10.23:59913/]
[INFO] [WallTime: 1443084713.735883] /young/waiter_soft : Order Received [sw_team -> svc_team]
[INFO] [WallTime: 1443084746.752795] /young/waiter_soft : HELLOW, [1/5]
[INFO] [WallTime: 1443084747.754365] /young/waiter_soft : HELLOW, [2/5]
[INFO] [WallTime: 1443084748.755571] /young/waiter_soft : HELLOW, [3/5]
[INFO] [WallTime: 1443084749.757089] /young/waiter_soft : HELLOW, [4/5]
[INFO] [WallTime: 1443084750.758065] /young/waiter_soft : HELLOW, [5/5]
[INFO] [WallTime: 1443084774.412627] /young/waiter_soft : HELLOW, [1/5]
[INFO] [WallTime: 1443084775.414117] /young/waiter_soft : HELLOW, [2/5]
[INFO] [WallTime: 1443084776.415827] /young/waiter_soft : HELLOW, [3/5]
[INFO] [WallTime: 1443084777.417005] /young/waiter_soft : HELLOW, [4/5]
[INFO] [WallTime: 1443084778.418531] /young/waiter_soft : HELLOW, [5/5]
[ERROR] [WallTime: 1443084778.419259] Exception in your execute callback: 'P2PDeliveryRobot' object has no attribute 'publisher'
Traceback (most recent call last):
File "/opt/ros/indigo/lib/python2.7/dist-packages/actionlib/simple_action_server.py", line 299, in executeLoop
self.execute_callback(goal)
File "/home/yujin/ros/headoffice_concert/src/concert_common_rapps/concert_demo_sim_rapps/scripts/p2p_delivery_robot_soft.py", line 75, in execute_callback
self.publisher['robot_status'].publish(RobotStatus(P2PDeliveryStatus.COMPLETE_DELIVERY, self.battery_status))
AttributeError: 'P2PDeliveryRobot' object has no attribute 'publisher'
Client log
[INFO] [WallTime: 1443084958.054449] /young/waiter_soft : Order Received [sw_team -> svc_team]
[INFO] [WallTime: 1443084991.109577] /young/waiter_soft : HELLOW, [1/5]
[INFO] [WallTime: 1443084992.110755] /young/waiter_soft : HELLOW, [2/5]
[INFO] [WallTime: 1443084993.112347] /young/waiter_soft : HELLOW, [3/5]
[INFO] [WallTime: 1443084994.113585] /young/waiter_soft : HELLOW, [4/5]
[INFO] [WallTime: 1443084995.115008] /young/waiter_soft : HELLOW, [5/5]
[INFO] [WallTime: 1443085018.983341] /young/waiter_soft : HELLOW, [1/5]
[INFO] [WallTime: 1443085019.984805] /young/waiter_soft : HELLOW, [2/5]
[INFO] [WallTime: 1443085020.986154] /young/waiter_soft : HELLOW, [3/5]
[INFO] [WallTime: 1443085021.987645] /young/waiter_soft : HELLOW, [4/5]
[INFO] [WallTime: 1443085022.989180] /young/waiter_soft : HELLOW, [5/5]
[INFO] [WallTime: 1443085049.997530] /young/waiter_soft : IDLE
[ERROR] [WallTime: 1443085050.999493] Exception in your execute callback: global name 'P2PRobotDeliveryOrderResult' is not defined
Traceback (most recent call last):
File "/opt/ros/indigo/lib/python2.7/dist-packages/actionlib/simple_action_server.py", line 299, in executeLoop
self.execute_callback(goal)
File "/home/yujin/ros/headoffice_concert/src/concert_common_rapps/concert_demo_sim_rapps/scripts/p2p_delivery_robot_soft.py", line 86, in execute_callback
result = P2PRobotDeliveryOrderResult(order_id, True, "Success!")
NameError: global name 'P2PRobotDeliveryOrderResult' is not defined
주문 메시지를 받은 뒤에 young을 할당하고 global markers와 waypoint location정보를 받음 그 뒤에 p2p_delivery_robot_soft.py의 P2PDeliberyRobot객체에 goto함수가 정의가 되어 있지 않음. 다른 소스를 파악해 볼 필요가 있음.
Client Log
Master Log