robocup-at-work / atwork-commander

This repository hosts the completly new developed Refbox for the @Work RoboCup league.
MIT License
7 stars 6 forks source link

Task generation issue #44

Open HyydenJakcz opened 4 months ago

HyydenJakcz commented 4 months ago

Am running package in a docker container using the melodic-ros-base image and building the atwork-commander package. Running the default bringup script or the task generation launch file runs into an issue: ` rosrun atwork_commander default_bringup _task:=ATT1 _immediate:=True _record_rosbag:=True ... logging to /root/.ros/log/897b5642-24b6-11ef-b6b5-0242ac110002/roslaunch-0f981d240fab-14334.log Checking log directory for disk usage. This may take a while. Press Ctrl-C to interrupt Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://0f981d240fab:43083/ ros_comm version 1.14.13

SUMMARY

PARAMETERS

NODES

auto-starting new master process[master]: started with pid [14349] ROS_MASTER_URI=http://0f981d240fab:11311/

setting /run_id to 897b5642-24b6-11ef-b6b5-0242ac110002 process[rosout-1]: started with pid [14363] started core service [/rosout] Starting the atwork commander with task ('ATT1') specified Starting to record a rosbag! Loading the task.. Starting prep phase! Forwarding to execution immediately! [ERROR] [1717755194.456670161]: [REFBOX] Got generation request with ongoing task! Ignoring! [ERROR] [1717755194.457412533]: [REFBOX-CONTROL] Error during task generation occured! Command generate: [ATC-CTRL] Service call to "Got generation request with ongoing task! Ignoring!" failed [ERROR] [1717755194.459192828]: [REFBOX-CONTROL] Command failed! [ERROR] [1717755195.455297083]: [REFBOX-CONTROL] Error during starting task occured! Command start: [ATC-CTRL] Invalid for state PREPARATION [ERROR] [1717755195.458266944]: [REFBOX] Got generation request with ongoing task! Ignoring! [ERROR] [1717755195.458572332]: [REFBOX-CONTROL] Error during task generation occured! Command generate: [ATC-CTRL] Service call to "Got generation request with ongoing task! Ignoring!" failed [ERROR] [1717755195.458624250]: [REFBOX-CONTROL] Command failed! [ERROR] [1717755195.459117836]: [REFBOX-CONTROL] Command failed! [ERROR] [1717755196.454414455]: [REFBOX-CONTROL] Error during starting task occured! Command start: [ATC-CTRL] Invalid for state EXECUTION [ERROR] [1717755196.454467035]: [REFBOX-CONTROL] Command failed! [ERROR] [1717755196.457227211]: [REFBOX] Got generation request with ongoing task! Ignoring! [ERROR] [1717755196.457484292]: [REFBOX-CONTROL] Error during task generation occured! Command generate: [ATC-CTRL] Service call to "Got generation request with ongoing task! Ignoring!" failed [ERROR] [1717755196.457557299]: [REFBOX-CONTROL] Command failed! [ERROR] [1717755197.454444743]: [REFBOX-CONTROL] Error in forwarding state occured! Command forward: [ATC-CTRL] Invalid for state READY [ERROR] [1717755197.457230344]: [REFBOX-CONTROL] Command failed! [ERROR] [1717755198.454796825]: [REFBOX-CONTROL] Error during starting task occured! Command start: [ATC-CTRL] Invalid for state PREPARATION [ERROR] [1717755198.454945807]: [REFBOX-CONTROL] Command failed! [ERROR] [1717755198.458720376]: [REFBOX] Got generation request with ongoing task! Ignoring! [ERROR] [1717755198.459024614]: [REFBOX-CONTROL] Error during task generation occured! Command generate: [ATC-CTRL] Service call to "Got generation request with ongoing task! Ignoring!" failed [ERROR] [1717755198.459062382]: [REFBOX-CONTROL] Command failed! [ERROR] [1717755199.455032294]: [REFBOX-CONTROL] Error during starting task occured! Command start: [ATC-CTRL] Invalid for state EXECUTION [ERROR] [1717755199.455124038]: [REFBOX-CONTROL] Command failed! [ERROR] [1717755199.458066263]: [REFBOX] Got generation request with ongoing task! Ignoring! [ERROR] [1717755199.458401785]: [REFBOX-CONTROL] Error during task generation occured! Command generate: [ATC-CTRL] Service call to "Got generation request with ongoing task! Ignoring!" failed [ERROR] [1717755199.458467610]: [REFBOX-CONTROL] Command failed! [ERROR] [1717755200.454698162]: [REFBOX-CONTROL] Error in forwarding state occured! Command forward: [ATC-CTRL] Invalid for state READY [ERROR] [1717755200.454801648]: [REFBOX-CONTROL] Command failed! [ERROR] [1717755201.454479950]: [REFBOX-CONTROL] Error during starting task occured! Command start: [ATC-CTRL] Invalid for state PREPARATION [ERROR] [1717755201.454572385]: [REFBOX-CONTROL] Command failed! [ERROR] [1717755201.457211712]: [REFBOX] Got generation request with ongoing task! Ignoring! [ERROR] [1717755201.457476814]: [REFBOX-CONTROL] Error during task generation occured! Command generate: [ATC-CTRL] Service call to "Got generation request with ongoing task! Ignoring!" failed [ERROR] [1717755201.457535124]: [REFBOX-CONTROL] Command failed! ^CTraceback (most recent call last): File "/opt/ros/melodic/bin/rosbag", line 35, in rosbag.rosbagmain() File "/opt/ros/melodic/lib/python2.7/dist-packages/rosbag/rosbag_main.py", line 1030, in rosbagmain cmdscmd File "/opt/ros/melodic/lib/python2.7/dist-packages/rosbag/rosbag_main.py", line 159, in record_cmd process.wait() File "/usr/lib/python2.7/subprocess.py", line 1099, in wait

pid, sts = _eintr_retry_call(os.waitpid, self.pid, 0)

File "/usr/lib/python2.7/subprocess.py", line 125, in _eintr_retry_call return func(*args) File "/opt/ros/melodic/lib/python2.7/dist-packages/rosbag/rosbag_main.py", line 153, in lambda signum, frame: _send_process_sigint(signum, frame, old_handler, process) File "/opt/ros/melodic/lib/python2.7/dist-packages/rosbag/rosbag_main.py", line 78, in _send_process_sigint old_handler(signum, frame) TypeError: 'int' object is not callable root@0f981d240fab:/home/refbox_ws# Traceback (most recent call last): File "/home/refbox_ws/src/multimaster/fkie_master_discovery/nodes/master_discovery", line 4, in fkie_master_discovery.main() File "", line 130, in main File "", line 119, in wait_for_free_port KeyboardInterrupt [rosout-1] killing on exit [master] killing on exit shutting down processing monitor... ... shutting down processing monitor complete done `

Been trying to fix it for several hours. Would really appreciate any help on it thanks!