Add a Robot class for Move to Pose Algorithm (#596)

* Added speed limitation of the robot

* Removed leading underscores for global vars

* Added unit test for robot speed limitation

* Modified x/abs(x) to np.sign(x); fixed code style

* Removed 'random' from test func header comment

* Added Robot class for move to pose

* Revert

* Added Robot class for move to pose

* Added a type annotation for Robot class

* Fixed the annotaion comment

* Moved instance varaible outside of the Robot class

* Fixed code style Python 3.9 CI

* Removed whitespaces from the last line

* Applied PR #596 change requests

* Fixed typos

* Update Control/move_to_pose/move_to_pose_robot_class.py

Co-authored-by: Atsushi Sakai <asakai.amsl+github@gmail.com>

* Moved PathFinderController class to move_to_pose

* Fixed issue #600

* Added update_command() to PathFinderController

* Removed trailing whitespaces

* Updated move to pose doc

* Added code and doc comments

* Updated unit test

* Removed trailing whitespaces

* Removed more trailing whitespaces

Co-authored-by: Atsushi Sakai <asakai.amsl+github@gmail.com>
This commit is contained in:
Muhammad-Yazdian
2021-12-25 13:42:32 +01:00
committed by GitHub
parent 4e1f644007
commit 680ecdafb2
4 changed files with 424 additions and 30 deletions

View File

@@ -0,0 +1,14 @@
import conftest # Add root path to sys.path
from Control.move_to_pose import move_to_pose as m
def test_1():
"""
This unit test tests the move_to_pose_robot.py program
"""
m.show_animation = False
m.main()
if __name__ == '__main__':
conftest.run_this_test(__file__)