Skip to content

Commit

Permalink
Internal changes.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 479078736
  • Loading branch information
ayzaan authored and Copybara-Service committed Oct 5, 2022
1 parent d11b3e6 commit 52879fc
Show file tree
Hide file tree
Showing 50 changed files with 52 additions and 50 deletions.
2 changes: 1 addition & 1 deletion ravens/__init__.py
@@ -1,5 +1,5 @@
# coding=utf-8
# Copyright 2021 The Ravens Authors.
# Copyright 2022 The Ravens Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion ravens/agents/__init__.py
@@ -1,5 +1,5 @@
# coding=utf-8
# Copyright 2021 The Ravens Authors.
# Copyright 2022 The Ravens Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion ravens/agents/conv_mlp.py
@@ -1,5 +1,5 @@
# coding=utf-8
# Copyright 2021 The Ravens Authors.
# Copyright 2022 The Ravens Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion ravens/agents/dummy.py
@@ -1,5 +1,5 @@
# coding=utf-8
# Copyright 2021 The Ravens Authors.
# Copyright 2022 The Ravens Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion ravens/agents/form2fit.py
@@ -1,5 +1,5 @@
# coding=utf-8
# Copyright 2021 The Ravens Authors.
# Copyright 2022 The Ravens Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion ravens/agents/gt_state.py
@@ -1,5 +1,5 @@
# coding=utf-8
# Copyright 2021 The Ravens Authors.
# Copyright 2022 The Ravens Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion ravens/agents/gt_state_2_step.py
@@ -1,5 +1,5 @@
# coding=utf-8
# Copyright 2021 The Ravens Authors.
# Copyright 2022 The Ravens Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion ravens/agents/transporter.py
@@ -1,5 +1,5 @@
# coding=utf-8
# Copyright 2021 The Ravens Authors.
# Copyright 2022 The Ravens Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion ravens/agents/transporter_6dof.py
@@ -1,5 +1,5 @@
# coding=utf-8
# Copyright 2021 The Ravens Authors.
# Copyright 2022 The Ravens Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion ravens/dataset.py
@@ -1,5 +1,5 @@
# coding=utf-8
# Copyright 2021 The Ravens Authors.
# Copyright 2022 The Ravens Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion ravens/demos.py
@@ -1,5 +1,5 @@
# coding=utf-8
# Copyright 2021 The Ravens Authors.
# Copyright 2022 The Ravens Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion ravens/environments/__init__.py
@@ -1,5 +1,5 @@
# coding=utf-8
# Copyright 2021 The Ravens Authors.
# Copyright 2022 The Ravens Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion ravens/environments/environment.py
@@ -1,5 +1,5 @@
# coding=utf-8
# Copyright 2021 The Ravens Authors.
# Copyright 2022 The Ravens Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion ravens/environments/environment_test.py
@@ -1,5 +1,5 @@
# coding=utf-8
# Copyright 2021 The Ravens Authors.
# Copyright 2022 The Ravens Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion ravens/models/__init__.py
@@ -1,5 +1,5 @@
# coding=utf-8
# Copyright 2021 The Ravens Authors.
# Copyright 2022 The Ravens Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion ravens/models/attention.py
@@ -1,5 +1,5 @@
# coding=utf-8
# Copyright 2021 The Ravens Authors.
# Copyright 2022 The Ravens Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion ravens/models/conv_mlp.py
@@ -1,5 +1,5 @@
# coding=utf-8
# Copyright 2021 The Ravens Authors.
# Copyright 2022 The Ravens Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion ravens/models/gt_state.py
@@ -1,5 +1,5 @@
# coding=utf-8
# Copyright 2021 The Ravens Authors.
# Copyright 2022 The Ravens Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion ravens/models/matching.py
@@ -1,5 +1,5 @@
# coding=utf-8
# Copyright 2021 The Ravens Authors.
# Copyright 2022 The Ravens Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion ravens/models/mdn_utils.py
@@ -1,5 +1,5 @@
# coding=utf-8
# Copyright 2021 The Ravens Authors.
# Copyright 2022 The Ravens Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion ravens/models/regression.py
@@ -1,5 +1,5 @@
# coding=utf-8
# Copyright 2021 The Ravens Authors.
# Copyright 2022 The Ravens Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion ravens/models/resnet.py
@@ -1,5 +1,5 @@
# coding=utf-8
# Copyright 2021 The Ravens Authors.
# Copyright 2022 The Ravens Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion ravens/models/transport.py
@@ -1,5 +1,5 @@
# coding=utf-8
# Copyright 2021 The Ravens Authors.
# Copyright 2022 The Ravens Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion ravens/models/transport_6dof.py
@@ -1,5 +1,5 @@
# coding=utf-8
# Copyright 2021 The Ravens Authors.
# Copyright 2022 The Ravens Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion ravens/models/transport_ablation.py
@@ -1,5 +1,5 @@
# coding=utf-8
# Copyright 2021 The Ravens Authors.
# Copyright 2022 The Ravens Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion ravens/models/transport_goal.py
@@ -1,5 +1,5 @@
# coding=utf-8
# Copyright 2021 The Ravens Authors.
# Copyright 2022 The Ravens Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion ravens/plot.py
@@ -1,5 +1,5 @@
# coding=utf-8
# Copyright 2021 The Ravens Authors.
# Copyright 2022 The Ravens Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion ravens/tasks/__init__.py
@@ -1,5 +1,5 @@
# coding=utf-8
# Copyright 2021 The Ravens Authors.
# Copyright 2022 The Ravens Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion ravens/tasks/align_box_corner.py
@@ -1,5 +1,5 @@
# coding=utf-8
# Copyright 2021 The Ravens Authors.
# Copyright 2022 The Ravens Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion ravens/tasks/assembling_kits.py
@@ -1,5 +1,5 @@
# coding=utf-8
# Copyright 2021 The Ravens Authors.
# Copyright 2022 The Ravens Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion ravens/tasks/block_insertion.py
@@ -1,5 +1,5 @@
# coding=utf-8
# Copyright 2021 The Ravens Authors.
# Copyright 2022 The Ravens Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion ravens/tasks/cameras.py
@@ -1,5 +1,5 @@
# coding=utf-8
# Copyright 2021 The Ravens Authors.
# Copyright 2022 The Ravens Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion ravens/tasks/grippers.py
@@ -1,5 +1,5 @@
# coding=utf-8
# Copyright 2021 The Ravens Authors.
# Copyright 2022 The Ravens Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion ravens/tasks/manipulating_rope.py
@@ -1,5 +1,5 @@
# coding=utf-8
# Copyright 2021 The Ravens Authors.
# Copyright 2022 The Ravens Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion ravens/tasks/packing_boxes.py
@@ -1,5 +1,5 @@
# coding=utf-8
# Copyright 2021 The Ravens Authors.
# Copyright 2022 The Ravens Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion ravens/tasks/palletizing_boxes.py
@@ -1,5 +1,5 @@
# coding=utf-8
# Copyright 2021 The Ravens Authors.
# Copyright 2022 The Ravens Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion ravens/tasks/place_red_in_green.py
@@ -1,5 +1,5 @@
# coding=utf-8
# Copyright 2021 The Ravens Authors.
# Copyright 2022 The Ravens Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion ravens/tasks/planners.py
@@ -1,5 +1,5 @@
# coding=utf-8
# Copyright 2021 The Ravens Authors.
# Copyright 2022 The Ravens Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion ravens/tasks/primitives.py
@@ -1,5 +1,5 @@
# coding=utf-8
# Copyright 2021 The Ravens Authors.
# Copyright 2022 The Ravens Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion ravens/tasks/stack_block_pyramid.py
@@ -1,5 +1,5 @@
# coding=utf-8
# Copyright 2021 The Ravens Authors.
# Copyright 2022 The Ravens Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion ravens/tasks/sweeping_piles.py
@@ -1,5 +1,5 @@
# coding=utf-8
# Copyright 2021 The Ravens Authors.
# Copyright 2022 The Ravens Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
4 changes: 3 additions & 1 deletion ravens/tasks/task.py
@@ -1,5 +1,5 @@
# coding=utf-8
# Copyright 2021 The Ravens Authors.
# Copyright 2022 The Ravens Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -29,6 +29,7 @@
from ravens.tasks.grippers import Suction
from ravens.utils import utils

import six
import pybullet as p


Expand Down Expand Up @@ -383,6 +384,7 @@ def fill_template(self, template, replace):
file.write(fdata)
return fname


def get_random_size(self, min_x, max_x, min_y, max_y, min_z, max_z):
"""Get random box size."""
size = np.random.rand(3)
Expand Down
2 changes: 1 addition & 1 deletion ravens/tasks/tasks_test.py
@@ -1,5 +1,5 @@
# coding=utf-8
# Copyright 2021 The Ravens Authors.
# Copyright 2022 The Ravens Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion ravens/tasks/towers_of_hanoi.py
@@ -1,5 +1,5 @@
# coding=utf-8
# Copyright 2021 The Ravens Authors.
# Copyright 2022 The Ravens Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion ravens/test.py
@@ -1,5 +1,5 @@
# coding=utf-8
# Copyright 2021 The Ravens Authors.
# Copyright 2022 The Ravens Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion ravens/train.py
@@ -1,5 +1,5 @@
# coding=utf-8
# Copyright 2021 The Ravens Authors.
# Copyright 2022 The Ravens Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion ravens/utils/__init__.py
@@ -1,5 +1,5 @@
# coding=utf-8
# Copyright 2021 The Ravens Authors.
# Copyright 2022 The Ravens Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion ravens/utils/pybullet_utils.py
@@ -1,5 +1,5 @@
# coding=utf-8
# Copyright 2021 The Ravens Authors.
# Copyright 2022 The Ravens Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion ravens/utils/utils.py
@@ -1,5 +1,5 @@
# coding=utf-8
# Copyright 2021 The Ravens Authors.
# Copyright 2022 The Ravens Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion setup.py
@@ -1,5 +1,5 @@
# coding=utf-8
# Copyright 2021 The Ravens Authors.
# Copyright 2022 The Ravens Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down

0 comments on commit 52879fc

Please sign in to comment.