Skip to content
This repository was archived by the owner on May 20, 2021. It is now read-only.

Commit fd68c7d

Browse files
committed
intial interface
0 parents  commit fd68c7d

9 files changed

+932
-0
lines changed

.gitignore

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
*.py[cod]
2+
3+
# C extensions
4+
*.so
5+
6+
# Packages
7+
*.egg
8+
*.egg-info
9+
dist
10+
build
11+
eggs
12+
parts
13+
bin
14+
var
15+
sdist
16+
develop-eggs
17+
.installed.cfg
18+
lib
19+
lib64
20+
21+
# Installer logs
22+
pip-log.txt
23+
24+
# Unit test / coverage reports
25+
.coverage
26+
.tox
27+
nosetests.xml
28+
29+
# Translations
30+
*.mo
31+
32+
# Mr Developer
33+
.mr.developer.cfg
34+
.project
35+
.cproject
36+
cmake_install.cmake
37+
.pydevproject
38+
*.swp
39+
*.swo
40+
CATKIN_IGNORE
41+
catkin
42+
catkin_generated
43+
devel
44+

CMakeLists.txt

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
cmake_minimum_required(VERSION 2.8.3)
2+
project(bullet_panda)
3+
4+
find_package(catkin REQUIRED COMPONENTS
5+
franka_panda_description
6+
)
7+
8+
catkin_package()
9+
10+
install(DIRECTORY launch DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION})
11+
install(DIRECTORY config DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION})
12+
13+
catkin_python_setup()

README.md

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# bullet_panda
2+
3+
Panda robot simulation using [PyBullet](https://www.pybullet.org) and a Python interface class to control and monitor the robot in the simulation. The interface is written in the structure similar to the [*panda_robot*](https://github.com/justagist/panda_robot) ROS package used for controlling the real robot. This allows for direct transfer of code to the real robot (when using the [*panda_robot*](https://github.com/justagist/panda_robot) ROS package).
4+
5+
Although, this package is structured as a ROS package, it can be used without ROS.
6+
7+
## Dependencies:
8+
9+
- [PyBullet](https://www.pybullet.org) (`pip install pybullet`)
10+
- Requires the robot description URDF file ([*franka_panda_description*](https://github.com/justagist/franka_panda_description))
11+
12+
## Related Packages
13+
- [*panda_simulator*](https://github.com/justagist/panda_simulator) : Simulation in Gazebo with exposed controllers and state feedback using ROS topics and services. The simulated robot uses the same ROS topics and services as the real robot when using the [*franka_ros_interface*](https://github.com/justagist/franka_ros_interface).
14+
- [*franka_ros_interface*](https://github.com/justagist/franka_ros_interface) : A ROS API for controlling and managing the Franka Emika Panda robot (real and simulated). Contains controllers for the robot (joint position, velocity, torque), interfaces for the gripper, controller manager, coordinate frames interface, etc.. Provides almost complete sim-to-real transfer of code.
15+
- [*panda_robot*](https://github.com/justagist/panda_robot) : Python interface providing higher-level control of the robot integrated with its gripper, controller manager, coordinate frames manager, etc. It also provides access to the kinematics and dynamics of the robot using the [KDL library](http://wiki.ros.org/kdl).

package.xml

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<?xml version="1.0"?>
2+
<package>
3+
<name>bullet_panda</name>
4+
<version>0.0.1</version>
5+
<description>
6+
bullet_panda package: simulating the franka panda emika robot in bullet.
7+
</description>
8+
9+
<maintainer email="sxs1412@bham.ac.uk">
10+
Saif Sidhik
11+
</maintainer>
12+
<license>Apache 2.0</license>
13+
<author>Saif Sidhik</author>
14+
15+
<buildtool_depend>catkin</buildtool_depend>
16+
<build_depend>franka_panda_description</build_depend>
17+
<run_depend>franka_panda_description</run_depend>
18+
19+
</package>

setup.py

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/usr/bin/env python
2+
from distutils.core import setup
3+
from catkin_pkg.python_setup import generate_distutils_setup
4+
5+
d = generate_distutils_setup()
6+
d['packages'] = ['bullet_panda']
7+
d['package_dir'] = {'': 'src'}
8+
9+
setup(**d)

src/bullet_panda/__init__.py

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from panda_robot import PandaArm

0 commit comments

Comments
 (0)