Skip to content

Commit

Permalink
Minor tweaks to script and updates .h files
Browse files Browse the repository at this point in the history
  • Loading branch information
TSNoble committed Nov 21, 2024
1 parent b4a6299 commit aca9ab1
Show file tree
Hide file tree
Showing 377 changed files with 379 additions and 378 deletions.
4 changes: 2 additions & 2 deletions moveit/scripts/create_deprecated_headers.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ class DeprecatedHeader:
def __init__(self, hpp: HppFile):
self.hpp = hpp
self.path = hpp.path.with_suffix(".h")
self.prefix = f"This file was autogenerated by {__file__}"
self.prefix = f"/* This file was autogenerated by {Path(__file__).name}"
self.warn = '#pragma message(".h header is obsolete. Please use the .hpp")'
self.contents = self.contents()

Expand Down Expand Up @@ -123,7 +123,7 @@ def parse_args(args: List) -> bool:
answer = input("Proceed to generate? (y/n): ")
apply = answer.lower() == "y"
if apply:
print("Proceeding to generate {} .h files...")
print(f"Proceeding to generate {len(processed)} .h files...")
to_generate = [DeprecatedHeader(hpp) for hpp in processed]
_ = [open(h.path, "w").write(h.contents) for h in to_generate]
print("Done.")
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This file was autogenerated by / root / ws_moveit / src / moveit2 /./ moveit / scripts / create_deprecated_headers.py
/* This file was autogenerated by create_deprecated_headers.py
/*********************************************************************
* Software License Agreement (BSD License)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This file was autogenerated by / root / ws_moveit / src / moveit2 /./ moveit / scripts / create_deprecated_headers.py
/* This file was autogenerated by create_deprecated_headers.py
/*********************************************************************
* Software License Agreement (BSD License)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This file was autogenerated by / root / ws_moveit / src / moveit2 /./ moveit / scripts / create_deprecated_headers.py
/* This file was autogenerated by create_deprecated_headers.py
/*********************************************************************
* Software License Agreement (BSD License)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This file was autogenerated by / root / ws_moveit / src / moveit2 /./ moveit / scripts / create_deprecated_headers.py
/* This file was autogenerated by create_deprecated_headers.py
/*********************************************************************
* Software License Agreement (BSD License)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This file was autogenerated by / root / ws_moveit / src / moveit2 /./ moveit / scripts / create_deprecated_headers.py
/* This file was autogenerated by create_deprecated_headers.py
/*********************************************************************
* Software License Agreement (BSD License)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This file was autogenerated by / root / ws_moveit / src / moveit2 /./ moveit / scripts / create_deprecated_headers.py
/* This file was autogenerated by create_deprecated_headers.py
/*********************************************************************
* Software License Agreement (BSD License)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This file was autogenerated by / root / ws_moveit / src / moveit2 /./ moveit / scripts / create_deprecated_headers.py
/* This file was autogenerated by create_deprecated_headers.py
/*********************************************************************
* Software License Agreement (BSD License)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This file was autogenerated by / root / ws_moveit / src / moveit2 /./ moveit / scripts / create_deprecated_headers.py
/* This file was autogenerated by create_deprecated_headers.py
/*********************************************************************
* Software License Agreement (BSD License)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This file was autogenerated by / root / ws_moveit / src / moveit2 /./ moveit / scripts / create_deprecated_headers.py
/* This file was autogenerated by create_deprecated_headers.py
/*********************************************************************
* Software License Agreement (BSD License)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This file was autogenerated by / root / ws_moveit / src / moveit2 /./ moveit / scripts / create_deprecated_headers.py
/* This file was autogenerated by create_deprecated_headers.py
/*********************************************************************
* Software License Agreement (BSD License)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This file was autogenerated by / root / ws_moveit / src / moveit2 /./ moveit / scripts / create_deprecated_headers.py
/* This file was autogenerated by create_deprecated_headers.py
/*********************************************************************
* Software License Agreement (BSD License)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This file was autogenerated by / root / ws_moveit / src / moveit2 /./ moveit / scripts / create_deprecated_headers.py
/* This file was autogenerated by create_deprecated_headers.py
/*********************************************************************
* Software License Agreement (BSD License)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This file was autogenerated by / root / ws_moveit / src / moveit2 /./ moveit / scripts / create_deprecated_headers.py
/* This file was autogenerated by create_deprecated_headers.py
/*********************************************************************
* Software License Agreement (BSD License)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This file was autogenerated by / root / ws_moveit / src / moveit2 /./ moveit / scripts / create_deprecated_headers.py
/* This file was autogenerated by create_deprecated_headers.py
/*********************************************************************
* Software License Agreement (BSD License)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This file was autogenerated by / root / ws_moveit / src / moveit2 /./ moveit / scripts / create_deprecated_headers.py
/* This file was autogenerated by create_deprecated_headers.py
/*********************************************************************
* Software License Agreement (BSD License)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This file was autogenerated by / root / ws_moveit / src / moveit2 /./ moveit / scripts / create_deprecated_headers.py
/* This file was autogenerated by create_deprecated_headers.py
/*********************************************************************
* Software License Agreement (Apache License)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This file was autogenerated by / root / ws_moveit / src / moveit2 /./ moveit / scripts / create_deprecated_headers.py
/* This file was autogenerated by create_deprecated_headers.py
/*********************************************************************
* Software License Agreement (BSD-2-Clause)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This file was autogenerated by / root / ws_moveit / src / moveit2 /./ moveit / scripts / create_deprecated_headers.py
/* This file was autogenerated by create_deprecated_headers.py
/*********************************************************************
* Software License Agreement (BSD-2-Clause)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This file was autogenerated by / root / ws_moveit / src / moveit2 /./ moveit / scripts / create_deprecated_headers.py
/* This file was autogenerated by create_deprecated_headers.py
/*********************************************************************
* Software License Agreement (BSD-2-Clause)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This file was autogenerated by / root / ws_moveit / src / moveit2 /./ moveit / scripts / create_deprecated_headers.py
/* This file was autogenerated by create_deprecated_headers.py
/*********************************************************************
* Software License Agreement (BSD-2-Clause)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This file was autogenerated by / root / ws_moveit / src / moveit2 /./ moveit / scripts / create_deprecated_headers.py
/* This file was autogenerated by create_deprecated_headers.py
/*********************************************************************
* Software License Agreement (Apache License)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This file was autogenerated by / root / ws_moveit / src / moveit2 /./ moveit / scripts / create_deprecated_headers.py
/* This file was autogenerated by create_deprecated_headers.py
/*********************************************************************
* Software License Agreement (Apache License)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This file was autogenerated by / root / ws_moveit / src / moveit2 /./ moveit / scripts / create_deprecated_headers.py
/* This file was autogenerated by create_deprecated_headers.py
/*********************************************************************
* Software License Agreement (BSD License)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This file was autogenerated by / root / ws_moveit / src / moveit2 /./ moveit / scripts / create_deprecated_headers.py
/* This file was autogenerated by create_deprecated_headers.py
/*********************************************************************
* Software License Agreement (BSD License)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This file was autogenerated by / root / ws_moveit / src / moveit2 /./ moveit / scripts / create_deprecated_headers.py
/* This file was autogenerated by create_deprecated_headers.py
/*********************************************************************
* Software License Agreement (BSD License)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This file was autogenerated by / root / ws_moveit / src / moveit2 /./ moveit / scripts / create_deprecated_headers.py
/* This file was autogenerated by create_deprecated_headers.py
/*********************************************************************
* Software License Agreement (BSD License)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This file was autogenerated by / root / ws_moveit / src / moveit2 /./ moveit / scripts / create_deprecated_headers.py
/* This file was autogenerated by create_deprecated_headers.py
/*********************************************************************
* Software License Agreement (BSD License)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This file was autogenerated by / root / ws_moveit / src / moveit2 /./ moveit / scripts / create_deprecated_headers.py
/* This file was autogenerated by create_deprecated_headers.py
/*********************************************************************
* Software License Agreement (BSD License)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This file was autogenerated by / root / ws_moveit / src / moveit2 /./ moveit / scripts / create_deprecated_headers.py
/* This file was autogenerated by create_deprecated_headers.py
/*********************************************************************
* Software License Agreement (BSD License)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This file was autogenerated by / root / ws_moveit / src / moveit2 /./ moveit / scripts / create_deprecated_headers.py
/* This file was autogenerated by create_deprecated_headers.py
/*********************************************************************
* Software License Agreement (BSD License)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This file was autogenerated by / root / ws_moveit / src / moveit2 /./ moveit / scripts / create_deprecated_headers.py
/* This file was autogenerated by create_deprecated_headers.py
/*********************************************************************
* Software License Agreement (BSD License)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This file was autogenerated by / root / ws_moveit / src / moveit2 /./ moveit / scripts / create_deprecated_headers.py
/* This file was autogenerated by create_deprecated_headers.py
/*********************************************************************
* Software License Agreement (BSD License)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This file was autogenerated by / root / ws_moveit / src / moveit2 /./ moveit / scripts / create_deprecated_headers.py
/* This file was autogenerated by create_deprecated_headers.py
/*********************************************************************
* Software License Agreement (BSD License)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This file was autogenerated by / root / ws_moveit / src / moveit2 /./ moveit / scripts / create_deprecated_headers.py
/* This file was autogenerated by create_deprecated_headers.py
/*********************************************************************
* Software License Agreement (BSD License)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This file was autogenerated by / root / ws_moveit / src / moveit2 /./ moveit / scripts / create_deprecated_headers.py
/* This file was autogenerated by create_deprecated_headers.py
/*********************************************************************
* Software License Agreement (BSD License)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This file was autogenerated by / root / ws_moveit / src / moveit2 /./ moveit / scripts / create_deprecated_headers.py
/* This file was autogenerated by create_deprecated_headers.py
/*********************************************************************
* Software License Agreement (BSD License)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This file was autogenerated by / root / ws_moveit / src / moveit2 /./ moveit / scripts / create_deprecated_headers.py
/* This file was autogenerated by create_deprecated_headers.py
/*********************************************************************
* Software License Agreement (BSD License)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This file was autogenerated by / root / ws_moveit / src / moveit2 /./ moveit / scripts / create_deprecated_headers.py
/* This file was autogenerated by create_deprecated_headers.py
/*********************************************************************
* Software License Agreement (BSD License)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This file was autogenerated by / root / ws_moveit / src / moveit2 /./ moveit / scripts / create_deprecated_headers.py
/* This file was autogenerated by create_deprecated_headers.py
/*********************************************************************
* Software License Agreement (BSD License)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This file was autogenerated by / root / ws_moveit / src / moveit2 /./ moveit / scripts / create_deprecated_headers.py
/* This file was autogenerated by create_deprecated_headers.py
/*********************************************************************
* Software License Agreement (BSD License)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This file was autogenerated by / root / ws_moveit / src / moveit2 /./ moveit / scripts / create_deprecated_headers.py
/* This file was autogenerated by create_deprecated_headers.py
/*********************************************************************
* Software License Agreement (BSD License)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This file was autogenerated by / root / ws_moveit / src / moveit2 /./ moveit / scripts / create_deprecated_headers.py
/* This file was autogenerated by create_deprecated_headers.py
/*********************************************************************
* Software License Agreement (BSD License)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This file was autogenerated by / root / ws_moveit / src / moveit2 /./ moveit / scripts / create_deprecated_headers.py
/* This file was autogenerated by create_deprecated_headers.py
/*********************************************************************
* Software License Agreement (BSD License)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This file was autogenerated by / root / ws_moveit / src / moveit2 /./ moveit / scripts / create_deprecated_headers.py
/* This file was autogenerated by create_deprecated_headers.py
/*********************************************************************
* Software License Agreement (BSD License)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This file was autogenerated by / root / ws_moveit / src / moveit2 /./ moveit / scripts / create_deprecated_headers.py
/* This file was autogenerated by create_deprecated_headers.py
/*********************************************************************
* Software License Agreement (BSD License)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This file was autogenerated by / root / ws_moveit / src / moveit2 /./ moveit / scripts / create_deprecated_headers.py
/* This file was autogenerated by create_deprecated_headers.py
/*********************************************************************
* Software License Agreement (BSD License)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This file was autogenerated by / root / ws_moveit / src / moveit2 /./ moveit / scripts / create_deprecated_headers.py
/* This file was autogenerated by create_deprecated_headers.py
/*********************************************************************
* Software License Agreement (BSD License)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This file was autogenerated by / root / ws_moveit / src / moveit2 /./ moveit / scripts / create_deprecated_headers.py
/* This file was autogenerated by create_deprecated_headers.py
/*********************************************************************
* Software License Agreement (BSD License)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This file was autogenerated by / root / ws_moveit / src / moveit2 /./ moveit / scripts / create_deprecated_headers.py
/* This file was autogenerated by create_deprecated_headers.py
/*********************************************************************
* Software License Agreement (BSD License)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This file was autogenerated by / root / ws_moveit / src / moveit2 /./ moveit / scripts / create_deprecated_headers.py
/* This file was autogenerated by create_deprecated_headers.py

/*********************************************************************
* Software License Agreement (BSD License)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This file was autogenerated by / root / ws_moveit / src / moveit2 /./ moveit / scripts / create_deprecated_headers.py
/* This file was autogenerated by create_deprecated_headers.py

/*********************************************************************
* Software License Agreement (BSD License)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This file was autogenerated by / root / ws_moveit / src / moveit2 /./ moveit / scripts / create_deprecated_headers.py
/* This file was autogenerated by create_deprecated_headers.py

/*********************************************************************
* Software License Agreement (BSD License)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This file was autogenerated by / root / ws_moveit / src / moveit2 /./ moveit / scripts / create_deprecated_headers.py
/* This file was autogenerated by create_deprecated_headers.py

/*********************************************************************
* Software License Agreement (BSD License)
Expand Down
2 changes: 1 addition & 1 deletion moveit_core/macros/include/moveit/macros/class_forward.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This file was autogenerated by / root / ws_moveit / src / moveit2 /./ moveit / scripts / create_deprecated_headers.py
/* This file was autogenerated by create_deprecated_headers.py

/*********************************************************************
* Software License Agreement (BSD License)
Expand Down
2 changes: 1 addition & 1 deletion moveit_core/macros/include/moveit/macros/console_colors.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This file was autogenerated by / root / ws_moveit / src / moveit2 /./ moveit / scripts / create_deprecated_headers.py
/* This file was autogenerated by create_deprecated_headers.py

/*********************************************************************
* Software License Agreement (BSD License)
Expand Down
2 changes: 1 addition & 1 deletion moveit_core/macros/include/moveit/macros/declare_ptr.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This file was autogenerated by / root / ws_moveit / src / moveit2 /./ moveit / scripts / create_deprecated_headers.py
/* This file was autogenerated by create_deprecated_headers.py

/*********************************************************************
* Software License Agreement (BSD License)
Expand Down
2 changes: 1 addition & 1 deletion moveit_core/macros/include/moveit/macros/deprecation.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This file was autogenerated by / root / ws_moveit / src / moveit2 /./ moveit / scripts / create_deprecated_headers.py
/* This file was autogenerated by create_deprecated_headers.py

/*********************************************************************
* Software License Agreement (BSD License)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This file was autogenerated by / root / ws_moveit / src / moveit2 /./ moveit / scripts / create_deprecated_headers.py
/* This file was autogenerated by create_deprecated_headers.py

/*********************************************************************
* Software License Agreement (BSD License)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This file was autogenerated by / root / ws_moveit / src / moveit2 /./ moveit / scripts / create_deprecated_headers.py
/* This file was autogenerated by create_deprecated_headers.py

/*********************************************************************
* Software License Agreement (BSD License)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This file was autogenerated by / root / ws_moveit / src / moveit2 /./ moveit / scripts / create_deprecated_headers.py
/* This file was autogenerated by create_deprecated_headers.py

/*********************************************************************
* Software License Agreement (BSD License)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This file was autogenerated by / root / ws_moveit / src / moveit2 /./ moveit / scripts / create_deprecated_headers.py
/* This file was autogenerated by create_deprecated_headers.py

/*********************************************************************
* Software License Agreement (BSD License)
Expand Down
Loading

0 comments on commit aca9ab1

Please sign in to comment.