19
Massively Parallel Autonomy Simulations using MOOS-IvP David Bale 1 , David Johnson 1 , Rob Fitch 2 1 Mission Systems Pty Ltd, 2 University of Technology Sydney August 2019 www.missionsystems.com.au

Massively Parallel Autonomy Simulations using …Massively Parallel Autonomy Simulations using MOOS-IvP David Battle1, David Johnson1, Rob Fitch2 1 Mission Systems Pty Ltd, 2 University

  • Upload
    others

  • View
    16

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Massively Parallel Autonomy Simulations using …Massively Parallel Autonomy Simulations using MOOS-IvP David Battle1, David Johnson1, Rob Fitch2 1 Mission Systems Pty Ltd, 2 University

Massively Parallel Autonomy Simulations using MOOS-IvP

David Battle1, David Johnson1, Rob Fitch2

1 Mission Systems Pty Ltd, 2 University of Technology Sydney

August 2019

www.missionsystems.com.au

Page 2: Massively Parallel Autonomy Simulations using …Massively Parallel Autonomy Simulations using MOOS-IvP David Battle1, David Johnson1, Rob Fitch2 1 Mission Systems Pty Ltd, 2 University

● Introduction: Multi-vehicle simulation with MOOS-IvP

● De-centralised ISR project

● MORSE – Modular OpenRobots Simulator Engine

● MOOS – MORSE – PX4 integration

● Sensor simulation with NVIDIA Optix

● Conclusion

Topics today

Page 3: Massively Parallel Autonomy Simulations using …Massively Parallel Autonomy Simulations using MOOS-IvP David Battle1, David Johnson1, Rob Fitch2 1 Mission Systems Pty Ltd, 2 University

De-centralised ISR project● We want to find a target of interest with a team of UAVs.● When the target is found, the object is identified in detail.● The target is in a cluttered environment.● UAVs must satisfy a safety requirement.

2019 Best Paper Award in Service Robotics: Fouad Sukkar, Graeme Best, Chanyeol Yoo, and Robert Fitch "Multi-Robot Region-of-Interest Reconstruction with Dec-MCTS"

Page 4: Massively Parallel Autonomy Simulations using …Massively Parallel Autonomy Simulations using MOOS-IvP David Battle1, David Johnson1, Rob Fitch2 1 Mission Systems Pty Ltd, 2 University

● Standard S500 frame● 2 x Realsense cameras● 1 x Ouster OS-1 16-beam lidar● Nvidia TX2 payload computer● All up weight 2.5 – 2.8 kg● Endurance exceeding 10 min

Simulator model: High-poly models appear to have little impact on our simulator performance!

Vehicle for de-centralised ISR

Page 5: Massively Parallel Autonomy Simulations using …Massively Parallel Autonomy Simulations using MOOS-IvP David Battle1, David Johnson1, Rob Fitch2 1 Mission Systems Pty Ltd, 2 University

● Started as a LAAS - CNRS research effort (France) – over 20 contributors now

● Gilberto Echeverria, Nicolas Lassabe, Arnaud Degroote, Séverin Lemaignan

● MORSE is a generic simulator for academic robotics. It focuses on realistic 3D simulation of small to large environments, indoor or outdoor, with one to tens of autonomous robots.

● MORSE can be entirely controlled from the command-line. Simulation scenes are generated from simple Python scripts.

● MORSE comes with a set of standard sensors (cameras, laser scanner, GPS, odometry,...), actuators (speed controllers, high-level waypoints controllers, generic joint controllers) and robotic bases (quadrotors, ATRV, Pioneer3DX, generic 4 wheel vehicle, PR2,...). New ones can easily be added.

● MORSE rendering is based on the Blender Game Engine. The OpenGL-based Game Engine supports shaders, provides advanced lightning options, supports multi-texturing, and use the state-of-the-art Bullet library for physics simulation.

MORSE – Modular OpenRobots Simulator Engine

Page 6: Massively Parallel Autonomy Simulations using …Massively Parallel Autonomy Simulations using MOOS-IvP David Battle1, David Johnson1, Rob Fitch2 1 Mission Systems Pty Ltd, 2 University

● Fully programmable via Python scripting

● Access to environmental parameters via simple game engine API, including ray-casting, collision detection, etc

● Sensors and actuators use local data maps to exchange data with middleware data streams

Middleware Support for:● Sockets● ROS● Yarp● Pocolibs● MOOS● HLA● Text

Figure: Degroote et al., 2016

MORSE – Modular OpenRobots Simulator Engine

Page 7: Massively Parallel Autonomy Simulations using …Massively Parallel Autonomy Simulations using MOOS-IvP David Battle1, David Johnson1, Rob Fitch2 1 Mission Systems Pty Ltd, 2 University

MOOS – MORSE – PX4 integration

MORSE (mostly Python)

BlenderGame Engine

QGroundControl PX4 (SITL)

S500 Quadcopterphysical model

Environment

Fake_robot

CamTracker

ObjectServer

Mavlink over UDP

MOOS (C++)

MOOSDB

iPX4

pMavlink

MOOS-IvPCommunity

pLidarSim

pCloud

Mavlink over UDP

Python-MOOS

Port 14560

Port 14539(port 14550)

Mavlink over UDPOFF-BOARD CONTROL

With thanks to Saad!

Page 8: Massively Parallel Autonomy Simulations using …Massively Parallel Autonomy Simulations using MOOS-IvP David Battle1, David Johnson1, Rob Fitch2 1 Mission Systems Pty Ltd, 2 University

MOOS – MORSE – PX4 integration

MORSE (mostly Python)

BlenderGame Engine

QGroundControl PX4 (SITL)

S500 Quadcopterphysical model

Environment

Fake_robot

CamTracker

ObjectServer

Mavlink over UDP

MOOS (C++)

MOOSDB

iPX4

pMavlink

MOOS-IvPCommunity

pLidarSim

pCloud

Mavlink over UDP

Python-MOOS

Port 14560

Port 14539(port 14550)

Mavlink over UDPOFF-BOARD CONTROL

With thanks to Muthukumaran Chandrasekaran!

Page 9: Massively Parallel Autonomy Simulations using …Massively Parallel Autonomy Simulations using MOOS-IvP David Battle1, David Johnson1, Rob Fitch2 1 Mission Systems Pty Ltd, 2 University

MOOSMORSE

drone

Multi-robot (massively parallel!) simulation

Px4Px4

QGroundControl

BlenderGame Engine

dronedrone_i

Environment

Fake_robot

CamTracker

ObjectServer

ground (port 9000)

MOOSDB

pMarineViewer

pShareuFldShoreBroker

pHostInfo

uFldNodeComms

pLidarSim

pCloud

pGridViewer

MOOS-IvP Community

Mavlink over UDP(ports 14560 + i)

targ_drone_i

pMAVLINK

MOOS(DB)

iPx4

pHelmIvP

pShare

pNodeReporter

pHostInfo

uFldNodeBroker

uFldMessageHandler

targ_drone_i

pMAVLINK

MOOS(DB)

iPx4

pHelmIvP

pShare

pNodeReporter

pHostInfo

uFldNodeBroker

uFldMessageHandler

drone_i (port 9000 + i)

pMavlink

iPX4

pHelmIvP

pShare

pNodeReporter

pHostInfo

uFldNodeBroker

uFldMessageHandler

MOOS-IvP Community

Mavlink over UDP(ports 14539 + i)

Mavlink over UDP(port 14550)

PX4 SITL instances(maximum of 10)

MOOSDB

Page 10: Massively Parallel Autonomy Simulations using …Massively Parallel Autonomy Simulations using MOOS-IvP David Battle1, David Johnson1, Rob Fitch2 1 Mission Systems Pty Ltd, 2 University

Single vehicle definition Swarm definition

Mavlink configuration

Multi-robot (massively parallel!) simulation

Page 11: Massively Parallel Autonomy Simulations using …Massively Parallel Autonomy Simulations using MOOS-IvP David Battle1, David Johnson1, Rob Fitch2 1 Mission Systems Pty Ltd, 2 University

Swarm definition

Mavlink configuration

Vehicle DB during flight

Usual NAV messages

Mavlink binary dataPosition relative to takeoff

New altitude messages

Page 12: Massively Parallel Autonomy Simulations using …Massively Parallel Autonomy Simulations using MOOS-IvP David Battle1, David Johnson1, Rob Fitch2 1 Mission Systems Pty Ltd, 2 University

Single vehicle definitionSwarm definition

Mavlink configuration

Ground DB during flight

Lidar messages

Page 13: Massively Parallel Autonomy Simulations using …Massively Parallel Autonomy Simulations using MOOS-IvP David Battle1, David Johnson1, Rob Fitch2 1 Mission Systems Pty Ltd, 2 University

Sensor simulation with NVIDIA Optix

Page 14: Massively Parallel Autonomy Simulations using …Massively Parallel Autonomy Simulations using MOOS-IvP David Battle1, David Johnson1, Rob Fitch2 1 Mission Systems Pty Ltd, 2 University

Sensor simulation with NVIDIA Optix

Page 15: Massively Parallel Autonomy Simulations using …Massively Parallel Autonomy Simulations using MOOS-IvP David Battle1, David Johnson1, Rob Fitch2 1 Mission Systems Pty Ltd, 2 University

● For lidar simulation, we just return the ray hit coordinates (and maybe a colour!)● For an acoustic (scalar) signal: 2D or 3D buffer stores complex pressure amplitudes● For an electromagnetic (vector) signal: 2D or 3D buffer stores complex Jones vectors ● Each complex value represents a generalised delta function at integral sample periods● Each delta function is “de-jittered” wrt the sample clock via narrow-band phase shifting

EM (Radar) payload

Acoustic payload

Lidar payload

Lidar source: Azimuth + Elevation – 2D buffer

Acoustic source: Spherical – 1D buffer

Sensor simulation with NVIDIA Optix

Page 16: Massively Parallel Autonomy Simulations using …Massively Parallel Autonomy Simulations using MOOS-IvP David Battle1, David Johnson1, Rob Fitch2 1 Mission Systems Pty Ltd, 2 University

Single vehicle definitionSwarm definition

Mavlink configuration

Ops area for drone simulations

Sydney CBD region – about 6km x 6km Includes all major structures

QGroundControl multi-vehicle mission launchMission start is at the Opera House

Page 17: Massively Parallel Autonomy Simulations using …Massively Parallel Autonomy Simulations using MOOS-IvP David Battle1, David Johnson1, Rob Fitch2 1 Mission Systems Pty Ltd, 2 University

Single vehicle definitionSwarm definition

Mavlink configuration

Result: Quad-tree assembled from five-drone team

Page 18: Massively Parallel Autonomy Simulations using …Massively Parallel Autonomy Simulations using MOOS-IvP David Battle1, David Johnson1, Rob Fitch2 1 Mission Systems Pty Ltd, 2 University

Conclusions

● We have developed the tools to enable high-fidelity simulation of a team of lidar-equipped drones for our decentralised ISR project

● Our MOOS-IvP – PX4 controller integration should enable MOOS-IvP to be used for air and cross-domain autonomous systems (real and virtual)

● We have also demonstrated that MOOS can handle the high data rates associated with data-rich multi-vehicle simulations

● Our approach to GPU-accelerated sensor simulation is scalable and has been adapted to lidar, high-frequency acoustics and radar

● Although we have used MORSE as our target simulator, the same approach should work with other simulators in future

Perhaps a question for everybody: Where to next...?

Page 19: Massively Parallel Autonomy Simulations using …Massively Parallel Autonomy Simulations using MOOS-IvP David Battle1, David Johnson1, Rob Fitch2 1 Mission Systems Pty Ltd, 2 University

Just in case we need another logo...