Skip to content

Conversation

astomodynamics
Copy link
Owner

This PR introduces a new example demonstrating the use of the CDDP library for solving a constrained spacecraft linear docking problem based on the Hill-Clohessy-Wiltshire (HCW) equations.

This commit introduces a new example, `cddp_spacecraft_linear_docking.cpp`, demonstrating trajectory optimization for spacecraft docking using the CDDP framework. The example includes parameter setup, solver configuration, and trajectory visualization in both 3D and 2D plots. Additionally, the CMakeLists.txt file is updated to include the new executable.
This commit refines the implementation of the `SecondOrderConeConstraint` class in `constraint.hpp`, enhancing the evaluation method to use a squared formulation for better numerical stability.
@astomodynamics astomodynamics merged commit f538b42 into master Apr 12, 2025
1 check failed
@astomodynamics astomodynamics deleted the docking_cone branch April 12, 2025 00:55
astomodynamics added a commit that referenced this pull request Jul 18, 2025
Changes:
* New Example (examples/cddp_spacecraft_linear_docking.cpp):
* Includes a SecondOrderConeConstraint to enforce a Field-of-View (FOV) requirement during the docking maneuver.
* Visualizes the resulting 3D trajectory and the 2D projection onto the X-Y plane
astomodynamics added a commit that referenced this pull request Jul 18, 2025
Changes:
* New Example (examples/cddp_spacecraft_linear_docking.cpp):
* Includes a SecondOrderConeConstraint to enforce a Field-of-View (FOV) requirement during the docking maneuver.
* Visualizes the resulting 3D trajectory and the 2D projection onto the X-Y plane
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.

1 participant