Top Banner
Testing and analysis PX4 SITL testing with ROS/Gazebo Andreas Antener, www.uaventure.com
18

Testing and analysis...Continuous Integration How it works: CI Job Docker Container rostest PX4 SITL (Gazebo) Results Test (rospy / roscpp) Feedback Feedback rosbag Exported plots,

Oct 16, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Testing and analysis...Continuous Integration How it works: CI Job Docker Container rostest PX4 SITL (Gazebo) Results Test (rospy / roscpp) Feedback Feedback rosbag Exported plots,

Testing and analysisPX4 SITL testing with ROS/Gazebo

Andreas Antener, www.uaventure.com

Page 2: Testing and analysis...Continuous Integration How it works: CI Job Docker Container rostest PX4 SITL (Gazebo) Results Test (rospy / roscpp) Feedback Feedback rosbag Exported plots,

Content

● Story● Test● Continuous Integration● Feedback● The Real Flight● Reproducibility● Conclusion

Page 3: Testing and analysis...Continuous Integration How it works: CI Job Docker Container rostest PX4 SITL (Gazebo) Results Test (rospy / roscpp) Feedback Feedback rosbag Exported plots,

Story

Page 4: Testing and analysis...Continuous Integration How it works: CI Job Docker Container rostest PX4 SITL (Gazebo) Results Test (rospy / roscpp) Feedback Feedback rosbag Exported plots,

Story

● Offboard control● Vertical takeoff to 10 meter AGL● Loiter

> Python script

Page 6: Testing and analysis...Continuous Integration How it works: CI Job Docker Container rostest PX4 SITL (Gazebo) Results Test (rospy / roscpp) Feedback Feedback rosbag Exported plots,

Continuous Integration

How it works:

CI Job Docker Container

rostest

PX4 SITL (Gazebo)

Test (rospy / roscpp)Results

Page 7: Testing and analysis...Continuous Integration How it works: CI Job Docker Container rostest PX4 SITL (Gazebo) Results Test (rospy / roscpp) Feedback Feedback rosbag Exported plots,

Feedback

Page 8: Testing and analysis...Continuous Integration How it works: CI Job Docker Container rostest PX4 SITL (Gazebo) Results Test (rospy / roscpp) Feedback Feedback rosbag Exported plots,

Feedback

● rosbag● Exported plots, examples:

○ Test 1○ CI test

Page 9: Testing and analysis...Continuous Integration How it works: CI Job Docker Container rostest PX4 SITL (Gazebo) Results Test (rospy / roscpp) Feedback Feedback rosbag Exported plots,

Limitations

Headless execution:● everything except OpenGL/GLX

Page 11: Testing and analysis...Continuous Integration How it works: CI Job Docker Container rostest PX4 SITL (Gazebo) Results Test (rospy / roscpp) Feedback Feedback rosbag Exported plots,

The Real Flight

?tuning?

GPS noise?

controller issue?

bad day?

Page 13: Testing and analysis...Continuous Integration How it works: CI Job Docker Container rostest PX4 SITL (Gazebo) Results Test (rospy / roscpp) Feedback Feedback rosbag Exported plots,

Reproducibility

● Fix for the real flight: use current heading in the setpoint

Page 15: Testing and analysis...Continuous Integration How it works: CI Job Docker Container rostest PX4 SITL (Gazebo) Results Test (rospy / roscpp) Feedback Feedback rosbag Exported plots,

Conclusion

● Comparable results for real and simulated flights

Page 16: Testing and analysis...Continuous Integration How it works: CI Job Docker Container rostest PX4 SITL (Gazebo) Results Test (rospy / roscpp) Feedback Feedback rosbag Exported plots,

Conclusion

● Testing high-level functionality● Regression testing● Fast prototyping of complex use-cases

Page 17: Testing and analysis...Continuous Integration How it works: CI Job Docker Container rostest PX4 SITL (Gazebo) Results Test (rospy / roscpp) Feedback Feedback rosbag Exported plots,

More Information

http://px4.io (search for "sitl")

Presentation content and example code:https://github.com/UAVenture/px4_sitl_ci_dronecode_talk

Page 18: Testing and analysis...Continuous Integration How it works: CI Job Docker Container rostest PX4 SITL (Gazebo) Results Test (rospy / roscpp) Feedback Feedback rosbag Exported plots,

Thanks

● Thomas Gubler● PX4 community● ASL ETH Zürich

www.uaventure.com