summaryrefslogtreecommitdiff
path: root/LocomotorPrimitivesController.h
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2012-11-22 19:22:42 +0100
committerTobias Klauser <tklauser@distanz.ch>2012-11-22 19:22:42 +0100
commite9f4f691e554000f9decf84da56568d6150badb2 (patch)
tree70e3a719bf6c970205cfc0b37d0f46cd0fc84036 /LocomotorPrimitivesController.h
Initial import (based on Leg6DoF9Muscles model)
Diffstat (limited to 'LocomotorPrimitivesController.h')
-rw-r--r--LocomotorPrimitivesController.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/LocomotorPrimitivesController.h b/LocomotorPrimitivesController.h
new file mode 100644
index 0000000..7d0c08a
--- /dev/null
+++ b/LocomotorPrimitivesController.h
@@ -0,0 +1,17 @@
+#ifndef LOCOMOTORPRIMITIVES_CONTROLLER_H_
+#define LOCOMOTORPRIMITIVES_CONTROLLER_H_
+
+#include <OpenSim/OpenSim.h>
+
+class LocomotorPrimitivesController : public OpenSim::Controller {
+OpenSim_DECLARE_CONCRETE_OBJECT(LocomotorPrimitivesController, OpenSim::Controller);
+
+public:
+ LocomotorPrimitivesController(double alpha) : OpenSim::Controller(), _alpha(alpha) { }
+
+ void computeControls(const SimTK::State &s, SimTK::Vector &controls) const;
+private:
+ double _alpha;
+};
+
+#endif /* LOCOMOTORPRIMITIVES_CONTROLLER_H_ */
opal-api.h?id=c33e11d0dd2ebd2cd528aa8e9ef46afdd4d766b0'>powerpc/powernv: display reason for Malfunction Alert HMI.Mahesh Salgaonkar1-0/+61 2015-07-28powerpc/powernv: Add definition of OPAL_MSG_OCC message typeShilpasri G Bhat1-0/+12 2015-07-16powerpc/powernv: Add poweroff (EPOW, DPO) events support for PowerNV platformVipin K Parashar1-0/+40 2015-06-05powerpc/powernv: Add opal-prd channelJeremy Kerr1-1/+20 2015-05-22powerpc/powernv: Introduce sysfs control for fastsleep workaround behaviorShreyas B. Prabhu1-0/+7 2015-04-11powerpc/powernv: Add interfaces for flash device accessCyril Bur1-1/+4 2015-03-16powerpc/powernv: Remove unused definitions in opal-api.hMichael Ellerman1-47/+0 2015-03-16powerpc/powernv: Move opal-api.h closer to the Skiboot versionMichael Ellerman1-71/+87 2015-03-16powerpc/powernv: Move OPAL API definitions to opal-api.hMichael Ellerman1-0/+763 gi/linux/net-next.git/commit/arch/microblaze/kernel/timer.c?id=cc5647a64e8c6691be87a83632d8b1c78b795023'>microblaze: Use node name instead of compatible stringMichal Simek1-2/+2 2012-03-19microblaze: trivial: Fix typo fault in timer.cMichal Simek1-1/+1 2012-01-05microblaze: Remove eprintk macroMichal Simek1-1/+1 2012-01-05microblaze: Use irq_of_parse_and_map for timerMichal Simek1-1/+1 2012-01-05microblaze: Use of_find_compatible_node for timer and intcMichal Simek1-13/+4 2011-10-14microblaze: Clear top bit from cnt32_to_63Michal Simek1-1/+2 2011-05-14Merge branch 'consolidate-clksrc-i8253' of master.kernel.org:~rmk/linux-2.6-a...Thomas Gleixner1-3/+3 2011-03-09microblaze: Fix sparse warning - timer.cMichal Simek1-3/+3 2011-02-21microblaze: convert to clocksource_register_hz/khzJohn Stultz1-5/+1 2010-10-21microblaze: Support timer on AXI liteMichal Simek1-5/+16 2010-10-21microblaze: Add support for little-endian MicroblazeMichal Simek1-4/+4 2010-10-21microblaze: Remove additional compatible propertiesMichal Simek1-2/+0 2010-10-21microblaze: Use static const char * const where possibleJoe Perches1-6/+6 2010-10-21microblaze: Report if only one timer is usedMichal Simek1-1/+1 2010-08-04microblaze: Decrease time shifting valuesMichal Simek1-4/+5 2010-08-04microblaze: Improve ftrace time measuringMichal Simek1-0/+17