mirror of
https://github.com/AtsushiSakai/PythonRobotics.git
synced 2026-04-22 03:00:22 -04:00
sample program in bipedal_planner.py
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
"""
|
||||
Class for bipedal walking planner
|
||||
Author: Takayuki Murooka (takayuki5168)
|
||||
Bipedal Walking with modifying designated footsteps
|
||||
author: Takayuki Murooka (takayuki5168)
|
||||
"""
|
||||
import numpy as np
|
||||
import math
|
||||
|
||||
@@ -1,19 +0,0 @@
|
||||
"""
|
||||
Bipedal Walking with modifying designated footsteps
|
||||
Author: Takayuki Murooka (takayuki5168)
|
||||
"""
|
||||
from bipedal_planner import BipedalPlanner
|
||||
|
||||
def main():
|
||||
bipedal_planner = BipedalPlanner()
|
||||
|
||||
footsteps = [[0.0, 0.2, 0.0],
|
||||
[0.3, 0.2, 0.0],
|
||||
[0.3, 0.2, 0.2],
|
||||
[0.3, 0.2, 0.2],
|
||||
[0.0, 0.2, 0.2]]
|
||||
bipedal_planner.set_ref_footsteps(footsteps)
|
||||
bipedal_planner.walk(plot=True)
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
Reference in New Issue
Block a user