Skip to content

Conversation

@SakuraPuare
Copy link
Contributor

@SakuraPuare SakuraPuare commented Sep 11, 2025

feat: Add trajectory curvature constraint and visualization analysis function

Main changes:

  • New curvature constraint parameters: --max_curvature, --curvature_method, --max_iterations
  • Add curvature calculation methods: three modes: adaptive, iterative, and strict
  • Added the "plots.py" module to provide trajectory visualization and curvature analysis functions
  • Added the funcs.py module to implement mathematical functions for curvature calculation
  • Enhance main.py to support curvature constraint processing and detailed statistical output

Functional Features:

  • Support curvature constraints based on vehicle limitations (recommended 95% limit value)
  • Provide a variety of curvature smoothing algorithm options
  • Generate detailed curvature statistics and visual charts
  • Automatically detect curvature violations and provide optimization suggestions
  • Maintain backward compatibility, with curvature constraints being an optional feature

Technical improvements:

  • Refactor the code structure to separate drawing and mathematical computation functions
  • Improve error handling and user feedback
  • Enhance logging and debugging information

@SakuraPuare
Copy link
Contributor Author

processed_curvature_analysis

…s function

Main changes:
- New curvature constraint parameters: --max_curvature, --curvature_method, --max_iterations
- Add curvature calculation methods: three modes: adaptive, iterative, and strict
- Added the "plots.py" module to provide trajectory visualization and curvature analysis functions
- Added the `funcs.py` module to implement mathematical functions for curvature calculation
- Enhance main.py to support curvature constraint processing and detailed statistical output

Functional Features:
- Support curvature constraints based on vehicle limitations (recommended 95% limit value)
- Provide a variety of curvature smoothing algorithm options
- Generate detailed curvature statistics and visual charts
- Automatically detect curvature violations and provide optimization suggestions
- Maintain backward compatibility, with curvature constraints being an optional feature

Technical improvements:
- Refactor the code structure to separate drawing and mathematical computation functions
- Improve error handling and user feedback
- Enhance logging and debugging information
@SakuraPuare SakuraPuare force-pushed the feat/curvature-constraintion branch from cf6016f to 1e9fe51 Compare September 15, 2025 02:32
Copy link
Contributor

@daohu527 daohu527 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Copy link
Member

@lykling lykling left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@SakuraPuare SakuraPuare merged commit f0cdd04 into main Sep 15, 2025
0 of 3 checks passed
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