Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 50 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,54 @@
/src/python/frenetix/_version.py
/build-python
/dist

*.egg-info
# =====================
# Python Build Artifacts
# =====================
__pycache__/
*.py[cod]
*.pyd
*.so
*.egg-info/
dist/
wheelhouse/
_deps/

# =====================
# Project-specific
# =====================
/src/python/frenetix/_version.py
/build-python/
/venv*/
*.vscode

/venv*
# =====================
# CMake Build Artifacts
# =====================
build/
build-*/
CMakeFiles/
CMakeCache.txt
cmake_install.cmake
Makefile
CTestTestfile.cmake
CTestCostData.txt
DartConfiguration.tcl
Testing/
install/
_install/

__pycache__
# =====================
# OS / Editor Metadata
# =====================
.DS_Store
*.swp
*.swo
*.bak
*.tmp
Thumbs.db

# =====================
# Generated C++ Files
# =====================
*.cxx
*.o
*.obj
*.a
*.out
2 changes: 1 addition & 1 deletion cmake/ci-prefetch-dependencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ message(STATUS "Prefetching dependencies")
file(MAKE_DIRECTORY ${_fetch_prefix})

file(DOWNLOAD
https://boostorg.jfrog.io/artifactory/main/release/1.85.0/source/boost_1_85_0.tar.gz
https://archives.boost.io/release/1.85.0/source/boost_1_85_0.tar.gz
${_fetch_prefix}/boost_1_85_0.tar.gz
EXPECTED_HASH SHA256=be0d91732d5b0cc6fbb275c7939974457e79b54d6f07ce2e3dfdd68bef883b0b
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ void CheckYawRateConstraint::evaluateTrajectory(TrajectorySample& trajectory)

for (size_t iii = 0; iii < lengthToCheck; ++iii)
{
double yawRate = (iii > 0) ? (trajectory.m_cartesianSample.theta[iii] - trajectory.m_cartesianSample.theta[iii - 1]) / trajectory.m_dT : 0.0;
double yawRate = (iii > 0) ? (std::abs(trajectory.m_cartesianSample.theta[iii]) - std::abs(trajectory.m_cartesianSample.theta[iii - 1])) / trajectory.m_dT : 0.0;
double thetaDotMax = m_kappaMax * trajectory.m_cartesianSample.velocity[iii];

if (std::abs(std::round(yawRate * 100000) / 100000.0) > thetaDotMax) inFeasability++;
Expand Down
Loading