Elfin Robot
======
Chinese version of the README -> please [click here](./README_cn.md)
<p align="center">
<img src="docs/images/elfin.png" />
</p>
This repository provides ROS support for the Elfin Robot. The recommend operating environment is on Ubuntu 18.04 with ROS Melodic. So far These packages haven't been tested in other environment.
### Installation
#### Ubuntu 18.04 + ROS Melodic
**Install some important dependent software packages:**
```sh
$ sudo apt-get install ros-melodic-soem ros-melodic-gazebo-ros-control ros-melodic-ros-control ros-melodic-ros-controllers
```
**Install or upgrade MoveIt!.**
If you have installed MoveIt!, please make sure that it's been upgraded to the latest version.
Install/Upgrade MoveIt!:
```sh
$ sudo apt-get update
$ sudo apt-get install ros-melodic-moveit-*
```
install trac_ik plugin
```sh
sudo apt-get install ros-melodic-trac-ik
```
**Install this repository from Source**
First set up a catkin workspace (see [this tutorials](http://wiki.ros.org/catkin/Tutorials)).
Then clone the repository into the src/ folder. It should look like /path/to/your/catkin_workspace/src/elfin_robot.
Make sure to source the correct setup file according to your workspace hierarchy, then use catkin_make to compile.
Assuming your catkin workspace folder is ~/catkin_ws, you should use the following commands:
```sh
$ cd ~/catkin_ws/src
$ git clone -b melodic-devel https://github.com/hans-robot/elfin_robot.git
$ cd ..
$ catkin_make
$ source devel/setup.bash
```
---
### Usage with Gazebo Simulation
***There are launch files available to bringup a simulated robot - either Elfin3, Elfin5 or Elfin10.
In the following the commands for Elfin3 are given. For Elfin5 or Elfin10, simply replace the prefix accordingly.***
Bring up the simulated robot in Gazebo:
```sh
$ roslaunch elfin_gazebo elfin3_empty_world.launch
```
Start up RViz with a configuration including the MoveIt! Motion Planning plugin:
```sh
$ roslaunch elfin3_moveit_config moveit_planning_execution.launch
```
If you don't want to start up RViz at the moment, just run:
```sh
$ roslaunch elfin3_moveit_config moveit_planning_execution.launch display:=false
```
Start up elfin basic api and "Elfin Control Panel" interface:
```sh
$ roslaunch elfin_basic_api elfin_basic_api.launch
```
> Tutorial about how to use MoveIt! RViz plugin: [docs/moveit_plugin_tutorial_english.md](docs/moveit_plugin_tutorial_english.md)
Tips:
Every time you want to plan a trajectory, you should set the start state to current first.
---
### Usage with real Hardware
***There are launch files available to bringup a real robot - either Elfin3, Elfin5 or Elfin10.
In the following the commands for Elfin3 are given. For Elfin5 or Elfin10, simply replace the prefix accordingly.***
Put the file *elfin_drivers.yaml*, that you got from the vendor, into the folder elfin_robot_bringup/config/.
Connect Elfin to the computer with a LAN cable. Then confirm the ethernet interface name of the connection with `ifconfig`. The default ethernet name is eth0. If the ethernet name is not eth0, you should correct the following line in the file *elfin_robot_bringup/config/elfin_drivers.yaml*
```
elfin_ethernet_name: eth0
```
Load Elfin robot model:
```sh
$ roslaunch elfin_robot_bringup elfin3_bringup.launch
```
Bring up the hardware of Elfin. Before bringing up the hardware, you should setup Linux with PREEMPT_RT properly. There is a [tutorial](https://wiki.linuxfoundation.org/realtime/documentation/howto/applications/preemptrt_setup). There are two versions of elfin EtherCAT slaves. Please bring up the hardware accordingly.
```sh
$ sudo chrt 10 bash
$ roslaunch elfin_robot_bringup elfin_ros_control.launch
```
or
```sh
$ sudo chrt 10 bash
$ roslaunch elfin_robot_bringup elfin_ros_control_v2.launch
```
or you bought the RS485 end robot
```sh
$ sudo chrt 10 bash
$ roslaunch elfin_robot_bringup elfin_ros_control_v3.launch
```
Start up RViz with a configuration including the MoveIt! Motion Planning plugin:
```sh
$ roslaunch elfin3_moveit_config moveit_planning_execution.launch
```
If you don't want to start up RViz at the moment, just run:
```sh
$ roslaunch elfin3_moveit_config moveit_planning_execution.launch display:=false
```
Start up elfin basic api and "Elfin Control Panel" interface:
```sh
$ roslaunch elfin_basic_api elfin_basic_api.launch
```
Enable the servos of Elfin with "Elfin Control Panel" interface: if there is no "Warning", just press the "Servo On" button to enable the robot. If there is "Warning", press the "Clear Fault" button first and then press the "Servo On" button.
Tutorial about how to use MoveIt! RViz plugin: [docs/moveit_plugin_tutorial_english.md](docs/moveit_plugin_tutorial_english.md)
Tips:
Every time you want to plan a trajectory, you should set the start state to current first.
Before turning the robot off, you should press the "Servo Off" button to disable the robot.
For more information about API, see [docs/API_description_english.md](docs/API_description_english.md)
没有合适的资源?快使用搜索试试~ 我知道了~
Elfin机器人的ROS元包_C++_CMake_下载.zip
共415个文件
launch:85个
xml:83个
yaml:47个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 92 浏览量
2023-04-25
11:26:45
上传
评论
收藏 16.46MB ZIP 举报
温馨提示
Elfin机器人的ROS元包_C++_CMake_下载.zip
资源推荐
资源详情
资源评论
收起资源包目录
Elfin机器人的ROS元包_C++_CMake_下载.zip (415个子文件)
ElfinBasicAPIDynamicReconfigure.cfg 300B
elfin15_ikfast_solver_ebl.cpp 1.37MB
elfin15_elfin_arm_ikfast_solver.cpp 1.33MB
elfin5_elfin_arm_ikfast_solver.cpp 656KB
elfin3_elfin_arm_ikfast_solver.cpp 424KB
elfin3_ikfast_solver_ebl.cpp 424KB
elfin5_ikfast_solver_ebl.cpp 423KB
elfin10_ikfast_solver_ebl.cpp 423KB
elfin10_elfin_arm_ikfast_solver.cpp 390KB
elfin5_l_elfin_arm_ikfast_solver.cpp 333KB
elfin10_elfin_arm_ikfast_moveit_plugin.cpp 57KB
elfin5_l_elfin_arm_ikfast_moveit_plugin.cpp 57KB
elfin15_elfin_arm_ikfast_moveit_plugin.cpp 57KB
elfin5_elfin_arm_ikfast_moveit_plugin.cpp 57KB
elfin3_elfin_arm_ikfast_moveit_plugin.cpp 53KB
elfin_ethercat_client.cpp 37KB
elfin_hardware_interface.cpp 27KB
elfin_ethercat_driver.cpp 24KB
elfin_teleop_api.cpp 19KB
elfin_basic_api.cpp 13KB
elfin_ethercat_manager.cpp 13KB
elfin15_ikfast_simple_api.cpp 10KB
elfin10_ikfast_simple_api.cpp 10KB
elfin3_ikfast_simple_api.cpp 10KB
elfin5_ikfast_simple_api.cpp 10KB
elfin_motion_api.cpp 10KB
elfin_ethercat_io_client.cpp 8KB
elfin_basic_api_node.cpp 3KB
elfin_postrq_joint_trajectory_controller.cpp 2KB
elfin_posvel_joint_trajectory_controller.cpp 2KB
fix_it 37B
elfin_robot.gazebo 889B
modules.gazebo 239B
.gitignore 116B
ikfast.h 12KB
ikfast.h 12KB
ikfast.h 12KB
ikfast.h 12KB
ikfast.h 12KB
ikfast.h 12KB
elfin_kinematic_solver.h 8KB
elfin_ethercat_client.h 6KB
elfin_ethercat_manager.h 5KB
elfin_basic_api.h 5KB
elfin_teleop_api.h 5KB
elfin_hardware_interface.h 5KB
elfin_ethercat_driver.h 5KB
elfin_motion_api.h 5KB
posveltrq_command_interface.h 4KB
elfin_ethercat_io_client.h 4KB
postrq_command_interface.h 3KB
postrq_hw_interface_adapter.h 3KB
posvel_hw_interface_adapter.h 3KB
elfin_basic_api_const.h 2KB
elfin_basic_api_node.h 2KB
move_group.launch 4KB
move_group.launch 4KB
move_group.launch 4KB
demo_gazebo.launch 3KB
demo_gazebo.launch 3KB
move_group.launch 3KB
move_group.launch 3KB
move_group.launch 3KB
demo.launch 3KB
demo.launch 3KB
demo.launch 3KB
demo.launch 2KB
demo.launch 2KB
demo.launch 2KB
elfin_module_empty_world.launch 1KB
planning_context.launch 1KB
planning_context.launch 1KB
elfin10_l_empty_world.launch 1KB
elfin5_l_empty_world.launch 1KB
elfin15_empty_world.launch 1KB
elfin10_empty_world.launch 1KB
elfin3_empty_world.launch 1KB
elfin5_empty_world.launch 1KB
planning_context.launch 1KB
planning_context.launch 1KB
planning_context.launch 1KB
planning_context.launch 1KB
gazebo.launch 987B
gazebo.launch 983B
run_benchmark_ompl.launch 912B
run_benchmark_ompl.launch 910B
run_benchmark_ompl.launch 906B
run_benchmark_ompl.launch 906B
run_benchmark_ompl.launch 823B
run_benchmark_ompl.launch 817B
elfin_module_ros_control.launch 782B
elfin_ros_control.launch 776B
default_warehouse_db.launch 719B
default_warehouse_db.launch 717B
default_warehouse_db.launch 715B
default_warehouse_db.launch 715B
default_warehouse_db.launch 713B
default_warehouse_db.launch 713B
moveit_rviz.launch 686B
moveit_rviz.launch 684B
共 415 条
- 1
- 2
- 3
- 4
- 5
资源评论
快撑死的鱼
- 粉丝: 1w+
- 资源: 9154
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功