robocup-software icon indicating copy to clipboard operation
robocup-software copied to clipboard

[TODO] Add configuration variables for trajectory checking utilities

Open kylestach opened this issue 5 years ago • 1 comments

Link to TODO, or file number/line: TrajectoryUtils.cpp:82

kylestach avatar Jun 20 '20 22:06 kylestach

Lines: https://github.com/RoboJackets/robocup-software/blob/b057bc439b4c3f76721999f7d6ddd5fc8a4f4699/soccer/src/soccer/planning/trajectory_utils.cpp#L26-L32

https://github.com/RoboJackets/robocup-software/blob/b057bc439b4c3f76721999f7d6ddd5fc8a4f4699/soccer/src/soccer/planning/trajectory_utils.cpp#L79-L85

Instead of it being a constexpr value, we want it to be declared using our parameters interface. An example of using the parameters interface: https://github.com/RoboJackets/robocup-software/blob/ros2/soccer/include/rj_vision_filter/params.hpp https://github.com/RoboJackets/robocup-software/blob/ros2/soccer/src/rj_vision_filter/params.cpp

For the following parameter declaration:

DECLARE_NS_INT64(kVisionFilterParamModule, filter::health, init)

You can access it using filter::health::PARAM_min.

kylestach avatar Nov 01 '20 18:11 kylestach