lg_ros_nodes
lg_ros_nodes copied to clipboard
now rendering configs when starting earth proc
this this please
retest this
SourceLevel has finished reviewing this Pull Request and has found:
- 2 possible new issues (including those that may have been commented here).
- 2 fixed issues! 🎉
built and tested this with master, it throws errors like:
Sep 03 21:56:38 42-a docker-compose[280419]: lg_ros_docker_1 | [09-03 21:56:38] p297932 /unnamed:helpers_functions - {/catkin/install/lib/python3/dist-packages/lg_common/helpers.py:1005} ERROR - Exception catched in node lg_earth: 'Client' object has no attribute 'earth_proc'
Sep 03 21:56:38 42-a docker-compose[280419]: lg_ros_docker_1 | [09-03 21:56:38] p297932 /unnamed:helpers_functions - {/catkin/install/lib/python3/dist-packages/lg_common/helpers.py:1007} ERROR - Attempting data point write 'ros_respawns ros_node_name="lg_earth",reason="'Client' object has no attribute 'earth_proc'",value=1 ' to influx database
Sep 03 21:56:38 42-a docker-compose[280419]: lg_ros_docker_1 | [09-03 21:56:38] p297914 /unnamed:helpers_functions - {/catkin/install/lib/python3/dist-packages/lg_common/helpers.py:1005} ERROR - Exception catched in node lg_earth: 'Client' object has no attribute 'earth_proc'
Sep 03 21:56:38 42-a docker-compose[280419]: lg_ros_docker_1 | [09-03 21:56:38] p297914 /unnamed:helpers_functions - {/catkin/install/lib/python3/dist-packages/lg_common/helpers.py:1007} ERROR - Attempting data point write 'ros_respawns ros_node_name="lg_earth",reason="'Client' object has no attribute 'earth_proc'",value=1 ' to influx database
Sep 03 21:56:38 42-a docker-compose[280419]: lg_ros_docker_1 | Traceback (most recent call last):
Sep 03 21:56:38 42-a docker-compose[280419]: lg_ros_docker_1 | File "/catkin/install/lib/lg_earth/client", line 96, in <module>
Sep 03 21:56:38 42-a docker-compose[280419]: lg_ros_docker_1 | run_with_influx_exception_handler(main, NODE_NAME)
Sep 03 21:56:38 42-a docker-compose[280419]: lg_ros_docker_1 | File "/catkin/install/lib/python3/dist-packages/lg_common/helpers.py", line 1003, in run_with_influx_exception_handler
Sep 03 21:56:38 42-a docker-compose[280419]: lg_ros_docker_1 | main()
Sep 03 21:56:38 42-a docker-compose[280419]: lg_ros_docker_1 | File "/catkin/install/lib/lg_earth/client", line 61, in main
Sep 03 21:56:38 42-a docker-compose[280419]: lg_ros_docker_1 | client = Client(config, initial_state=initial_state)
Sep 03 21:56:38 42-a docker-compose[280419]: lg_ros_docker_1 | File "/catkin/install/lib/python3/dist-packages/lg_earth/client.py", line 104, in __init__
Sep 03 21:56:38 42-a docker-compose[280419]: lg_ros_docker_1 | self.earth_proc.add_respawn_handler(self._handle_soft_relaunch)
Sep 03 21:56:38 42-a docker-compose[280419]: lg_ros_docker_1 | AttributeError: 'Client' object has no attribute 'earth_proc'
Sep 03 21:56:38 42-a docker-compose[280419]: lg_ros_docker_1 | Traceback (most recent call last):
Sep 03 21:56:38 42-a docker-compose[280419]: lg_ros_docker_1 | File "/catkin/install/lib/lg_earth/client", line 96, in <module>
Sep 03 21:56:38 42-a docker-compose[280419]: lg_ros_docker_1 | run_with_influx_exception_handler(main, NODE_NAME)
Sep 03 21:56:38 42-a docker-compose[280419]: lg_ros_docker_1 | File "/catkin/install/lib/python3/dist-packages/lg_common/helpers.py", line 1003, in run_with_influx_exception_handler
Sep 03 21:56:38 42-a docker-compose[280419]: lg_ros_docker_1 | main()
Sep 03 21:56:38 42-a docker-compose[280419]: lg_ros_docker_1 | File "/catkin/install/lib/lg_earth/client", line 61, in main
Sep 03 21:56:38 42-a docker-compose[280419]: lg_ros_docker_1 | client = Client(config, initial_state=initial_state)
Sep 03 21:56:38 42-a docker-compose[280419]: lg_ros_docker_1 | File "/catkin/install/lib/python3/dist-packages/lg_earth/client.py", line 104, in __init__
Sep 03 21:56:38 42-a docker-compose[280419]: lg_ros_docker_1 | self.earth_proc.add_respawn_handler(self._handle_soft_relaunch)
Sep 03 21:56:38 42-a docker-compose[280419]: lg_ros_docker_1 | AttributeError: 'Client' object has no attribute 'earth_proc'