-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to add plannification in an asibotpy program? #32
Comments
@jgvictores could we use the |
@PeterBowman @serna92 Using While that should be more than sufficient, here are some alternatives, in growing degree of (perhaps unrequired) learning curve:
|
Hello, I did something like that in my code:
But when I execute it, I obtain the next output: hello, robot! |
Hello, I'm trying to get the joint values needed to reach a cartesian position using the command inv:
But I get the next output: Traceback (most recent call last): Am I inserting the parameters correctly in simCart.inv? |
@serna92 works for me. Did you remember to put
Any failure should be clearly stated right there. BTW I fixed the |
Enabling debug I got the next message from openrave: 2017-05-08 15:10:55,030 openrave [DEBUG] [planningutils.cpp:65 planningutils::JitterActiveDOF] JitterActiveDOFs: self collision: (asibot:link0)x(asibot:link3), contacts=0! Is this causing not to get a valid trajectory? |
Hello, I have another question, I can't figure out how to get the same environment which is getting executed in cartesian server. Currently, I load a copy of the environment with openrave but I would like to work with the same environment in order to make invisible objects which arent taking part in the simulation in that moment or to set them a different position before starting a simulation. Is there way to extract the same env variable from cartesian server? |
That debug line might mean that links 0 and 3 are overlapping in the simulator, but I'm not sure. In certain circumstances, OpenRAVE bloats the terminal output with warning messages which we usually don't care about. Regardless, did you manage to solve the
Any 3D models are pulled from roboticslab-uc3m/asibot-openrave-models. The default environment is located here and gets installed on your machine at
To get rid of the kitchen stuff and work with the manipulator, nothing else, try:
|
Yes, I resolved the I have a modiffied environment and i want, for example, make an object (dish, glass, bottle or redCan) invisible using The simulation works well, it also grabs and release the objects but now I want to make the object position variable then the robot have to get a free obstacles trajectory so that's why I want to import openravepy. I open an issue on openrave too: I will attach the environment I'm using. |
Hi @serna92 It would be good:
|
As functionality I would like that given a target position the program can give the needed waypoints or execute a trajectory using What I want to do in my TFM is to design an UI in Python which asks the user what task and where is/are the object/s which take part in the simulation. Then start the simulation hidding the rest of objects. About OpenRAVE plugins, should I manage to create a method to implement the functionality that I need? I have few idea about OpenRAVE plugins but I can try from seeing examples in https://github.com/roboticslab-uc3m/openrave-yarp-plugins repository. Any tip?. |
As commented above, using
You'd have to make your own plugin for that. I'd recommend branching https://github.com/roboticslab-uc3m/openrave-yarp-plugins, and working on a renamed copy of OpenraveYarpPaintSquares as a starting point. |
Hello, I have done a plugin which I want to test but I have problems to use it. Especifically with the line |
|
PS: Please forget about |
All what I have is uploaded in this repository https://github.com/serna92/AsibotSimulation.git. I was working on the files pick_can_modified.py and OpenraveYarpObjManagement.cpp. Knowing that cartesianServer will be superseded, It will be as easier as use env.Load('asibot_kitchen.env.xml'). But I guess I will still have problems with this line. Then, do I have to remove AsibotPy and all the simCart commands and replace them by openravepy methods? |
Important: Regarding OpenraveYarpObjManagement.cpp, could you include it in a fork and/or branch and Pull Request to https://github.com/roboticslab-uc3m/openrave-yarp-plugins ?
No, we'll have something similar to |
Hello, I figured out my mistake. In order to get a valid trajectory I had to provide the goal joint values in radians. I also got the waypoints of the trajectory but the commands movj and movl only accept cartesian coordinates and there isn't a VOCAB to do direct kinematics. My code |
|
|
Hello,
I'm using Ubuntu 16.04.2 and I have a .py file with a simulation but I'm using intermediate targets to avoid obstacles. How can I add in this program the needed plannification in order to find a collisions free path?.
Thank you very much.
The text was updated successfully, but these errors were encountered: