Skip to content

Implement jerk-limited trajectories#3798

Open
williamckha wants to merge 79 commits into
masterfrom
william/robot_localizer_testing
Open

Implement jerk-limited trajectories#3798
williamckha wants to merge 79 commits into
masterfrom
william/robot_localizer_testing

Conversation

@williamckha

Copy link
Copy Markdown
Member

Description

Branched off Andrew's robot localizer branch

Testing Done

Resolved Issues

Length Justification and Key Files to Review

Review Checklist

It is the reviewers responsibility to also make sure every item here has been covered

  • Function & Class comments: All function definitions (usually in the .h file) should have a javadoc style comment at the start of them. For examples, see the functions defined in thunderbots/software/geom. Similarly, all classes should have an associated Javadoc comment explaining the purpose of the class.
  • Remove all commented out code
  • Remove extra print statements: for example, those just used for testing
  • Resolve all TODO's: All TODO (or similar) statements should either be completed or associated with a github issue

Andrewyx and others added 30 commits May 29, 2026 00:33
…rewyx/robot_localizer

# Conflicts:
#	src/software/embedded/primitive_executor.cpp
#	src/software/embedded/primitive_executor.h
#	src/software/embedded/thunderloop.cpp
#	src/software/simulation/er_force_simulator.cpp
#	src/software/simulation/er_force_simulator.h
Resolve conflicts from master's #3760 (new prim-exec logic using motion
controllers), #3769, and the field renames, which overlapped with this
branch's own controller/prim-exec rework.

Resolution:
- Adopt master's #3760 implementation for primitive_executor, thunderloop,
  and the motion controllers (PositionController/OrientationController,
  non-templated PidController + pid_controller.cpp). Drops the branch's
  parallel close-PID / start_angle / stall-detection variant.
- Take master's robot_constants field names (robot_trajectory_max_* ) and
  2026 tuning values (trajectory speed 2.5, decel 2.0).
- Take master's tbots_protobuf createAngularTrajectoryFromParams signature
  (uses params.start_angle()) and master's move_primitive.cpp.
- Keep robot_localizer.cpp/.h as a standalone library for separate
  re-integration; removed the now-unused thunderloop -> robot_localizer dep.

Verified building: proto translation, move_primitive, motion_control/...,
robot_localizer, primitive_executor, thunderloop.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@williamckha williamckha force-pushed the william/robot_localizer_testing branch 2 times, most recently from 7d4cb81 to 3f29cc1 Compare June 26, 2026 08:35
Thunderbots and others added 6 commits June 26, 2026 01:35
…into william/robot_localizer_testing

# Conflicts:
#	src/proto/message_translation/tbots_protobuf.cpp
#	src/proto/message_translation/tbots_protobuf_test.cpp
#	src/shared/BUILD
#	src/shared/robot_constants.cpp
#	src/shared/robot_constants.h
#	src/software/ai/evaluation/intercept.cpp
#	src/software/ai/hl/stp/play/kickoff_enemy/BUILD
#	src/software/ai/hl/stp/tactic/move_primitive.cpp
#	src/software/embedded/BUILD
#	src/software/embedded/motion_control/pid_controller_test.cpp
#	src/software/embedded/motion_control/position_controller.h
#	src/software/embedded/primitive_executor.cpp
#	src/software/embedded/primitive_executor.h
#	src/software/embedded/robot_localizer.cpp
#	src/software/embedded/thunderloop.cpp
#	src/software/embedded/thunderloop.h
#	src/software/gameplay_tests/field_test_fixture.py
#	src/software/multithreading/BUILD
#	src/software/world/robot.cpp
#	src/tbots.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants