| 12345678910111213141516171819202122232425262728 |
- import pathlib
- test_file = pathlib.Path(__file__)
- test_dir = test_file.parent
- project_dir = test_dir.parent
- import sys
- sys.path.append(str(project_dir.absolute()))
- import source as communication
- def main():
- helper = communication.position_message_builder()
-
- helper.set_x("10")
- helper.set_y("15")
- helper.set_z("11")
-
- helper.set_yaw("0")
- helper.set_roll("90")
- helper.set_pitch("70")
- result = helper.build()
- print(type(result))
- if __name__ == "__main__":
- main()
|