Skip to content

Commit

Permalink
relaxing numpy dependency version and updating pybullet version (#2)
Browse files Browse the repository at this point in the history
* relaxing numpy dependency version and updating pybullet version

* bumping version in package.xml

* updating docker and setting up dev requirements compatible with ros2 env
  • Loading branch information
eaa3 authored Feb 6, 2025
1 parent 4c9cce1 commit 6cfdf7e
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 27 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,5 @@ log/
*.ddeb
.pybuild
_build
.coverage
.coverage
gripx.egg-info
22 changes: 2 additions & 20 deletions Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
###########################################
# Base image
###########################################
FROM nvidia/cuda:11.8.0-runtime-ubuntu22.04 AS base
FROM nvidia/cuda:12.4.1-runtime-ubuntu22.04 AS base

ENV DEBIAN_FRONTEND=noninteractive

Expand Down Expand Up @@ -124,25 +124,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
ENV DEBIAN_FRONTEND=

###########################################
# Full+Gazebo image
###########################################
FROM full AS gazebo

ENV DEBIAN_FRONTEND=noninteractive
# Install gazebo
RUN wget https://packages.osrfoundation.org/gazebo.gpg -O /usr/share/keyrings/pkgs-osrf-archive-keyring.gpg \
&& echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/pkgs-osrf-archive-keyring.gpg] http://packages.osrfoundation.org/gazebo/ubuntu-stable $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/gazebo-stable.list > /dev/null \
&& apt-get update && apt-get install -q -y --no-install-recommends \
ros-humble-gazebo* \
&& rm -rf /var/lib/apt/lists/*
ENV DEBIAN_FRONTEND=

###########################################
# Full+Gazebo+Nvidia image
###########################################

FROM gazebo AS gazebo-nvidia
FROM full AS full-nvidia

################
# Expose the nvidia driver to allow opengl
Expand Down
2 changes: 1 addition & 1 deletion grip/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.0.9"
__version__ = "0.0.10"
2 changes: 1 addition & 1 deletion package.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<package format="3">
<name>grip</name>
<version>0.0.7</version>
<version>0.0.10</version>
<description>grip is a library for Robot Grasp Learning Environments.</description>
<maintainer email="[email protected]">Ermano Arruda</maintainer>
<license>MIT</license>
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
numpy>=1.25.2,<=1.26.4 # numerical computing library
scipy>=1.11.1 # scientific computation tools
pybullet>=3.2.6 # physics engine used for simulation
pybullet>=3.2.7 # physics engine used for simulation
open3d>=0.10.0 # point cloud processing tools
opencv-python>=4.9.0.80 # computer vision tools
matplotlib>=3.3.4 # plotting tools
Expand Down
2 changes: 1 addition & 1 deletion requirements_dev.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
numpy>=1.25.2,<=1.26.4 # numerical computing library
scipy>=1.11.1 # scientific computation tools
pybullet>=3.2.6 # physics engine used for simulation
pybullet>=3.2.7 # physics engine used for simulation
open3d>=0.10.0 # point cloud processing tools
# opencv-python>=4.9.0.80 # computer vision tools
matplotlib>=3.3.4 # plotting tools
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,12 @@

core_requirements = [
"setuptools<=65",
"numpy>=1.25.2,<=1.26.4",
"numpy>=1.26.4",
"scipy>=1.11.1",
"pybullet>=3.2.6",
"open3d>=0.10.0",
"opencv-python>=4.9.0.80",
"matplotlib>=3.3.4",
# "ghalton==0.6.1",
"pybullet-planning-eaa",
"trimesh>=3.9.20",
"xatlas>=0.0.7",
Expand Down

0 comments on commit 6cfdf7e

Please sign in to comment.