# Actor Collisions Plugin
This plugin example demonstates how to enable collisions for an
animated actor and scale them.
Key points:
* The plugin must call `Link::Init` on each of the actor's links so collisions
are enabled on the physics engine
* When using ODE as the physics engine, it is necessary to set
`<allow_auto_disable>` to false on models which should collide with the actor.
This does not mean that setting it to true will prevent collisions.
* The collision names used on the SDF file take the following format:
<node_name>_<node_name>_collision
Where the nodes are described on the skeleton's COLLADA file.
## Build plugin
From this directory
mkdir build
cd build
cmake ..
make
## Run example world
An example world is provided where an actor is walking in circles and there are
objects on the way for it to collide with. Run it as follows:
cd build
gazebo ../actor_collisions.world
## Generate new worlds
The example world was generated from a template that randomizes various shapes
parameters. You can generate new ones from this directory as follows:
erb actor_collisions.world.erb > actor_collisions.world
## Reference
https://blog.csdn.net/tanjia6999/article/details/102629735#comments_13170403
没有合适的资源?快使用搜索试试~ 我知道了~
actor-collisions.zip文件
共85个文件
sample:11个
cmake:8个
make:4个
需积分: 0 0 下载量 14 浏览量
2022-11-08
11:10:52
上传
评论
收藏 675KB ZIP 举报
温馨提示
gazebo 11编译的
资源推荐
资源详情
资源评论
收起资源包目录
actor_collisions.zip (85个子文件)
actor_collisions
white_box.world 60KB
ActorCollisionsPlugin.cc 3KB
.git
index 657B
hooks
fsmonitor-watchman.sample 3KB
pre-push.sample 1KB
prepare-commit-msg.sample 1KB
applypatch-msg.sample 478B
pre-commit.sample 2KB
pre-receive.sample 544B
pre-applypatch.sample 424B
commit-msg.sample 896B
pre-rebase.sample 5KB
update.sample 4KB
post-update.sample 189B
config 276B
description 73B
refs
tags
heads
master 41B
remotes
origin
HEAD 32B
branches
logs
refs
heads
master 209B
remotes
origin
HEAD 209B
HEAD 209B
packed-refs 114B
objects
75
00abe47a799911bc0bcac619ebcb13a16e29ee 559B
0b
67faffef3aa3ecab869acfbecb4c4c5c4647a3 561B
1f
a75cb6fe28148832d165b55f5c9b98cee6f994 559B
eb
3f25482e0fa86d7decf7a06a399011cefbf376 269B
05
c252ffdab99d5e12cf1b742982a9c696d08908 623B
c8
931f03abb11da3012718915bbd68acf2c03017 269B
ba
fc2306f53823b11d0bd835fc23f01465497e52 277B
b0
4d9cd8c15407f59bce87e00ae1aa8ced01ac20 873B
61
20df90f2ececae8a6d61a7234c27ea8b7a8e1b 564B
6d
7afcf5090bedeb0442fad9cf00994ca4661c55 54B
info
f0
4dc584f78fbec115bb2b8c8ac617cb2b8aa64e 279B
2e
86eb8bf19cbd455c504f2551bca5bbb598a737 3KB
6e
7ca1bbe02545c2f908ad61e450e4d499f7ba55 1KB
pack
00
a6e47faa295fb325e4869b6ea03db12188ab94 144B
f6
ad787463af0f41634e6f5d57ccb55ef7e6434d 8KB
25
3fc657483ce4aeabee88ea7751580671243439 522B
9c15489ef7f62b654ce18e0a1baf04045b832c 697B
18
2c6863d96fdd4a99eed12d55f937e9abc820e5 566B
41
b518bbf7fbb431ea4baf8cccc3cace470ce81a 244B
2c
5290af85e10553468dac543ad25666954d0f77 268B
7e
82aa9afef8f84d493ef6b4c482808fb40f1013 8KB
c2
3cf9886e56c3bb1510d6292d7587b34dc88fb0 698B
info
exclude 240B
HEAD 23B
actor_collisions.world 60KB
CMakeLists.txt 359B
README.md 1KB
ActorCollisionsPlugin.hh 2KB
actor_collisions.world.erb 13KB
build
libActorCollisionsPlugin.so 1.29MB
CMakeCache.txt 59KB
cmake_install.cmake 1KB
Makefile 5KB
CMakeFiles
cmake.check_cache 85B
feature_tests.c 688B
3.10.2
CMakeDetermineCompilerABI_C.bin 8KB
CMakeSystem.cmake 398B
CompilerIdCXX
tmp
a.out 8KB
CMakeCXXCompilerId.cpp 17KB
CMakeCCompiler.cmake 2KB
CMakeCXXCompiler.cmake 5KB
CompilerIdC
CMakeCCompilerId.c 18KB
tmp
a.out 8KB
CMakeDetermineCompilerABI_CXX.bin 8KB
progress.marks 2B
Makefile2 3KB
ActorCollisionsPlugin.dir
progress.make 43B
depend.make 57KB
cmake_clean.cmake 323B
CXX.includecache 244KB
flags.make 833B
build.make 13KB
link.txt 2KB
DependInfo.cmake 1KB
depend.internal 26KB
ActorCollisionsPlugin.cc.o 1.9MB
CMakeError.log 3KB
Makefile.cmake 13KB
TargetDirectories.txt 191B
CMakeOutput.log 46KB
feature_tests.cxx 10KB
feature_tests.bin 12KB
CMakeDirectoryInformation.cmake 634B
CMakeTmp
共 85 条
- 1
资源评论
WBwhiteBeard
- 粉丝: 8
- 资源: 10
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 论文(最终)_20240430235101.pdf
- 基于python编写的Keras深度学习框架开发,利用卷积神经网络CNN,快速识别图片并进行分类
- 最全空间计量实证方法(空间杜宾模型和检验以及结果解释文档).txt
- 5uonly.apk
- 蓝桥杯Python组的历年真题
- 2023-04-06-项目笔记 - 第一百十九阶段 - 4.4.2.117全局变量的作用域-117 -2024.04.30
- 2023-04-06-项目笔记 - 第一百十九阶段 - 4.4.2.117全局变量的作用域-117 -2024.04.30
- 前端开发技术实验报告:内含4四实验&实验报告
- Highlight Plus v20.0.1
- 林周瑜-论文.docx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功