MarginallyClever / Robot-Overlord-App

Simulation and control software for robots
https://www.marginallyclever.com/
GNU General Public License v2.0
157 stars 48 forks source link

2.110.0 #277

Closed i-make-robots closed 5 months ago

i-make-robots commented 5 months ago

This has been a real struggle to figure out better ways to teach the robot. This attempt uses Behavior Trees.

image

  1. open helloWorld.RO
  2. in LimbSolver add a BehaviorTreeRunner > Repeat > Sequence
  3. in Sequence add several LimbMoveToTarget. They should automatically find the grandparent LimbSolver.
  4. in each LimbMoveToTarget assign a target pose.
  5. in Repeat choose the number of repetitions
  6. in LimbSolver choose the solve speed
  7. in BehaviorTreeRunner click "Stopped" to start the action.

While this is running you could have the EditorPanel recording positions. Now your FK only robot has enough poses to simulate moving in nice straight lines and you didn't have to learn any gcode at all.