Commit Graph

6587 Commits (02524f42e7893fc7b3232f85f8077fb6c20bf45c)

Author SHA1 Message Date
Michael Kaess d850e2837c cleanup 2010-09-05 18:28:06 +00:00
Michael Kaess dacd4b78a1 added optional stats code for ICRA figures 2010-09-05 04:26:56 +00:00
Michael Kaess 0c48c7cdf4 cleanup, bugfixes, timing 2010-09-02 04:23:08 +00:00
Michael Kaess 1ba97ef62c new algorithm working, still needs cleanup and lookups with improved efficiency 2010-09-01 22:53:26 +00:00
Alex Cunningham 815d892806 Added TEST_UNSAFE to avoid exception checking in normal tests, as well as an assert_inequal() evaluation in TestableAssertions.h. 2010-08-30 20:54:12 +00:00
Alex Cunningham f594ebf562 Reworked testSerialization so that it works for geometry and simple planar objects. Currently only tested in boost 1.40, probably doesn't work under boost 1.44 2010-08-30 19:16:26 +00:00
Alex Cunningham a461680a2b Removed extraneous headers that were causing problems related to boost serialization and added testSerialization with conditional compiling (--enable-serialization). Currently, the test is all commented out, and it should not affect those not using the flag. 2010-08-27 15:31:20 +00:00
Alex Cunningham d17aef492c Added two example scripts to gtsam from the tutorial, with a single planar example that either contains all typedefs and manually creates the structure, and another that uses planarSLAM.h. Also added a BearingRange helper function to planarSLAM 2010-08-26 21:21:15 +00:00
Alex Cunningham 23a30f8475 Removed remaining global lie functions on lie objects and configs, switched the Lie base class to a simple concept check function, fixed build script for examples. ISAM2 and MastSLAM verified as compiling. 2010-08-26 19:55:40 +00:00
Alex Cunningham 9dd1d6bc10 Added examples folder with simple rotation over one varialble - build script not finalized 2010-08-26 18:46:48 +00:00
Alex Cunningham eed13e48d2 Switched to using LieVectors for vector types. Still some problems with numericalDerivative that have been worked around, but other functionality is intact. 2010-08-24 17:26:56 +00:00
Alex Cunningham 77eda5ab8c In all nonlinear factors and configs, it is only necessary to specify a key with a typedef Value_t for the associated value. This has been removed from factor template definitions, as it is too easy to use the wrong value. Also, no more string keys or linear symbol keys in nonlinear systems. Updated MastSLAM to work, and ISAM2 works without change 2010-08-23 19:44:17 +00:00
Alex Cunningham 86f812ebb5 svn:ignore for binary 2010-08-23 03:48:55 +00:00
Alex Cunningham 5350f368cd Removing binary 2010-08-23 03:44:25 +00:00
Alex Cunningham e0da1971fa fixed ROS packages due to gtsam changes 2010-08-23 00:19:57 +00:00
Alex Cunningham 458cc52fff Switched geometry to use primarily member functions for calculations with optional derivatives, so there are no more optional derivative functions. Also split Vector specializations for Lie into gtsam/base/LieVector.h which will later change into a real wrapper function. Specialized numericalDerivative to allow for functions to return doubles. Projects ISAM2, MastSLAM updated. 2010-08-22 21:45:53 +00:00
Duy-Nguyen Ta 9604cd4507 fix missing boost header in Key.h needed for BOOST_SERIALIZATION_NVP 2010-08-22 05:54:06 +00:00
Richard Roberts c2d46ce8b3 Script to time the overhead of breaking up a problem into many factors (mimics a linear latent-variable model) 2010-08-21 17:54:59 +00:00
Alex Cunningham 256697d345 Moved transform_[to|from] and [un]rotate to be static functions in classes 2010-08-20 21:47:30 +00:00
Alex Cunningham 8c33168fb3 Made all core geometry functions that have derivatives use the combined derivative form instead of separate derivative functions. 2010-08-20 15:17:13 +00:00
Alex Cunningham 9367170fe5 Fixed references to dimension static member variables in constraints 2010-08-19 21:29:43 +00:00
Alex Cunningham e5b3e127a8 Re-enabled tests for wrap 2010-08-19 21:24:22 +00:00
Richard Roberts 84f38206d3 Added myconfigure.overo for cross-compiling for gumstix 2010-08-19 20:16:07 +00:00
Alex Cunningham 8e364cb34e Improvements to the Lie objects, with new member/static functions in most of the geometry objects. Many of the functions that were previously global have been moved to static functions. See Lie.h for more details. 2010-08-19 20:03:06 +00:00
Richard Roberts f1132359d4 Installing headers in subdirectories and converted include directives to match the subdirectory structure (also see email to frankcvs) 2010-08-19 17:23:19 +00:00
Alex Cunningham 30c3f46b52 FusionTupleConfigs work correctly for optimization 2010-08-16 19:19:50 +00:00
Alex Cunningham 977155d133 Added simpler interfaces for FusionTupleConfig for 1,2, and 3 variable types 2010-08-15 21:35:03 +00:00
Alex Cunningham a2fecf51c9 FusionTupleConfig is now a full config 2010-08-14 21:15:45 +00:00
Alex Cunningham f3ccfaf100 Added dummy initialization of LieConfigs from arbitrary other LieConfigs, FusionTupleConfigs can now be created from arbitrary other FusionConfigs. 2010-08-13 19:51:04 +00:00
Alex Cunningham f6dbee41d2 More of FusionTupleConfig works 2010-08-13 14:55:26 +00:00
Alex Cunningham c2a83759cb Added experimental replacement for TupleConfig using boost.fusion - this should eventually make it possible to make nonlinear factors interchangable regardless of config type. 2010-08-12 15:23:03 +00:00
Alex Cunningham 3fd36bca53 Added TupleConfig1 wrapper 2010-08-12 12:44:36 +00:00
Alex Cunningham 6aff189008 Enabled pragma once for Lie-inl.h to avoid redefinition errors 2010-08-10 19:50:12 +00:00
Alex Cunningham 5991d1edfd Added a nonlinear factor to approximate a linear factor from MastSLAM 2010-08-10 16:59:22 +00:00
Alex Cunningham 16d283d1e1 Added "TestableAssertions.h" as a header file to add specializations for operations on Testable objects, like assert_equal for vectors of Testable objects. The separate header file is so that changes don't require recompiling the entire library. 2010-08-10 16:58:42 +00:00
Alex Cunningham 1c72d92365 Moved TransformConstraint into gtsam, cleaned up includes 2010-08-10 14:30:41 +00:00
Alex Cunningham 4f9a60d41c Nonlinear bounding constraints are now working for simple examples. Also, removed extraneous constraint test files. 2010-08-09 21:59:29 +00:00
Alex Cunningham efaca162cf Added tests for nonlinear equality constraints, generalized equality constraints 2010-08-09 17:21:11 +00:00
Alex Cunningham 38ea7d1ea5 Added more static optimization helper functions - can now just call optimizeLM(graph,config) or optimizeGN(graph,config) to get an optimized config. 2010-08-09 17:20:03 +00:00
Richard Roberts fa4cf73e8e Changed some int's to size_t's that I missed earlier 2010-08-09 03:48:33 +00:00
Frank Dellaert 6694b395c5 moved Stereo camera and StereoPoint to gtsam 2010-08-08 20:23:38 +00:00
Frank Dellaert 62c63f9452 collapsed derivatives for threefold speedup 2010-08-08 19:50:41 +00:00
Frank Dellaert 4b6eb67340 moved timing scripts back to main directory, added timeCalibratedCamera 2010-08-08 18:46:56 +00:00
Frank Dellaert 4bc3229670 -F Accelerate does not seem to work on all platforms. Replaced by explicit include. 2010-08-08 16:59:15 +00:00
Richard Roberts 0316a53f79 Removed spurious "using namespace noiseModel" 2010-08-08 03:10:29 +00:00
Alex Cunningham 5ada49ea3a Moved remaining equality constraint tests to testNonlinearEqualityConstraint. Added NonlinearEquality2, a binary constraint expressing exact equality between variables. 2010-08-06 20:07:55 +00:00
Alex Cunningham a55860eb1d Reimplemented nonlinear constraints to remove the old dependency on using boost function pointers and allow for inequality and bounding constraints. Added simple equality constraints in simulated2D and new set of tests. Removed/disabled old tests until they can be worked into new structure. 2010-08-06 18:30:07 +00:00
Alex Cunningham 7e3442286e Added a Gauss-Newton static function for nonlinear optimization 2010-08-06 15:10:19 +00:00
Alex Cunningham 3dfbb26bc7 Added new test structures that allow for nonfatal assertions: EXPECT, EXPECT_DOUBLES_EQUAL, EXPECT_LONGS_EQUAL. Use these to check several unrelated conditions in a test. testTupleConfig was updated to make use of the new test structures. 2010-08-06 14:23:12 +00:00
Alex Cunningham 99e4c09a7e Added a FixedVector class that uses a bounded boost vector to allow for type-level dimension specification 2010-08-02 19:01:00 +00:00