信雪神话
码龄10年
  • 257,271
    被访问
  • 65
    原创
  • 1,339,306
    排名
  • 133
    粉丝
关注
提问 私信

个人简介:SIA.机器人学实验室

  • 加入CSDN时间: 2012-01-07
博客描述:
信马无疆游宇内,雪中腊梅斗天寒,神兵现世傲沧海,话尽凡间惊世言。
查看详细资料
  • 2
    领奖
    总分 105 当月 3
个人成就
  • 获得87次点赞
  • 内容获得42次评论
  • 获得368次收藏
创作历程
  • 1篇
    2022年
  • 6篇
    2021年
  • 10篇
    2020年
  • 9篇
    2019年
  • 5篇
    2018年
  • 12篇
    2017年
  • 25篇
    2016年
  • 13篇
    2015年
  • 1篇
    2014年
成就勋章
TA的专栏
  • RL General
    6篇
  • SocialThink
  • General Problem
    30篇
  • C++ General
    3篇
  • VBasic
    1篇
  • Robot Operating System
    32篇
  • uCOS Ⅲ
    2篇
  • ImageAnalysis
    2篇
  • MachineLearning
    4篇
  • 最近
  • 文章
  • 资源
  • 问答
  • 帖子
  • 视频
  • 课程
  • 关注/订阅/互动
  • 收藏
搜TA的内容
搜索 取消

On Choosing a Deep Reinforcement Learning Library

August 5, 2020, Thomas SimoniniAs deep reinforcement learning continues to become one of the most hyped strategies to achieve AGI (aka Artificial General Intelligence) more and more libraries are being developed. But choosing the best for your needs can b
转载
发布博客 2022.04.15 ·
72 阅读 ·
0 点赞 ·
0 评论

bag-of-word模型的简单python实现

前言如下图所示,bag-of-word即将text即文本表述按单词拆分,组成词典,然后将文本描述按词按是否在词典出现进行编码,组成词语向量。图中’she loves pizza is … are the best’即是词典,下方的编码即某一描述的词向量编码。基于keras Tokenizer实现from keras.preprocessing.text import Tokenizer text = [ 'There was a man', 'The man had a dog',
原创
发布博客 2021.07.06 ·
192 阅读 ·
0 点赞 ·
0 评论

 Matlab数据游标模式实现三维坐标的实时获取与存储 datacursormode

主函数负责生成数据图,并且设置datacursormode的回调函数。实现主要在callback函数里实现,能够实现鼠标单击获取坐标图中的数据。可进一步开发用于实现三维点、点云标注。function mainhFigure= figure;t=0:0.01:2.2;z=104.7*(1-exp(-11*t/30))-26*t;x=33*(1-exp(-11*t/30))*cosd(27);y=33*(1-exp(-11*t/30))*sind(27);scatter3(x,y,z
原创
发布博客 2021.05.12 ·
563 阅读 ·
0 点赞 ·
1 评论

Similarity of two trees or graph based on networkx graph(zhang-shasha, tree edit distance)

I want to compute the Zhang-Shasha tree-edit distance between 2 trees (zsslibrary). However, my trees are in the form ofnetworkxgraphs (they actually represent DOM html trees). The example in the zssdocumentationshows how to create a tree by hand:f...
原创
发布博客 2021.04.08 ·
235 阅读 ·
0 点赞 ·
0 评论

Run Ant-v1, got WARNING: Nan, Inf or huge value in QACC at DOF 0. The simulation is unstable. Time = 0.0000.

答:

OK, I found a solution.

We found the official statement:

Simulation time step in seconds. This is the single most important parameter affecting the speed-accuracy trade-off which is inherent in every physics simulation. Smaller values result in better accuracy and stability. To achieve real-time performance, the time step must be larger than the CPU time per step (or 4 times larger when using the RK4 integrator). The CPU time is measured with internal timers. It should be monitored when adjusting the time step. MuJoCo can simulate most robotic systems a lot faster than real-time, however models with many floating objects (resulting in many contacts) are more demanding computationally. Keep in mind that stability is determined not only by the time step but also by the Solver parameters; in particular softer constraints can be simulated with larger time steps. When fine-tuning a challenging model, it is recommended to experiment with both settings jointly. In optimization-related applications, real-time is no longer good enough and instead it is desirable to run the simulation as fast as possible. In that case the time step should be made as large as possible.

According to above, we decreased the value of timestep in xml file from “timestep=0.001”to “timestep=0.0008”. It seems the simulator stability improved.

The solver includes [PGS, CG, Newton]. The default is "Newton", relation of stability of this parameter need to be tested.

official statement:

This attribute selects one of the constraint solver algorithms described in the Computation chapter. Guidelines for solver selection and parameter tuning are available in the Algorithms section above.

For parameter damping cited in the above answer, it seem it need to be decrased. 

damping : real, "0"

Damping applied to all degrees of freedom created by this joint. Unlike friction loss which is computed by the constraint solver, damping is simply a force linear in velocity. It is included in the passive forces. Despite this simplicity, larger damping values can make numerical integrators unstable, which is why our Euler integrator handles damping implicitly. See Integration in the Computation chapter.
————————————————
版权声明:本文为CSDN博主「信雪神话」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/hookie1990/article/details/114387296

回答问题 2021.03.05

Situation: Nan, Inf or huge value in QACC at DOF xx. The simulation is unstable. Time = xxx

[Example] http://www.mujoco.org/forum/index.php?threads/warning-nan-inf-or-huge-value-in-qacc-at-dof-1.3540/Question1:Hello,I am simulating a 7-DoF robotic arm, and wanna assign the position of one joint like following (before 'mj_step(m, d);', in the
原创
发布博客 2021.03.05 ·
532 阅读 ·
0 点赞 ·
2 评论

Run Ant-v1, got WARNING: Nan, Inf or huge value in QACC at DOF 0. The simulation is unstable. Time = 0.0000.

答:

MujocoException: Got MuJoCo Warning: Nan, Inf or huge value in QACC at DOF 0. The simulation is unstable. 

Ok, I got similiar error. Is there anyone know how to deal with it... I had tried to add delay function before env.step, but it seems no effects.

回答问题 2021.03.01

latex 排版记录 从期刊投稿模版开始学latex

1,一些基础资源安装参考的这里:最简单傻瓜式的 Latex+Texstudio 安装教学 简单使用:Latex期刊论文模板使用基础教程 已更新最新版(截至2021年2月)lshort文档,可作为工具书参考。相关操作搜索查找即可(这个文档貌似github可以找到)。资源:20210218_z中文latex-lshort.zip 两个入门级的B站教程,不用前期看很多视频,现查现用即可,开始看这两个就够了,有实际操作,有基础讲解,比较适合用来入门。一:从0开始的美赛LaTeX模板使用教学一二:从0
原创
发布博客 2021.02.18 ·
271 阅读 ·
0 点赞 ·
0 评论

20210218_z中文latex-lshort.zip

发布资源 2021.02.18 ·
zip

MPI4py install and test using python and linux

install using the following command:conda install mpi4pytest like this:mpirun -np 6 python mpi_test.pyor according toinstall and usage of mpi4py, the following command also can be used.mpiexec -n 3 python mpi_test.pyif you did not run the pyt..
原创
发布博客 2021.01.06 ·
189 阅读 ·
0 点赞 ·
0 评论

Create gym environment with your own xml file and training it using her of baseline

In last blog, we created a xml file that can be verified in mujoco simulator. But when i tested it in mujoco py and try to training it using HER of baseline, it showed oneerror, this error means every body must had at least one "site" which would beused ..
原创
发布博客 2020.12.17 ·
448 阅读 ·
0 点赞 ·
0 评论

Brief introduction to mujoco or gym modeling using xml

To build an environment that can be used for mujoco and gym, there are two main method. First you can build the model by writing a xml file, the second is building CAD model using 3D desigining software such as solidworks,then generate urdf filerelying ...
原创
发布博客 2020.12.16 ·
111 阅读 ·
0 点赞 ·
1 评论

How to create new environments for Gym

foward fromhttps://github.com/openai/gym/blob/master/docs/creating-environments.md Create a new repo called gym-foo, which should also be a PIP package. A good example ishttps://github.com/openai/gym-soccer. It should have at least the follo..
转载
发布博客 2020.12.14 ·
54 阅读 ·
0 点赞 ·
0 评论

A brief introduction of robotic environment of openai gym-fetch: reach, push, slide, and pick_place.

原文https://medium.com/@Amritpal001/intro-to-robotics-in-openai-fetch-reach-env-automating-robotics-with-reinforcement-learning-part-2b7452f3a5e9In a recent paper by OpenAi —Solving Rubik’s Cube with a Robot Hand — researchers introduce the concept of trai
转载
发布博客 2020.12.14 ·
782 阅读 ·
0 点赞 ·
0 评论

ubuntu20.04 mujoco200, mujoco GLEW initalization error: Missing GL version

mujoco GLEW initalization error: Missing GL versionStep 1Run update command to update package repositories and get the latest package information.sudo apt-get update -yStep 2Run the install command with -yflag to quickly install the packages and de
原创
发布博客 2020.12.04 ·
247 阅读 ·
0 点赞 ·
0 评论

ecml/pkdd 2020 Graph Representation Learning Applications JiezhongQiu

发布资源 2020.10.19 ·
zip

ubuntu 20.04, cudn10.0, cudnn v7.6, support pytorch 1.2 gpu and tensorflow 1.15 GPU, config record.

0, install nvida driver sudo add-apt-repository ppa:graphics-drivers/ppa then, open "software & updates" from "show application" and choose "additional drivers", and choose a fit driver: Using NVIDIA driver metapackage from nvidia-driver-44...
原创
发布博客 2020.08.21 ·
183 阅读 ·
1 点赞 ·
0 评论

python list 复制改变原list list赋值操作问题

if you use list of Python3, you can not assign new variable a value using "=" directly. For, if the child variable was changed, original variable would be changed.the operation of copy should be used.it was tested as following:>>> a=[1,2,3.
原创
发布博客 2020.07.30 ·
732 阅读 ·
1 点赞 ·
0 评论

mujoco_py GLEW initalization error: Missing GL version

Run the install command with -yflag to quickly install the packages and dependencies.sudo apt-get install -y libglew-devGot these from : https://zoomadmin.com/HowToInstall/UbuntuPackage/libglew-devand thenStep 3:export LD_PRELOAD=/usr/lib/x86_64-li.
原创
发布博客 2020.07.28 ·
422 阅读 ·
0 点赞 ·
0 评论

pythorch Conda for cuda10.0 and cudnn7.4

# CUDA 9.2conda install pytorch==1.2.0 torchvision==0.4.0 cudatoolkit=9.2 -c pytorch# CUDA 10.0conda install pytorch==1.2.0 torchvision==0.4.0 cudatoolkit=10.0 -c pytorch# CPU Onlyconda install pytorch==1.2.0 torchvision==0.4.0 cpuonly -c pytorch.
原创
发布博客 2020.07.18 ·
611 阅读 ·
0 点赞 ·
0 评论
加载更多