Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[draft] switch wpical backend to gtsam #7606

Draft
wants to merge 22 commits into
base: main
Choose a base branch
from
Draft
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
7cfc9f7
Use GPL-less Ceres and SuiteSparse
Gold856 Jan 29, 2025
a14534b
Move files used at runtime to assets folder
Gold856 Jan 30, 2025
692740d
Use camel case, combine file opening and processing functions, and ma…
Gold856 Jan 30, 2025
eee28e4
Remove unused isCalibrating variable
Gold856 Jan 30, 2025
f7aa86d
Move calibration combination to a separate function, and inline EmitE…
Gold856 Jan 30, 2025
a6cfe3f
Simplify calibration saving
Gold856 Jan 30, 2025
51d58d2
Add docs for some functions
Gold856 Jan 30, 2025
96e54f6
Move calibration visualization to a separate function
Gold856 Jan 30, 2025
46c13c0
Deduplicate mrcal_result handling
Gold856 Jan 30, 2025
72689e0
Clean up camera model handling and dedupe calibration UI logic
Gold856 Jan 30, 2025
ac63077
Use AprilTagFieldLayout and wpimath and make massive refactors
Gold856 Feb 17, 2025
bbd3644
Fix field saving and fix tags being silently dropped when combining f…
Gold856 Feb 17, 2025
4550304
Add additional third party notices
Gold856 Feb 18, 2025
e8b98ac
Fix up camera model loading
Gold856 Feb 19, 2025
bab9b43
Catch OpenCV exceptions
Gold856 Feb 19, 2025
8e75f13
Fix compilation with Clang 15
Gold856 Feb 21, 2025
b6285c3
[wpimath] Add Debouncer type and time setters (#7839)
crueter Mar 4, 2025
9638e12
[wpimath] Fix singularities in Ellipse2d::Nearest() (#7851)
calcmogul Mar 5, 2025
081e8b7
[wpiutil] Avoid including execinfo.h for Emscripten target (#7854)
calcmogul Mar 7, 2025
97fa940
[wpimath] Fix UnscentedKalmanFilter and improve math docs (#7850)
PascalSkylake Mar 14, 2025
67a5845
Add extra eigen headers for gtsam
mcm001 Dec 29, 2024
66216a6
Switch wpical backend to GTSAM
mcm001 Dec 29, 2024
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
Prev Previous commit
Next Next commit
[wpiutil] Avoid including execinfo.h for Emscripten target (#7854)
calcmogul authored and mcm001 committed Mar 18, 2025

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
commit 081e8b79708a322883c383753efe4b03ddf83df5
6 changes: 4 additions & 2 deletions wpiutil/src/main/native/unix/StackTrace.cpp
Original file line number Diff line number Diff line change
@@ -4,7 +4,9 @@

#include "wpi/StackTrace.h"

#ifndef __EMSCRIPTEN__
#include <execinfo.h>
#endif

#include <string>

@@ -16,7 +18,7 @@
namespace wpi {

std::string GetStackTraceDefault(int offset) {
#ifndef __ANDROID__
#if !defined(__ANDROID__) && !defined(__EMSCRIPTEN__)
void* stackTrace[128];
int stackSize = backtrace(stackTrace, 128);
char** mangledSymbols = backtrace_symbols(stackTrace, stackSize);
@@ -40,7 +42,7 @@ std::string GetStackTraceDefault(int offset) {

return std::string{trace.str()};
#else
// backtrace_symbols not supported on android
// backtrace_symbols not supported
return "";
#endif
}