cisst-saw
Loading...
Searching...
No Matches
constraintControllerLite.h
Go to the documentation of this file.
1/*
2 Author(s): Henry Phalen, based on previous work by Paul Wilkening and others.
3 Created on: 2022-10-05
4
5 (C) Copyright 2013-2022 Johns Hopkins University (JHU), All Rights Reserved.
6
7--- begin cisst license - do not edit ---
8
9This software is provided "as is" under an open source license, with
10no warranty. The complete license can be found in license.txt and
11http://www.cisst.org/cisst/license.txt.
12
13--- end cisst license ---
14*/
15
16#ifndef CONSTRAINTCONTROLLERLITE_H
17#define CONSTRAINTCONTROLLERLITE_H
18
22#include <typeindex>
23#include <memory>
24
26{
27public:
28 typedef std::map<std::string, prmKinematicsState *> kinematics_map;
29 constraintControllerLite(int num_joints, const std::string& config_filename, const kinematics_map kins_map = kinematics_map(), bool create_provided_interface=true);
31 std::vector<std::shared_ptr<mtsConstraintBase>> constraint_list;
32 void SetupConstrainedProblem(double TickTime);
38
39private:
40 mtsVFBase::CONTROLLERMODE ControllerMode = mtsVFBase::CONTROLLERMODE::JVEL; // We don't use this, but required by optimizer
41};
42
43#endif // CONSTRAINTCONTROLLERLITE_H
nmrConstraintOptimizer Optimizer
Definition constraintControllerLite.h:34
bool SolveConstrainedProblem(vctDoubleVec &dq)
std::map< std::string, prmKinematicsState * > kinematics_map
Definition constraintControllerLite.h:28
int num_joints
Definition constraintControllerLite.h:35
constraintControllerLite(int num_joints, const std::string &config_filename, const kinematics_map kins_map=kinematics_map(), bool create_provided_interface=true)
std::vector< std::shared_ptr< mtsConstraintBase > > constraint_list
Definition constraintControllerLite.h:31
~constraintControllerLite()
Definition constraintControllerLite.h:30
mtsInterfaceProvided * provided
Definition constraintControllerLite.h:36
void SetupConstrainedProblem(double TickTime)
mtsComponent(void)
Definition mtsInterfaceProvided.h:98
CONTROLLERMODE
Definition mtsVFBase.h:39
@ JVEL
Definition mtsVFBase.h:39
nmrConstraintOptimizer: A class that makes using the constraint control algorithm more efficient
Definition nmrConstraintOptimizer.h:35
Declaration of mtsComponent.
Declaration of mtsInterfaceProvided.
vctDynamicVector< double > vctDoubleVec
Definition vctDynamicVectorTypes.h:37