Comments (6)
Hello!
Are you running this in the PyGame or VREP examples? I'm able to run this example on my computer. Can you provide more details about your setup? One quick thing to try is deleting the ~/.cache/abr_control
folder, which will force the cython functions to be regenerated.
from abr_control.
Hello! Thanks for your reply. I have ever read your blogs on 'https://studywolf.wordpress.com/', which gives me a lot of help when I study robotics. Thanks again for your effort.
The problem is detailed as follows:
- The abr_ontrol project is running on my PC 'windows 64' and 'anaconda3' with 'python 3.6'. All the dependent libraries (NumPy, SymPy, SciPy, CloudPickle, Cython, SetupTools, Nengo, and Matplotlib) have been installed.
- When running the file 'abr_control-master/examples/VREP/position_control_sliding.py', error occurs:
Traceback (most recent call last):
File "E:/python-prj/abr_control/abr_control-master-20200106a/examples/VREP/position_control_sliding.py", line 52, in
target=target_xyz
File "G:\anaconda3\lib\site-packages\abr_control\controllers\sliding.py", line 88, in generate
C = self.robot_config.C(q=q, dq=dq)
File "G:\anaconda3\lib\site-packages\abr_control\arms\base_config.py", line 337, in C
self._C = self._calc_C()
File "G:\anaconda3\lib\site-packages\abr_control\arms\base_config.py", line 766, in _calc_C
parameters=self.q+self.dq)
File "G:\anaconda3\lib\site-packages\abr_control\arms\base_config.py", line 146, in _generate_and_save_function
args=parameters, tempdir=folder)
File "G:\anaconda3\lib\site-packages\sympy\utilities\autowrap.py", line 632, in autowrap
return code_wrapper.wrap_code(routine, helpers=helps)
File "G:\anaconda3\lib\site-packages\sympy\utilities\autowrap.py", line 147, in wrap_code
self._process_files(routine)
File "G:\anaconda3\lib\site-packages\sympy\utilities\autowrap.py", line 170, in _process_files
" ".join(command), e.output.decode()))
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc3 in position 908: invalid continuation byte
VREP connection closed...
Simulation terminated...
- I check it step by step and find 'base_config.py', the '_calc_C' function in class 'BaseConfig' Line 764 is the bug. While other functions '_calc_dJ' and '_calc_M' are correct.
I'm confused about it. Could you give me a help?
from abr_control.
Also, the cache files saved by the first computation have been deldeted. But the errors still occur.
from abr_control.
Hmmm, I haven't encountered this bug before. I left the program running overnight and I was able to successfully generate the C
matrix on my Ubuntu 18.04 system with Python 3.6.0.
Could you confirm for me whether or not it also happens when you run the PyGame/position_control_sliding.py
file?
These are the versions of the dependent libraries I'm using, can you check against the ones you have installed?
numpy == 1.17.1
sympy == 1.4
scipy == 1.3.1
cloudpickle == 1.2.2
cython == 0.29.13
setuptools == 41.0.1
nengo == 3.0.1.dev0
matplotlib == 3.1.1
from abr_control.
Thanks for your detailed information about the program environment. I have conquered this problem with ubuntu os and python 3.6. I'm so glad that I can develop my research project.
from abr_control.
excellent! glad to hear :D if there's anything else we can help with please let us know!
from abr_control.
Related Issues (20)
- Add a warning when the joint state is ignored by mujoco_config
- AttributeError: 'MjViewer' object has no attribute 'exit' HOT 1
- Question for the hand/gripper control HOT 2
- Can we add AvoidObstacles in inverse kinematics path planner? HOT 1
- Non-linear trajectory issue HOT 6
- config.py file for UR5e
- Control of two robots
- 3D model files missing HOT 2
- AttributeError: 'MjViewer' object has no attribute 'exit' HOT 3
- What is the effect of dt in your expressions? HOT 4
- Can I download those mesh and texture files directly? HOT 2
- Other arms with ABR_Control HOT 2
- xyz_offset argument with problems HOT 7
- Inverse kinematic for Mujoco HOT 3
- ask for reference about the controllers HOT 3
- Dynamics Adaptation using hardcoded Tau and dt values HOT 2
- TypeError: 'numpy.ndarray' object is not callable HOT 2
- MujocoConfig Error HOT 3
- Mujoco install issues I encountered. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from abr_control.