# Copyright 2021 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, catkin, xpp-examples, xpp-hyq, xpp-msgs, xpp-quadrotor, xpp-states, xpp-vis }:
buildRosPackage {
pname = "ros-melodic-xpp";
version = "1.0.10";
src = fetchurl {
url = "https://github.com/leggedrobotics/xpp-release/archive/release/melodic/xpp/1.0.10-0.tar.gz";
name = "1.0.10-0.tar.gz";
sha256 = "b5df600ccf29b0c24148d6eac7312ddd566f19024c48a49779a9f6905cef89ee";
};
buildType = "catkin";
propagatedBuildInputs = [ xpp-examples xpp-hyq xpp-msgs xpp-quadrotor xpp-states xpp-vis ];
nativeBuildInputs = [ catkin ];
meta = {
description = ''Visualization of motion-plans for legged robots. It draws support areas,
contact forces and motion trajectories in RVIZ and displays URDFs for
specific robots, including a one-legged, a two-legged hopper and
HyQ.
Example motions were generated by
towr.'';
license = with lib.licenses; [ bsdOriginal ];
};
}