Skip to content

Commit

Permalink
Merge pull request #72 from liufang-robot/master
Browse files Browse the repository at this point in the history
rename to lebai
  • Loading branch information
liufang-robot authored Jun 3, 2024
2 parents c2ec71e + 69f04a1 commit 93eb373
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cmake/python.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ function(search_python_internal_module)
endif()
endfunction()

set(PYTHON_PROJECT pylebai)
set(PYTHON_PROJECT lebai)
set(PYTHON_PROJECT_DIR ${PROJECT_BINARY_DIR}/python/${PYTHON_PROJECT})
message(STATUS "Python project build path: ${PYTHON_PROJECT_DIR}")

Expand Down
2 changes: 1 addition & 1 deletion doc/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## 1.1.18

调整python包名字为pylebai
尝试调整python包名字

## 1.1.17

Expand Down
4 changes: 2 additions & 2 deletions doc/python.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ cmake --build build --target python_package
构建完成后,在`build/python/dist/`目录下会生成python的whl包,可以直接使用pip进行安装。

```bash
pip3 install build/python/dist/pypylebai-xxx.whl
pip3 install build/python/dist/pylebai-xxx.whl
```

您可以通过如下命令来查看安装的包的信息。
Expand All @@ -44,7 +44,7 @@ sudo pip3 uninstall pylebai
安装完成后可以直接使用lebai包。

```python
from pylebai import l_master
from lebai import l_master
robot = l_master.Robot("172.17.0.5",True)
robot.movej({"j1": 1.0,"j2": -1.0471975511965976,"j3": 1.3962634015954636,"j4": -0.17453292519943295,"j5": -1.0471975511965976,"j6": 0.0},1.0,1.0,0.0,0.0)
```
Expand Down

0 comments on commit 93eb373

Please sign in to comment.