Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Autorally-02] Reproduce error #84

Open
schmerl opened this issue Nov 7, 2021 · 5 comments
Open

[Autorally-02] Reproduce error #84

schmerl opened this issue Nov 7, 2021 · 5 comments

Comments

@schmerl
Copy link
Collaborator

schmerl commented Nov 7, 2021

Need to change the source code in src/autorally/autorally_control/src/path_integral/autorally_plant.cpp to use /pose_estimate.

@schmerl schmerl self-assigned this Nov 7, 2021
@schmerl
Copy link
Collaborator Author

schmerl commented Nov 7, 2021

This turns out to be an issue with AST merging on src/autorally/autorally_control/src/path_integral/

@schmerl
Copy link
Collaborator Author

schmerl commented Nov 7, 2021

2021-11-06 23:09:26.677 | ERROR    | rosdiscover.recover.tool:_recover:432 - static recovery failed [returncode: 134]: building ASTs..
In file included from /ros_ws/src/autorally/autorally_control/src/path_integral/autorally_plant.cpp:33:
In file included from /ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/autorally_plant.h:37:
�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:72:7: �[0m�[0;1;35mwarning: �[0m�[1mvariable 'val' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]�[0m
  if (!found){
�[0;1;32m      ^~~~~~
�[0m�[1m/ros_ws/src/autorally/autorally_control/src/path_integral/autorally_plant.cpp:45:17: �[0m�[0;1;30mnote: �[0min instantiation of function template specialization 'autorally_control::getRosParam<bool>' requested here�[0m
  debug_mode_ = getRosParam<bool>("debug_mode", mppi_node);
�[0;1;32m                ^
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:79:10: �[0m�[0;1;30mnote: �[0muninitialized use occurs here�[0m
  return val;
�[0;1;32m         ^~~
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:72:3: �[0m�[0;1;30mnote: �[0mremove the 'if' if its condition is always false�[0m
  if (!found){
�[0;1;32m  ^~~~~~~~~~~~
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:70:8: �[0m�[0;1;30mnote: �[0minitialize the variable 'val' to silence this warning�[0m
  T val;
�[0;1;32m       ^
�[0m�[0;32m        = false
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:72:7: �[0m�[0;1;35mwarning: �[0m�[1mvariable 'val' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]�[0m
  if (!found){
�[0;1;32m      ^~~~~~
�[0m�[1m/ros_ws/src/autorally/autorally_control/src/path_integral/autorally_plant.cpp:46:19: �[0m�[0;1;30mnote: �[0min instantiation of function template specialization 'autorally_control::getRosParam<int>' requested here�[0m
  numTimesteps_ = getRosParam<int>("num_timesteps", mppi_node);
�[0;1;32m                  ^
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:79:10: �[0m�[0;1;30mnote: �[0muninitialized use occurs here�[0m
  return val;
�[0;1;32m         ^~~
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:72:3: �[0m�[0;1;30mnote: �[0mremove the 'if' if its condition is always false�[0m
  if (!found){
�[0;1;32m  ^~~~~~~~~~~~
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:70:8: �[0m�[0;1;30mnote: �[0minitialize the variable 'val' to silence this warning�[0m
  T val;
�[0;1;32m       ^
�[0m�[0;32m        = 0
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:72:7: �[0m�[0;1;35mwarning: �[0m�[1mvariable 'val' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]�[0m
  if (!found){
�[0;1;32m      ^~~~~~
�[0m�[1m/ros_ws/src/autorally/autorally_control/src/path_integral/autorally_plant.cpp:48:18: �[0m�[0;1;30mnote: �[0min instantiation of function template specialization 'autorally_control::getRosParam<float>' requested here�[0m
  throttleMax_ = getRosParam<float>("max_throttle", mppi_node);
�[0;1;32m                 ^
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:79:10: �[0m�[0;1;30mnote: �[0muninitialized use occurs here�[0m
  return val;
�[0;1;32m         ^~~
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:72:3: �[0m�[0;1;30mnote: �[0mremove the 'if' if its condition is always false�[0m
  if (!found){
�[0;1;32m  ^~~~~~~~~~~~
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:70:8: �[0m�[0;1;30mnote: �[0minitialize the variable 'val' to silence this warning�[0m
  T val;
�[0;1;32m       ^
�[0m�[0;32m        = 0.0
�[0mIn file included from /ros_ws/src/autorally/autorally_control/src/path_integral/autorally_plant.cpp:33:
In file included from /ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/autorally_plant.h:37:
�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:72:7: �[0m�[0;1;35mwarning: �[0m�[1mvariable 'val' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]�[0m
  if (!found){
�[0;1;32m      ^~~~~~
�[0m�[1m/ros_ws/src/autorally/autorally_control/src/path_integral/autorally_plant.cpp:45:17: �[0m�[0;1;30mnote: �[0min instantiation of function template specialization 'autorally_control::getRosParam<bool>' requested here�[0m
  debug_mode_ = getRosParam<bool>("debug_mode", mppi_node);
�[0;1;32m                ^
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:79:10: �[0m�[0;1;30mnote: �[0muninitialized use occurs here�[0m
  return val;
�[0;1;32m         ^~~
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:72:3: �[0m�[0;1;30mnote: �[0mremove the 'if' if its condition is always false�[0m
  if (!found){
�[0;1;32m  ^~~~~~~~~~~~
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:70:8: �[0m�[0;1;30mnote: �[0minitialize the variable 'val' to silence this warning�[0m
  T val;
�[0;1;32m       ^
�[0m�[0;32m        = false
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:72:7: �[0m�[0;1;35mwarning: �[0m�[1mvariable 'val' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]�[0m
  if (!found){
�[0;1;32m      ^~~~~~
�[0m�[1m/ros_ws/src/autorally/autorally_control/src/path_integral/autorally_plant.cpp:46:19: �[0m�[0;1;30mnote: �[0min instantiation of function template specialization 'autorally_control::getRosParam<int>' requested here�[0m
  numTimesteps_ = getRosParam<int>("num_timesteps", mppi_node);
�[0;1;32m                  ^
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:79:10: �[0m�[0;1;30mnote: �[0muninitialized use occurs here�[0m
  return val;
�[0;1;32m         ^~~
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:72:3: �[0m�[0;1;30mnote: �[0mremove the 'if' if its condition is always false�[0m
  if (!found){
�[0;1;32m  ^~~~~~~~~~~~
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:70:8: �[0m�[0;1;30mnote: �[0minitialize the variable 'val' to silence this warning�[0m
  T val;
�[0;1;32m       ^
�[0m�[0;32m        = 0
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:72:7: �[0m�[0;1;35mwarning: �[0m�[1mvariable 'val' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]�[0m
  if (!found){
�[0;1;32m      ^~~~~~
�[0m�[1m/ros_ws/src/autorally/autorally_control/src/path_integral/autorally_plant.cpp:48:18: �[0m�[0;1;30mnote: �[0min instantiation of function template specialization 'autorally_control::getRosParam<float>' requested here�[0m
  throttleMax_ = getRosParam<float>("max_throttle", mppi_node);
�[0;1;32m                 ^
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:79:10: �[0m�[0;1;30mnote: �[0muninitialized use occurs here�[0m
  return val;
�[0;1;32m         ^~~
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:72:3: �[0m�[0;1;30mnote: �[0mremove the 'if' if its condition is always false�[0m
  if (!found){
�[0;1;32m  ^~~~~~~~~~~~
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:70:8: �[0m�[0;1;30mnote: �[0minitialize the variable 'val' to silence this warning�[0m
  T val;
�[0;1;32m       ^
�[0m�[0;32m        = 0.0
�[0mIn file included from /ros_ws/src/autorally/autorally_control/src/path_integral/autorally_plant.cpp:33:
In file included from /ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/autorally_plant.h:37:
�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:72:7: �[0m�[0;1;35mwarning: �[0m�[1mvariable 'val' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]�[0m
  if (!found){
�[0;1;32m      ^~~~~~
�[0m�[1m/ros_ws/src/autorally/autorally_control/src/path_integral/autorally_plant.cpp:45:17: �[0m�[0;1;30mnote: �[0min instantiation of function template specialization 'autorally_control::getRosParam<bool>' requested here�[0m
  debug_mode_ = getRosParam<bool>("debug_mode", mppi_node);
�[0;1;32m                ^
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:79:10: �[0m�[0;1;30mnote: �[0muninitialized use occurs here�[0m
  return val;
�[0;1;32m         ^~~
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:72:3: �[0m�[0;1;30mnote: �[0mremove the 'if' if its condition is always false�[0m
  if (!found){
�[0;1;32m  ^~~~~~~~~~~~
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:70:8: �[0m�[0;1;30mnote: �[0minitialize the variable 'val' to silence this warning�[0m
  T val;
�[0;1;32m       ^
�[0m�[0;32m        = false
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:72:7: �[0m�[0;1;35mwarning: �[0m�[1mvariable 'val' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]�[0m
  if (!found){
�[0;1;32m      ^~~~~~
�[0m�[1m/ros_ws/src/autorally/autorally_control/src/path_integral/autorally_plant.cpp:46:19: �[0m�[0;1;30mnote: �[0min instantiation of function template specialization 'autorally_control::getRosParam<int>' requested here�[0m
  numTimesteps_ = getRosParam<int>("num_timesteps", mppi_node);
�[0;1;32m                  ^
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:79:10: �[0m�[0;1;30mnote: �[0muninitialized use occurs here�[0m
  return val;
�[0;1;32m         ^~~
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:72:3: �[0m�[0;1;30mnote: �[0mremove the 'if' if its condition is always false�[0m
  if (!found){
�[0;1;32m  ^~~~~~~~~~~~
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:70:8: �[0m�[0;1;30mnote: �[0minitialize the variable 'val' to silence this warning�[0m
  T val;
�[0;1;32m       ^
�[0m�[0;32m        = 0
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:72:7: �[0m�[0;1;35mwarning: �[0m�[1mvariable 'val' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]�[0m
  if (!found){
�[0;1;32m      ^~~~~~
�[0m�[1m/ros_ws/src/autorally/autorally_control/src/path_integral/autorally_plant.cpp:48:18: �[0m�[0;1;30mnote: �[0min instantiation of function template specialization 'autorally_control::getRosParam<float>' requested here�[0m
  throttleMax_ = getRosParam<float>("max_throttle", mppi_node);
�[0;1;32m                 ^
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:79:10: �[0m�[0;1;30mnote: �[0muninitialized use occurs here�[0m
  return val;
�[0;1;32m         ^~~
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:72:3: �[0m�[0;1;30mnote: �[0mremove the 'if' if its condition is always false�[0m
  if (!found){
�[0;1;32m  ^~~~~~~~~~~~
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:70:8: �[0m�[0;1;30mnote: �[0minitialize the variable 'val' to silence this warning�[0m
  T val;
�[0;1;32m       ^
�[0m�[0;32m        = 0.0
�[0mIn file included from /ros_ws/src/autorally/autorally_control/src/path_integral/autorally_plant.cpp:33:
In file included from /ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/autorally_plant.h:37:
�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:72:7: �[0m�[0;1;35mwarning: �[0m�[1mvariable 'val' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]�[0m
  if (!found){
�[0;1;32m      ^~~~~~
�[0m�[1m/ros_ws/src/autorally/autorally_control/src/path_integral/autorally_plant.cpp:45:17: �[0m�[0;1;30mnote: �[0min instantiation of function template specialization 'autorally_control::getRosParam<bool>' requested here�[0m
  debug_mode_ = getRosParam<bool>("debug_mode", mppi_node);
�[0;1;32m                ^
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:79:10: �[0m�[0;1;30mnote: �[0muninitialized use occurs here�[0m
  return val;
�[0;1;32m         ^~~
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:72:3: �[0m�[0;1;30mnote: �[0mremove the 'if' if its condition is always false�[0m
  if (!found){
�[0;1;32m  ^~~~~~~~~~~~
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:70:8: �[0m�[0;1;30mnote: �[0minitialize the variable 'val' to silence this warning�[0m
  T val;
�[0;1;32m       ^
�[0m�[0;32m        = false
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:72:7: �[0m�[0;1;35mwarning: �[0m�[1mvariable 'val' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]�[0m
  if (!found){
�[0;1;32m      ^~~~~~
�[0m�[1m/ros_ws/src/autorally/autorally_control/src/path_integral/autorally_plant.cpp:46:19: �[0m�[0;1;30mnote: �[0min instantiation of function template specialization 'autorally_control::getRosParam<int>' requested here�[0m
  numTimesteps_ = getRosParam<int>("num_timesteps", mppi_node);
�[0;1;32m                  ^
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:79:10: �[0m�[0;1;30mnote: �[0muninitialized use occurs here�[0m
  return val;
�[0;1;32m         ^~~
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:72:3: �[0m�[0;1;30mnote: �[0mremove the 'if' if its condition is always false�[0m
  if (!found){
�[0;1;32m  ^~~~~~~~~~~~
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:70:8: �[0m�[0;1;30mnote: �[0minitialize the variable 'val' to silence this warning�[0m
  T val;
�[0;1;32m       ^
�[0m�[0;32m        = 0
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:72:7: �[0m�[0;1;35mwarning: �[0m�[1mvariable 'val' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]�[0m
  if (!found){
�[0;1;32m      ^~~~~~
�[0m�[1m/ros_ws/src/autorally/autorally_control/src/path_integral/autorally_plant.cpp:48:18: �[0m�[0;1;30mnote: �[0min instantiation of function template specialization 'autorally_control::getRosParam<float>' requested here�[0m
  throttleMax_ = getRosParam<float>("max_throttle", mppi_node);
�[0;1;32m                 ^
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:79:10: �[0m�[0;1;30mnote: �[0muninitialized use occurs here�[0m
  return val;
�[0;1;32m         ^~~
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:72:3: �[0m�[0;1;30mnote: �[0mremove the 'if' if its condition is always false�[0m
  if (!found){
�[0;1;32m  ^~~~~~~~~~~~
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:70:8: �[0m�[0;1;30mnote: �[0minitialize the variable 'val' to silence this warning�[0m
  T val;
�[0;1;32m       ^
�[0m�[0;32m        = 0.0
�[0mIn file included from /ros_ws/src/autorally/autorally_control/src/path_integral/param_getter.cpp:35:
�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:72:7: �[0m�[0;1;35mwarning: �[0m�[1mvariable 'val' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]�[0m
  if (!found){
�[0;1;32m      ^~~~~~
�[0m�[1m/ros_ws/src/autorally/autorally_control/src/path_integral/param_getter.cpp:41:24: �[0m�[0;1;30mnote: �[0min instantiation of function template specialization 'autorally_control::getRosParam<bool>' requested here�[0m
  params->debug_mode = getRosParam<bool>("debug_mode", nh);
�[0;1;32m                       ^
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:79:10: �[0m�[0;1;30mnote: �[0muninitialized use occurs here�[0m
  return val;
�[0;1;32m         ^~~
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:72:3: �[0m�[0;1;30mnote: �[0mremove the 'if' if its condition is always false�[0m
  if (!found){
�[0;1;32m  ^~~~~~~~~~~~
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:70:8: �[0m�[0;1;30mnote: �[0minitialize the variable 'val' to silence this warning�[0m
  T val;
�[0;1;32m       ^
�[0m�[0;32m        = false
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:72:7: �[0m�[0;1;35mwarning: �[0m�[1mvariable 'val' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]�[0m
  if (!found){
�[0;1;32m      ^~~~~~
�[0m�[1m/ros_ws/src/autorally/autorally_control/src/path_integral/param_getter.cpp:42:16: �[0m�[0;1;30mnote: �[0min instantiation of function template specialization 'autorally_control::getRosParam<int>' requested here�[0m
  params->hz = getRosParam<int>("hz", nh);
�[0;1;32m               ^
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:79:10: �[0m�[0;1;30mnote: �[0muninitialized use occurs here�[0m
  return val;
�[0;1;32m         ^~~
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:72:3: �[0m�[0;1;30mnote: �[0mremove the 'if' if its condition is always false�[0m
  if (!found){
�[0;1;32m  ^~~~~~~~~~~~
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:70:8: �[0m�[0;1;30mnote: �[0minitialize the variable 'val' to silence this warning�[0m
  T val;
�[0;1;32m       ^
�[0m�[0;32m        = 0
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:72:7: �[0m�[0;1;35mwarning: �[0m�[1mvariable 'val' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]�[0m
  if (!found){
�[0;1;32m      ^~~~~~
�[0m�[1m/ros_ws/src/autorally/autorally_control/src/path_integral/param_getter.cpp:45:19: �[0m�[0;1;30mnote: �[0min instantiation of function template specialization 'autorally_control::getRosParam<double>' requested here�[0m
  params->x_pos = getRosParam<double>("x_pos", nh);
�[0;1;32m                  ^
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:79:10: �[0m�[0;1;30mnote: �[0muninitialized use occurs here�[0m
  return val;
�[0;1;32m         ^~~
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:72:3: �[0m�[0;1;30mnote: �[0mremove the 'if' if its condition is always false�[0m
  if (!found){
�[0;1;32m  ^~~~~~~~~~~~
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:70:8: �[0m�[0;1;30mnote: �[0minitialize the variable 'val' to silence this warning�[0m
  T val;
�[0;1;32m       ^
�[0m�[0;32m        = 0.0
�[0mIn file included from /ros_ws/src/autorally/autorally_control/src/path_integral/param_getter.cpp:35:
�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:72:7: �[0m�[0;1;35mwarning: �[0m�[1mvariable 'val' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]�[0m
  if (!found){
�[0;1;32m      ^~~~~~
�[0m�[1m/ros_ws/src/autorally/autorally_control/src/path_integral/param_getter.cpp:41:24: �[0m�[0;1;30mnote: �[0min instantiation of function template specialization 'autorally_control::getRosParam<bool>' requested here�[0m
  params->debug_mode = getRosParam<bool>("debug_mode", nh);
�[0;1;32m                       ^
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:79:10: �[0m�[0;1;30mnote: �[0muninitialized use occurs here�[0m
  return val;
�[0;1;32m         ^~~
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:72:3: �[0m�[0;1;30mnote: �[0mremove the 'if' if its condition is always false�[0m
  if (!found){
�[0;1;32m  ^~~~~~~~~~~~
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:70:8: �[0m�[0;1;30mnote: �[0minitialize the variable 'val' to silence this warning�[0m
  T val;
�[0;1;32m       ^
�[0m�[0;32m        = false
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:72:7: �[0m�[0;1;35mwarning: �[0m�[1mvariable 'val' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]�[0m
  if (!found){
�[0;1;32m      ^~~~~~
�[0m�[1m/ros_ws/src/autorally/autorally_control/src/path_integral/param_getter.cpp:42:16: �[0m�[0;1;30mnote: �[0min instantiation of function template specialization 'autorally_control::getRosParam<int>' requested here�[0m
  params->hz = getRosParam<int>("hz", nh);
�[0;1;32m               ^
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:79:10: �[0m�[0;1;30mnote: �[0muninitialized use occurs here�[0m
  return val;
�[0;1;32m         ^~~
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:72:3: �[0m�[0;1;30mnote: �[0mremove the 'if' if its condition is always false�[0m
  if (!found){
�[0;1;32m  ^~~~~~~~~~~~
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:70:8: �[0m�[0;1;30mnote: �[0minitialize the variable 'val' to silence this warning�[0m
  T val;
�[0;1;32m       ^
�[0m�[0;32m        = 0
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:72:7: �[0m�[0;1;35mwarning: �[0m�[1mvariable 'val' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]�[0m
  if (!found){
�[0;1;32m      ^~~~~~
�[0m�[1m/ros_ws/src/autorally/autorally_control/src/path_integral/param_getter.cpp:45:19: �[0m�[0;1;30mnote: �[0min instantiation of function template specialization 'autorally_control::getRosParam<double>' requested here�[0m
  params->x_pos = getRosParam<double>("x_pos", nh);
�[0;1;32m                  ^
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:79:10: �[0m�[0;1;30mnote: �[0muninitialized use occurs here�[0m
  return val;
�[0;1;32m         ^~~
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:72:3: �[0m�[0;1;30mnote: �[0mremove the 'if' if its condition is always false�[0m
  if (!found){
�[0;1;32m  ^~~~~~~~~~~~
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:70:8: �[0m�[0;1;30mnote: �[0minitialize the variable 'val' to silence this warning�[0m
  T val;
�[0;1;32m       ^
�[0m�[0;32m        = 0.0
�[0mIn file included from /ros_ws/src/autorally/autorally_control/src/path_integral/param_getter.cpp:35:
�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:72:7: �[0m�[0;1;35mwarning: �[0m�[1mvariable 'val' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]�[0m
  if (!found){
�[0;1;32m      ^~~~~~
�[0m�[1m/ros_ws/src/autorally/autorally_control/src/path_integral/param_getter.cpp:41:24: �[0m�[0;1;30mnote: �[0min instantiation of function template specialization 'autorally_control::getRosParam<bool>' requested here�[0m
  params->debug_mode = getRosParam<bool>("debug_mode", nh);
�[0;1;32m                       ^
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:79:10: �[0m�[0;1;30mnote: �[0muninitialized use occurs here�[0m
  return val;
�[0;1;32m         ^~~
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:72:3: �[0m�[0;1;30mnote: �[0mremove the 'if' if its condition is always false�[0m
  if (!found){
�[0;1;32m  ^~~~~~~~~~~~
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:70:8: �[0m�[0;1;30mnote: �[0minitialize the variable 'val' to silence this warning�[0m
  T val;
�[0;1;32m       ^
�[0m�[0;32m        = false
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:72:7: �[0m�[0;1;35mwarning: �[0m�[1mvariable 'val' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]�[0m
  if (!found){
�[0;1;32m      ^~~~~~
�[0m�[1m/ros_ws/src/autorally/autorally_control/src/path_integral/param_getter.cpp:42:16: �[0m�[0;1;30mnote: �[0min instantiation of function template specialization 'autorally_control::getRosParam<int>' requested here�[0m
  params->hz = getRosParam<int>("hz", nh);
�[0;1;32m               ^
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:79:10: �[0m�[0;1;30mnote: �[0muninitialized use occurs here�[0m
  return val;
�[0;1;32m         ^~~
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:72:3: �[0m�[0;1;30mnote: �[0mremove the 'if' if its condition is always false�[0m
  if (!found){
�[0;1;32m  ^~~~~~~~~~~~
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:70:8: �[0m�[0;1;30mnote: �[0minitialize the variable 'val' to silence this warning�[0m
  T val;
�[0;1;32m       ^
�[0m�[0;32m        = 0
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:72:7: �[0m�[0;1;35mwarning: �[0m�[1mvariable 'val' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]�[0m
  if (!found){
�[0;1;32m      ^~~~~~
�[0m�[1m/ros_ws/src/autorally/autorally_control/src/path_integral/param_getter.cpp:45:19: �[0m�[0;1;30mnote: �[0min instantiation of function template specialization 'autorally_control::getRosParam<double>' requested here�[0m
  params->x_pos = getRosParam<double>("x_pos", nh);
�[0;1;32m                  ^
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:79:10: �[0m�[0;1;30mnote: �[0muninitialized use occurs here�[0m
  return val;
�[0;1;32m         ^~~
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:72:3: �[0m�[0;1;30mnote: �[0mremove the 'if' if its condition is always false�[0m
  if (!found){
�[0;1;32m  ^~~~~~~~~~~~
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:70:8: �[0m�[0;1;30mnote: �[0minitialize the variable 'val' to silence this warning�[0m
  T val;
�[0;1;32m       ^
�[0m�[0;32m        = 0.0
�[0mIn file included from /ros_ws/src/autorally/autorally_control/src/path_integral/param_getter.cpp:35:
�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:72:7: �[0m�[0;1;35mwarning: �[0m�[1mvariable 'val' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]�[0m
  if (!found){
�[0;1;32m      ^~~~~~
�[0m�[1m/ros_ws/src/autorally/autorally_control/src/path_integral/param_getter.cpp:41:24: �[0m�[0;1;30mnote: �[0min instantiation of function template specialization 'autorally_control::getRosParam<bool>' requested here�[0m
  params->debug_mode = getRosParam<bool>("debug_mode", nh);
�[0;1;32m                       ^
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:79:10: �[0m�[0;1;30mnote: �[0muninitialized use occurs here�[0m
  return val;
�[0;1;32m         ^~~
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:72:3: �[0m�[0;1;30mnote: �[0mremove the 'if' if its condition is always false�[0m
  if (!found){
�[0;1;32m  ^~~~~~~~~~~~
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:70:8: �[0m�[0;1;30mnote: �[0minitialize the variable 'val' to silence this warning�[0m
  T val;
�[0;1;32m       ^
�[0m�[0;32m        = false
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:72:7: �[0m�[0;1;35mwarning: �[0m�[1mvariable 'val' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]�[0m
  if (!found){
�[0;1;32m      ^~~~~~
�[0m�[1m/ros_ws/src/autorally/autorally_control/src/path_integral/param_getter.cpp:42:16: �[0m�[0;1;30mnote: �[0min instantiation of function template specialization 'autorally_control::getRosParam<int>' requested here�[0m
  params->hz = getRosParam<int>("hz", nh);
�[0;1;32m               ^
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:79:10: �[0m�[0;1;30mnote: �[0muninitialized use occurs here�[0m
  return val;
�[0;1;32m         ^~~
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:72:3: �[0m�[0;1;30mnote: �[0mremove the 'if' if its condition is always false�[0m
  if (!found){
�[0;1;32m  ^~~~~~~~~~~~
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:70:8: �[0m�[0;1;30mnote: �[0minitialize the variable 'val' to silence this warning�[0m
  T val;
�[0;1;32m       ^
�[0m�[0;32m        = 0
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:72:7: �[0m�[0;1;35mwarning: �[0m�[1mvariable 'val' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]�[0m
  if (!found){
�[0;1;32m      ^~~~~~
�[0m�[1m/ros_ws/src/autorally/autorally_control/src/path_integral/param_getter.cpp:45:19: �[0m�[0;1;30mnote: �[0min instantiation of function template specialization 'autorally_control::getRosParam<double>' requested here�[0m
  params->x_pos = getRosParam<double>("x_pos", nh);
�[0;1;32m                  ^
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:79:10: �[0m�[0;1;30mnote: �[0muninitialized use occurs here�[0m
  return val;
�[0;1;32m         ^~~
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:72:3: �[0m�[0;1;30mnote: �[0mremove the 'if' if its condition is always false�[0m
  if (!found){
�[0;1;32m  ^~~~~~~~~~~~
�[0m�[1m/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/param_getter.h:70:8: �[0m�[0;1;30mnote: �[0minitialize the variable 'val' to silence this warning�[0m
  T val;
�[0;1;32m       ^
�[0m�[0;32m        = 0.0
�[0m�[0;1;35mwarning: �[0mUnknown CUDA version. cuda.h: CUDA_VERSION=11040. Assuming the latest supported version 10.1 [-Wunknown-cuda-version]�[0m
�[0;1;31merror: �[0mcannot find libdevice for sm_20. Provide path to different CUDA installation via --cuda-path, or pass -nocudalib to build without linking with libdevice.�[0m
�[0;1;31merror: �[0mGPU arch sm_20 is supported by CUDA versions between 7.0 and 8.0 (inclusive), but installation at /usr/local/cuda-11.4 is 11.0. Use --cuda-path to specify a different CUDA install, pass a different GPU arch with --cuda-gpu-arch, or pass --no-cuda-version-check.�[0m
In file included from <built-in>:1:
In file included from /opt/rosdiscover/lib/clang/11.1.0/include/__clang_cuda_runtime_wrapper.h:72:
�[1m/opt/rosdiscover/lib/clang/11.1.0/include/__clang_cuda_builtin_vars.h:53:27: �[0m�[0;1;31merror: �[0m�[1muse of undeclared identifier '__nvvm_read_ptx_sreg_tid_x'�[0m
  __CUDA_DEVICE_BUILTIN(x,__nvvm_read_ptx_sreg_tid_x());
�[0;1;32m                          ^
�[0m�[1m/opt/rosdiscover/lib/clang/11.1.0/include/__clang_cuda_builtin_vars.h:54:27: �[0m�[0;1;31merror: �[0m�[1muse of undeclared identifier '__nvvm_read_ptx_sreg_tid_y'�[0m
  __CUDA_DEVICE_BUILTIN(y,__nvvm_read_ptx_sreg_tid_y());
�[0;1;32m                          ^
�[0m�[1m/opt/rosdiscover/lib/clang/11.1.0/include/__clang_cuda_builtin_vars.h:55:27: �[0m�[0;1;31merror: �[0m�[1muse of undeclared identifier '__nvvm_read_ptx_sreg_tid_z'�[0m
  __CUDA_DEVICE_BUILTIN(z,__nvvm_read_ptx_sreg_tid_z());
�[0;1;32m                          ^
�[0m�[1m/opt/rosdiscover/lib/clang/11.1.0/include/__clang_cuda_builtin_vars.h:64:27: �[0m�[0;1;31merror: �[0m�[1muse of undeclared identifier '__nvvm_read_ptx_sreg_ctaid_x'�[0m
  __CUDA_DEVICE_BUILTIN(x,__nvvm_read_ptx_sreg_ctaid_x());
�[0;1;32m                          ^
�[0m�[1m/opt/rosdiscover/lib/clang/11.1.0/include/__clang_cuda_builtin_vars.h:65:27: �[0m�[0;1;31merror: �[0m�[1muse of undeclared identifier '__nvvm_read_ptx_sreg_ctaid_y'�[0m
  __CUDA_DEVICE_BUILTIN(y,__nvvm_read_ptx_sreg_ctaid_y());
�[0;1;32m                          ^
�[0m�[1m/opt/rosdiscover/lib/clang/11.1.0/include/__clang_cuda_builtin_vars.h:66:27: �[0m�[0;1;31merror: �[0m�[1muse of undeclared identifier '__nvvm_read_ptx_sreg_ctaid_z'�[0m
  __CUDA_DEVICE_BUILTIN(z,__nvvm_read_ptx_sreg_ctaid_z());
�[0;1;32m                          ^
�[0m�[1m/opt/rosdiscover/lib/clang/11.1.0/include/__clang_cuda_builtin_vars.h:75:27: �[0m�[0;1;31merror: �[0m�[1muse of undeclared identifier '__nvvm_read_ptx_sreg_ntid_x'�[0m
  __CUDA_DEVICE_BUILTIN(x,__nvvm_read_ptx_sreg_ntid_x());
�[0;1;32m                          ^
�[0m�[1m/opt/rosdiscover/lib/clang/11.1.0/include/__clang_cuda_builtin_vars.h:76:27: �[0m�[0;1;31merror: �[0m�[1muse of undeclared identifier '__nvvm_read_ptx_sreg_ntid_y'�[0m
  __CUDA_DEVICE_BUILTIN(y,__nvvm_read_ptx_sreg_ntid_y());
�[0;1;32m                          ^
�[0m�[1m/opt/rosdiscover/lib/clang/11.1.0/include/__clang_cuda_builtin_vars.h:77:27: �[0m�[0;1;31merror: �[0m�[1muse of undeclared identifier '__nvvm_read_ptx_sreg_ntid_z'�[0m
  __CUDA_DEVICE_BUILTIN(z,__nvvm_read_ptx_sreg_ntid_z());
�[0;1;32m                          ^
�[0m�[1m/opt/rosdiscover/lib/clang/11.1.0/include/__clang_cuda_builtin_vars.h:86:27: �[0m�[0;1;31merror: �[0m�[1muse of undeclared identifier '__nvvm_read_ptx_sreg_nctaid_x'�[0m
  __CUDA_DEVICE_BUILTIN(x,__nvvm_read_ptx_sreg_nctaid_x());
�[0;1;32m                          ^
�[0m�[1m/opt/rosdiscover/lib/clang/11.1.0/include/__clang_cuda_builtin_vars.h:87:27: �[0m�[0;1;31merror: �[0m�[1muse of undeclared identifier '__nvvm_read_ptx_sreg_nctaid_y'�[0m
  __CUDA_DEVICE_BUILTIN(y,__nvvm_read_ptx_sreg_nctaid_y());
�[0;1;32m                          ^
�[0m�[1m/opt/rosdiscover/lib/clang/11.1.0/include/__clang_cuda_builtin_vars.h:88:27: �[0m�[0;1;31merror: �[0m�[1muse of undeclared identifier '__nvvm_read_ptx_sreg_nctaid_z'�[0m
  __CUDA_DEVICE_BUILTIN(z,__nvvm_read_ptx_sreg_nctaid_z());
�[0;1;32m                          ^
�[0mIn file included from <built-in>:1:
In file included from /opt/rosdiscover/lib/clang/11.1.0/include/__clang_cuda_runtime_wrapper.h:156:
�[1m/opt/rosdiscover/lib/clang/11.1.0/include/__clang_cuda_device_functions.h:29:40: �[0m�[0;1;31merror: �[0m�[1muse of undeclared identifier '__nvvm_vote_all'�[0m
__DEVICE__ int __all(int __a) { return __nvvm_vote_all(__a); }
�[0;1;32m                                       ^
�[0m�[1m/opt/rosdiscover/lib/clang/11.1.0/include/__clang_cuda_device_functions.h:30:40: �[0m�[0;1;31merror: �[0m�[1muse of undeclared identifier '__nvvm_vote_any'�[0m
__DEVICE__ int __any(int __a) { return __nvvm_vote_any(__a); }
�[0;1;32m                                       ^
�[0m�[1m/opt/rosdiscover/lib/clang/11.1.0/include/__clang_cuda_device_functions.h:31:52: �[0m�[0;1;31merror: �[0m�[1muse of undeclared identifier '__nvvm_vote_ballot'�[0m
__DEVICE__ unsigned int __ballot(int __a) { return __nvvm_vote_ballot(__a); }
�[0;1;32m                                                   ^
�[0m�[1m/opt/rosdiscover/lib/clang/11.1.0/include/__clang_cuda_device_functions.h:51:10: �[0m�[0;1;31merror: �[0m�[1muse of undeclared identifier '__nvvm_atom_add_gen_d'�[0m
  return __nvvm_atom_add_gen_d(__p, __v);
�[0;1;32m         ^
�[0m�[1m/opt/rosdiscover/lib/clang/11.1.0/include/__clang_cuda_device_functions.h:54:10: �[0m�[0;1;31merror: �[0m�[1muse of undeclared identifier '__nvvm_atom_cta_add_gen_d'�[0m
  return __nvvm_atom_cta_add_gen_d(__p, __v);
�[0;1;32m         ^
�[0m�[1m/opt/rosdiscover/lib/clang/11.1.0/include/__clang_cuda_device_functions.h:57:10: �[0m�[0;1;31merror: �[0m�[1muse of undeclared identifier '__nvvm_atom_sys_add_gen_d'�[0m
  return __nvvm_atom_sys_add_gen_d(__p, __v);
�[0;1;32m         ^
�[0m�[1m/opt/rosdiscover/lib/clang/11.1.0/include/__clang_cuda_device_functions.h:175:10: �[0m�[0;1;31merror: �[0m�[1muse of undeclared identifier '__nvvm_atom_add_gen_f'�[0m
  return __nvvm_atom_add_gen_f(__p, __v);
�[0;1;32m         ^
�[0m�[0;1;31mfatal error: �[0mtoo many errors emitted, stopping now [-ferror-limit=]�[0m
built 9 ASTs
importing decls from translation unit [1/8]
importing decls from translation unit [2/8]
importing decls from translation unit [3/8]
importing decls from translation unit [4/8]
importing decls from translation unit [5/8]
importing decls from translation unit [6/8]
importing decls from translation unit [7/8]
importing decls from translation unit [8/8]
FATAL ERROR: failed to merge ASTs
2021-11-06 23:09:26.679 | ERROR    | rosdiscover.project.models:_recover:77 - Static recovery failed for autorally_control/path_integral_nn
Traceback (most recent call last):

  File "/usr/local/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
           │         │     └ {'__name__': '__main__', '__file__': '/code/scripts/recover-system.py', '__builtins__': {'__name__': 'builtins', '__doc__': "...
           │         └ <code object <module> at 0x7f6804040f50, file "/usr/local/lib/python3.9/pdb.py", line 3>
           └ <function _run_code at 0x7f68042f4040>
  File "/usr/local/lib/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
         │     └ {'__name__': '__main__', '__file__': '/code/scripts/recover-system.py', '__builtins__': {'__name__': 'builtins', '__doc__': "...
         └ <code object <module> at 0x7f6804040f50, file "/usr/local/lib/python3.9/pdb.py", line 3>
  File "/usr/local/lib/python3.9/pdb.py", line 1750, in <module>
    pdb.main()
  File "/usr/local/lib/python3.9/pdb.py", line 1723, in main
    pdb._runscript(mainpyfile)
    │   │          └ '/code/scripts/recover-system.py'
    │   └ <function Pdb._runscript at 0x7f6803e86e50>
    └ <pdb.Pdb object at 0x7f680428bfd0>
  File "/usr/local/lib/python3.9/pdb.py", line 1583, in _runscript
    self.run(statement)
    │    │   └ 'exec(compile(b\'#!/usr/bin/env python3\\n# -*- coding: utf-8 -*-\\n"""This script is used to statically recover run-time arc...
    │    └ <function Bdb.run at 0x7f6803e39430>
    └ <pdb.Pdb object at 0x7f680428bfd0>
  File "/usr/local/lib/python3.9/bdb.py", line 580, in run
    exec(cmd, globals, locals)
         │    │        └ {'__name__': '__main__', '__file__': '/code/scripts/recover-system.py', '__builtins__': {'__name__': 'builtins', '__doc__': "...
         │    └ {'__name__': '__main__', '__file__': '/code/scripts/recover-system.py', '__builtins__': {'__name__': 'builtins', '__doc__': "...
         └ <code object <module> at 0x7f6803e90b30, file "<string>", line 1>
  File "<string>", line 1, in <module>

  File "/code/scripts/recover-system.py", line 3, in <module>
    """This script is used to statically recover run-time architectures for entire ROS systems."""

  File "/code/scripts/recover-system.py", line 120, in main
    recover(config)
    │       └ {'type': 'detection', 'subject': 'autorally', 'distro': 'indigo', 'build_command': 'try_again "catkin_make -DCMAKE_EXPORT_COM...
    └ <function recover at 0x7f6803e8c0d0>

  File "/code/scripts/recover-system.py", line 26, in recover
    ({

  File "/code/scripts/recover-system.py", line 39, in _recover_for_detection_experiment
    recover_system(
    └ <function recover_system at 0x7f6802118af0>

  File "/code/scripts/recover-system.py", line 86, in recover_system
    rosdiscover.cli.main(args)
    │           │   │    └ ['launch', '/tmp/tmpvatohxyb.rosdiscover.yml', '--output', '/code/experiments/detection/subjects/autorally-02/buggy.architect...
    │           │   └ <function main at 0x7f6802118550>
    │           └ <module 'rosdiscover.cli' from '/code/deps/rosdiscover/src/rosdiscover/cli.py'>
    └ <module 'rosdiscover' from '/code/deps/rosdiscover/src/rosdiscover/__init__.py'>

  File "/code/deps/rosdiscover/src/rosdiscover/cli.py", line 356, in main
    parsed_args.func(parsed_args)
    │           │    └ Namespace(output='/code/experiments/detection/subjects/autorally-02/buggy.architecture.yml', config=<_io.TextIOWrapper name='...
    │           └ <function launch at 0x7f6802118040>
    └ Namespace(output='/code/experiments/detection/subjects/autorally-02/buggy.architecture.yml', config=<_io.TextIOWrapper name='...

  File "/code/deps/rosdiscover/src/rosdiscover/cli.py", line 72, in launch
    summary = _launch_config(args)
              │              └ Namespace(output='/code/experiments/detection/subjects/autorally-02/buggy.architecture.yml', config=<_io.TextIOWrapper name='...
              └ <function _launch_config at 0x7f680220ca60>

  File "/code/deps/rosdiscover/src/rosdiscover/cli.py", line 67, in _launch_config
    return _launch(config)
           │       └ Config(image='rosdiscover-experiments/autorally:autorally-02-buggy', sources=('/opt/ros/melodic/setup.bash', '/ros_ws/devel/s...
           └ <function _launch at 0x7f68022079d0>

  File "/code/deps/rosdiscover/src/rosdiscover/cli.py", line 61, in _launch
    interpreter.launch(fn_launch)
    │           │      └ Launch(filename='/ros_ws/src/autorally/autorally_control/launch/path_integral_nn.launch', arguments={})
    │           └ <function Interpreter.launch at 0x7f6802369820>
    └ <rosdiscover.interpreter.interpreter.Interpreter object at 0x7f6801f47430>

  File "/code/deps/rosdiscover/src/rosdiscover/interpreter/interpreter.py", line 110, in launch
    self._load(pkg=node.package,
    │    │         │    └ <member 'package' of 'NodeConfig' objects>
    │    │         └ NodeConfig(namespace='/', name='mppi_controller', typ='path_integral_nn', package='autorally_control', executable_path='/ros_...
    │    └ <function Interpreter._load at 0x7f68023699d0>
    └ <rosdiscover.interpreter.interpreter.Interpreter object at 0x7f6801f47430>

  File "/code/deps/rosdiscover/src/rosdiscover/interpreter/interpreter.py", line 276, in _load
    model = self.models.fetch(pkg, nodetype)
            │    │      │     │    └ 'path_integral_nn'
            │    │      │     └ 'autorally_control'
            │    │      └ <function ProjectModels.fetch at 0x7f6802362e50>
            │    └ ProjectModels(config=Config(image='rosdiscover-experiments/autorally:autorally-02-buggy', sources=('/opt/ros/melodic/setup.ba...
            └ <rosdiscover.interpreter.interpreter.Interpreter object at 0x7f6801f47430>

  File "/code/deps/rosdiscover/src/rosdiscover/project/models.py", line 147, in fetch
    fetched_model = model_source(package, node)
                    │            │        └ 'path_integral_nn'
                    │            └ 'autorally_control'
                    └ <bound method ProjectModels._recover of ProjectModels(config=Config(image='rosdiscover-experiments/autorally:autorally-02-bug...

> File "/code/deps/rosdiscover/src/rosdiscover/project/models.py", line 72, in _recover
    model = self._recovery_tool.recover_using_cmakelists(package, node)
            │    │                                       │        └ 'path_integral_nn'
            │    │                                       └ 'autorally_control'
            │    └ <member '_recovery_tool' of 'ProjectModels' objects>
            └ ProjectModels(config=Config(image='rosdiscover-experiments/autorally:autorally-02-buggy', sources=('/opt/ros/melodic/setup.ba...

  File "/code/deps/rosdiscover/src/rosdiscover/recover/tool.py", line 279, in recover_using_cmakelists
    return self.recover(package_name, node_name, entrypoint, source_info.sources,
           │    │       │             │          │           │           └ {'src/path_integral/autorally_plant.cpp', 'src/path_integral/param_getter.cpp', './src/path_integral/path_integral_main.cu'}
           │    │       │             │          │           └ CMakeBinaryTarget(name='path_integral_nn', language=<SourceLanguage.CXX: 'cxx'>, sources={'src/path_integral/autorally_plant....
           │    │       │             │          └ 'main'
           │    │       │             └ 'path_integral_nn'
           │    │       └ 'autorally_control'
           │    └ <function NodeRecoveryTool.recover at 0x7f6802290a60>
           └ NodeRecoveryTool(_app=App(image='rosdiscover-experiments/autorally:autorally-02-buggy', sources=('/opt/ros/melodic/setup.bash...

  File "/code/deps/rosdiscover/src/rosdiscover/recover/tool.py", line 341, in recover
    program = self._recover(compile_commands_path, entrypoint, sources, path_restrictions)
              │    │        │                      │           │        └ {'/ros_ws/devel/include/autorally_control', '/ros_ws/src/autorally/autorally_control'}
              │    │        │                      │           └ ['/ros_ws/src/autorally/autorally_control/src/path_integral/autorally_plant.cpp', '/ros_ws/src/autorally/autorally_control/sr...
              │    │        │                      └ 'main'
              │    │        └ '/ros_ws/build/autorally_control/compile_commands.json'
              │    └ <function NodeRecoveryTool._recover at 0x7f680240ae50>
              └ NodeRecoveryTool(_app=App(image='rosdiscover-experiments/autorally:autorally-02-buggy', sources=('/opt/ros/melodic/setup.bash...

  File "/code/deps/rosdiscover/src/rosdiscover/recover/tool.py", line 433, in _recover
    raise RuntimeError("static recovery process failed")

RuntimeError: static recovery process failed

@ChrisTimperley
Copy link
Member

[ 88%] Building NVCC (Device) object autorally/autorally_control/src/path_integral/CMakeFiles/path_integral_bf.dir/path_integral_bf_generated_path_integral_main.cu.o
/ros_ws/devel/lib/libflycapture.so.2: undefined reference to `powf@GLIBC_2.27'
collect2: error: ld returned 1 exit status
pointgrey_camera_driver/pointgrey_camera_driver/CMakeFiles/pointgrey_list_cameras.dir/build.make:151: recipe for target '/ros_ws/devel/lib/pointgrey_camera_driver/list_cameras' failed
make[2]: *** [/ros_ws/devel/lib/pointgrey_camera_driver/list_cameras] Error 1
CMakeFiles/Makefile2:59902: recipe for target 'pointgrey_camera_driver/pointgrey_camera_driver/CMakeFiles/pointgrey_list_cameras.dir/all' failed
make[1]: *** [pointgrey_camera_driver/pointgrey_camera_driver/CMakeFiles/pointgrey_list_cameras.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 93%] Built target rviz
/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/costs.cu(226): error: type name is not allowed

/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/costs.cu(226): error: expected an expression

/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/costs.cu(227): error: type name is not allowed

/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/costs.cu(227): error: expected an expression

/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/costs.cu(228): error: type name is not allowed

/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/costs.cu(228): error: expected an expression

/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/costs.cu(245): error: type name is not allowed

/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/costs.cu(245): error: expected an expression

/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/costs.cu(246): error: type name is not allowed

/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/costs.cu(246): error: expected an expression

/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/costs.cu(247): error: type name is not allowed

/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/costs.cu(247): error: expected an expression

/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/costs.cu(248): error: type name is not allowed

/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/costs.cu(248): error: expected an expression

/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/costs.cu(226): error: type name is not allowed

/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/costs.cu(226): error: expected an expression

/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/costs.cu(227): error: type name is not allowed

/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/costs.cu(227): error: expected an expression

/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/costs.cu(228): error: type name is not allowed

/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/costs.cu(228): error: expected an expression

/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/costs.cu(245): error: type name is not allowed

/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/costs.cu(245): error: expected an expression

/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/costs.cu(246): error: type name is not allowed

/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/costs.cu(246): error: expected an expression

/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/costs.cu(247): error: type name is not allowed

/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/costs.cu(247): error: expected an expression

/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/costs.cu(248): error: type name is not allowed

/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/costs.cu(248): error: expected an expression

/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/costs.cu(226): error: type name is not allowed

/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/costs.cu(226): error: expected an expression

/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/costs.cu(227): error: type name is not allowed

/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/costs.cu(227): error: expected an expression

/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/costs.cu(228): error: type name is not allowed

/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/costs.cu(228): error: expected an expression

/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/costs.cu(245): error: type name is not allowed

/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/costs.cu(245): error: expected an expression

/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/costs.cu(246): error: type name is not allowed

/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/costs.cu(246): error: expected an expression

/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/costs.cu(247): error: type name is not allowed

/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/costs.cu(247): error: expected an expression

/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/costs.cu(248): error: type name is not allowed

/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/costs.cu(248): error: expected an expression

/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/generalized_linear.cut(98): error: type name is not allowed

/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/generalized_linear.cut(98): error: expected an expression

/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/generalized_linear.cut(98): error: type name is not allowed

/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/generalized_linear.cut(98): error: expected an expression

/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/neural_net_model.cut(87): error: type name is not allowed

/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/neural_net_model.cut(87): error: expected an expression

/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/neural_net_model.cut(88): error: type name is not allowed

/ros_ws/src/autorally/autorally_control/include/autorally_control/path_integral/neural_net_model.cut(88): error: expected an expression

16 errors detected in the compilation of "/tmp/tmpxft_000212f6_00000000-7_path_integral_main.cpp1.ii".
CMake Error at path_integral_bf_generated_path_integral_main.cu.o.cmake:262 (message):
  Error generating file
  /ros_ws/build/autorally/autorally_control/src/path_integral/CMakeFiles/path_integral_bf.dir//./path_integral_bf_generated_path_integral_main.cu.o


autorally/autorally_control/src/path_integral/CMakeFiles/path_integral_bf.dir/build.make:1626: recipe for target 'autorally/autorally_control/src/path_integral/CMakeFiles/path_integral_bf.dir/path_integral_bf_generated_path_integral_main.cu.o' failed
make[2]: *** [autorally/autorally_control/src/path_integral/CMakeFiles/path_integral_bf.dir/path_integral_bf_generated_path_integral_main.cu.o] Error 1
make[1]: *** [autorally/autorally_control/src/path_integral/CMakeFiles/path_integral_bf.dir/all] Error 2
CMakeFiles/Makefile2:61845: recipe for target 'autorally/autorally_control/src/path_integral/CMakeFiles/path_integral_bf.dir/all' failed
16 errors detected in the compilation of "/tmp/tmpxft_00021306_00000000-7_path_integral_main.cpp1.ii".
18 errors detected in the compilation of "/tmp/tmpxft_000212ff_00000000-7_path_integral_main.cpp1.ii".
CMake Error at path_integral_bf_generated_path_integral_main.cu.o.cmake:262 (message):
  Error generating file
  /ros_ws/build/autorally/autorally_control/src/path_integral/CMakeFiles/path_integral_bf.dir//./path_integral_bf_generated_path_integral_main.cu.o


make[2]: *** [autorally/autorally_control/src/path_integral/CMakeFiles/path_integral_bf.dir/path_integral_bf_generated_path_integral_main.cu.o] Error 1
make[2]: *** Waiting for unfinished jobs....
autorally/autorally_control/src/path_integral/CMakeFiles/path_integral_nn.dir/build.make:1626: recipe for target 'autorally/autorally_control/src/path_integral/CMakeFiles/path_integral_bf.dir/path_integral_bf_generated_path_integral_main.cu.o' failed
CMake Error at path_integral_nn_generated_path_integral_main.cu.o.cmake:262 (message):
  Error generating file
  /ros_ws/build/autorally/autorally_control/src/path_integral/CMakeFiles/path_integral_nn.dir//./path_integral_nn_generated_path_integral_main.cu.o


autorally/autorally_control/src/path_integral/CMakeFiles/path_integral_nn.dir/build.make:3196: recipe for target 'autorally/autorally_control/src/path_integral/CMakeFiles/path_integral_nn.dir/path_integral_nn_generated_path_integral_main.cu.o' failed
make[2]: *** [autorally/autorally_control/src/path_integral/CMakeFiles/path_integral_nn.dir/path_integral_nn_generated_path_integral_main.cu.o] Error 1
CMakeFiles/Makefile2:62027: recipe for target 'autorally/autorally_control/src/path_integral/CMakeFiles/path_integral_nn.dir/all' failed
make[1]: *** [autorally/autorally_control/src/path_integral/CMakeFiles/path_integral_nn.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j144 -l144" failed
####
#### Running command: "make cmake_check_build_system" in "/ros_ws/build"
####
####
#### Running command: "make -j144 -l144" in "/ros_ws/build"
####
ERROR: command failed after 6 attempts: catkin_make -DCMAKE_EXPORT_COMPILE_COMMANDS=1
The command '/bin/sh -c eval "$(pyenv init --path)"  && eval "$(pyenv init -)"  && eval "$(pyenv virtualenv-init -)"  && . /opt/ros/${ROS_DISTRO}/setup.sh  && eval "${BUILD_COMMAND}"' returned a non-zero code: 1
2021-11-07 22:21:00.592 | ERROR    | __main__:build_image:58 - failed to build image: rosdiscover-experiments/autorally:257aaa51f6a2d8dbd1aed6d59c7346325f3e5bdd

@ChrisTimperley
Copy link
Member

The build issue is a little clearer after switching to catkin build:

_______________________________________________________________________________
Errors << pointgrey_camera_driver:make /ros_ws/logs/pointgrey_camera_driver/build.make.000.log
/ros_ws/devel/.private/pointgrey_camera_driver/lib/libflycapture.so.2: undefined reference to `powf@GLIBC_2.27'
collect2: error: ld returned 1 exit status
make[2]: *** [/ros_ws/devel/.private/pointgrey_camera_driver/lib/pointgrey_camera_driver/list_cameras] Error 1
make[1]: *** [CMakeFiles/pointgrey_list_cameras.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [all] Error 2
cd /ros_ws/build/pointgrey_camera_driver; catkin build --get-env pointgrey_camera_driver | catkin env -si  /usr/bin/make --jobserver-fds=6,7 -j; cd -
...............................................................................
Failed << pointgrey_camera_driver:make               [ Exited with code 2 ]

This looks like a glibc conflict between the installed libflycapture and kinetic.

@ChrisTimperley
Copy link
Member

It looks like the Docker image is using a version of libflycapture that's intended for 18.04/Melodic, rather than the 16.04/Kinetic version. I'll swap it out and try to build again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants