Kinarm | Interactive Robotics Brain Injury Research

  • Products
  • Clinical Applications
  • News
  • Support
  • About Us
  • Contact

Mobile nav

Spring Attached to a fixed point

Spring Attached to a fixed point

Posted on Feb 16, 2015

DWQA Questions › Category: Custom Task Development › Spring Attached to a fixed point
0 Vote Up Vote Down
Duncan McLean Staff asked 8 years ago

from Robert H:

How do I make one end of a virtual spring attached to a fixed point (e.g. a starting home position)? I’ve tried incorporating the multipurpose spring block from the spring demo, but it produces forces based on the position of both hands.

1 Answers
0 Vote Up Vote Down
Duncan McLean Staff answered 8 years ago

Assuming you would like some degree of configurability to the fixed location you have a few options. You could define the fixed point as a target, or in the trial protocol table, or as task wide parameters. From there you just need to add a new input on the multi-purpose spring to take in the fixed point.

In the MATLAB block you would just need to figure out if you are using the active arm or the inactive arm as the other end of the spring. The active arm is determined by KINdata(3,1). That will be either a 1 or 2, meaning that the position of the active arm is in KINdata(1) or KINdata(2).

So in order to make the virtual spring from a point to one of the hands you just need to change the MATLAB code that uses each hand as an end-point for the spring to use your newly defined end point and whichever hand you want as the other end point. That means changing the hand1_pos and hand2_pos variables in the MATLAB code.

Support

  • User Guides & Documentation
  • Software Downloads
  • Install/Maintain Your KINARM Lab
  • Training Videos
  • New User Training
  • Creating Custom Tasks
  • Sample Custom Tasks
  • Q&A Forum
  • Publications by Research Area

Products

  • Platform Comparison
  • Kinarm Exoskeleton Lab
  • Kinarm End-Point Lab
  • Kinarm Standard Tests
  • Dexterit-E
  • Dexterit-E Explorer
  • NHP Kinarm Exoskeleton Lab

Clinical Applications

  • Clinical Applications
    • Stroke and TIA
    • Traumatic Brain Injury (TBI)
    • Neurological Disease
    • Pediatric
    • Primarily Non-Neurological
  • Clinical Research Sites
  • Publications

News

  • Kinarm News
  • Events
    • Neuroscience
    • Kinarm Camp
  • Product Notices
  • @KinarmLab Twitter Feed
  • Open Jobs

Support

  • Kinarm Help & Support
  • User Guides & Documentation
  • Software Downloads
  • Installing & Maintaining Your Kinarm Lab
  • Training Videos
  • New User Training
  • Creating Custom Tasks
  • Sample Custom Tasks
  • Q&A Forum

About Us

  • About Us
  • Our People
  • Quality
  • Supplier Requirements
  • End-User License Agreement
  • Intellectual Property
  • Privacy & Terms

Contact

  • Contact Kinarm
    • International Sales Agents
  • Request an Account
footer-logo

140 Railway St. Kingston, ON K7K 2L9 Canada Toll Free: (888) 533-4393 Phone: (613) 507-4393 info@kinarm.com

© Copyright BKIN Technologies. All Rights Reserved

Quality | Privacy Policy | Web design/development by 1dea Design + Media Inc.