-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to leverage forward declarations
- Loading branch information
1 parent
35bfb93
commit bdb71df
Showing
117 changed files
with
2,017 additions
and
1,244 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,17 @@ | ||
#pragma once | ||
#include <trajopt/problem_description.hpp> | ||
#include <trajopt_sco/optimizers.hpp> | ||
|
||
#include <functional> | ||
#include <memory> | ||
|
||
namespace sco | ||
{ | ||
class OptProb; | ||
struct OptResults; | ||
} // namespace sco | ||
|
||
namespace trajopt | ||
{ | ||
sco::Optimizer::Callback WriteCallback(std::shared_ptr<std::ofstream> file, const TrajOptProb::Ptr& prob); | ||
} | ||
class TrajOptProb; | ||
std::function<void(sco::OptProb*, sco::OptResults&)> WriteCallback(std::shared_ptr<std::ofstream> file, | ||
const std::shared_ptr<TrajOptProb>& prob); | ||
} // namespace trajopt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
#ifndef TRAJOPT_FWD_HPP | ||
#define TRAJOPT_FWD_HPP | ||
|
||
namespace trajopt | ||
{ | ||
// collision_terms.hpp | ||
enum class CollisionExpressionEvaluatorType; | ||
struct LinkGradientResults; | ||
struct GradientResults; | ||
struct CollisionEvaluator; | ||
|
||
// problem_description.hpp | ||
enum class TermType : char; | ||
class TrajOptProb; | ||
struct ProblemConstructionInfo; | ||
struct TrajOptResult; | ||
struct BasicInfo; | ||
struct InitInfo; | ||
struct TermInfo; | ||
struct UserDefinedTermInfo; | ||
struct DynamicCartPoseTermInfo; | ||
struct CartPoseTermInfo; | ||
struct CartVelTermInfo; | ||
struct JointPosTermInfo; | ||
struct JointVelTermInfo; | ||
struct JointAccTermInfo; | ||
struct JointJerkTermInfo; | ||
enum class CollisionEvaluatorType; | ||
struct CollisionTermInfo; | ||
struct TotalTimeTermInfo; | ||
struct AvoidSingularityTermInfo; | ||
|
||
// Kinematic_terms.hpp | ||
struct DynamicCartPoseErrCalculator; | ||
struct DynamicCartPoseJacCalculator; | ||
struct CartPoseErrCalculator; | ||
struct CartPoseJacCalculator; | ||
struct CartVelJacCalculator; | ||
struct CartVelErrCalculator; | ||
struct JointVelErrCalculator; | ||
struct JointVelJacCalculator; | ||
struct JointAccErrCalculator; | ||
struct JointAccJacCalculator; | ||
struct JointJerkErrCalculator; | ||
struct JointJerkJacCalculator; | ||
struct TimeCostCalculator; | ||
struct TimeCostJacCalculator; | ||
struct AvoidSingularityErrCalculator; | ||
struct AvoidSingularityJacCalculator; | ||
struct AvoidSingularitySubsetErrCalculator; | ||
struct AvoidSingularitySubsetJacCalculator; | ||
|
||
// trajectory_costs.hpp | ||
class JointPosEqCost; | ||
class JointPosIneqCost; | ||
class JointPosEqConstraint; | ||
class JointPosIneqConstraint; | ||
class JointVelEqCost; | ||
class JointVelIneqCost; | ||
class JointVelEqConstraint; | ||
class JointVelIneqConstraint; | ||
class JointAccEqCost; | ||
class JointAccIneqCost; | ||
class JointAccEqConstraint; | ||
class JointAccIneqConstraint; | ||
class JointJerkEqCost; | ||
class JointJerkIneqCost; | ||
class JointJerkEqConstraint; | ||
class JointJerkIneqConstraint; | ||
|
||
} // namespace trajopt | ||
|
||
#endif // TRAJOPT_FWD_HPP |
Oops, something went wrong.