Source code for concepts.simulator.pybullet.components.component_base
#! /usr/bin/env python3
# -*- coding: utf-8 -*-
# File : component_base.py
# Author : Jiayuan Mao
# Email : maojiayuan@gmail.com
# Date : 08/24/2022
#
# This file is part of Project Concepts.
# Distributed under terms of the MIT license.
from concepts.simulator.pybullet.client import BulletClient
[docs]
class BulletComponent(object):
[docs]
def __init__(self, client: BulletClient):
self.client = client
@property
def p(self):
return self.client.p
@property
def world(self):
return self.client.w
@property
def w(self):
return self.client.w