Skip to content
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

robotDevastation simulator revival #36

Closed
jgvictores opened this issue Nov 10, 2017 · 15 comments
Closed

robotDevastation simulator revival #36

jgvictores opened this issue Nov 10, 2017 · 15 comments
Assignees

Comments

@jgvictores
Copy link
Member

jgvictores commented Nov 10, 2017

robotDevastation simulator revival.

We used to have this, called rdSim or similar. We could now do this pretty easily via our robot interface and https://github.com/roboticslab-uc3m/openrave-yarp-plugins (could be implemented here or there).

@jgvictores
Copy link
Member Author

jgvictores commented Dec 2, 2017

@jgvictores jgvictores changed the title Think about simulated robots (at least for testing) robotDevastation simulator revival Dec 2, 2017
@jgvictores jgvictores removed the blocked label Dec 2, 2017
@jgvictores
Copy link
Member Author

No longer blocked by #37.

@jgvictores
Copy link
Member Author

jgvictores commented Dec 3, 2017

@jgvictores
Copy link
Member Author

@jgvictores
Copy link
Member Author

@jgvictores
Copy link
Member Author

As commented roboticslab-uc3m/openrave-yarp-plugins#29 (comment) the code odevelocity supports is dead:

std::stringstream sout,ss;
ss << "setvelocity 3.0 3.0 3.0 3.0 ";
if( ! pcontrol->SendCommand(sout,ss) )
{
    CD_ERROR("failed to send velocity command\n");
    return false;
}

jgvictores added a commit to roboticslab-uc3m/openrave-yarp-plugins that referenced this issue Dec 13, 2017
@jgvictores
Copy link
Member Author

Much better with working version, idealvelocitycontroller, see roboticslab-uc3m/openrave-yarp-plugins@df2b04e.

jgvictores added a commit to roboticslab-uc3m/openrave-yarp-plugins that referenced this issue Dec 13, 2017
jgvictores added a commit to roboticslab-uc3m/openrave-yarp-plugins that referenced this issue Dec 13, 2017
@jgvictores
Copy link
Member Author

Have working simulated robot: openrave-YarpPluginLoader-robotmanager.py as of roboticslab-uc3m/openrave-yarp-plugins@f4e9792

Still blocked by epic roboticslab-uc3m/openrave-yarp-plugins#48 of offscreen render. Must try on old optimus device.

@jgvictores
Copy link
Member Author

Notes:

  1. We want a bash script to launch the one-liner that involves YarpOpenraveRobotManager.
  2. YarpOpenraveRobotManager is very tied to a 4WD robot. Consider the variations and if they will over-populate openrave-yarp-plugins. If we want to move here, consider that we depend on YarpOpenraveBase (also affected by Move YarpOpenraveBase one level (directory) up roboticslab-uc3m/openrave-yarp-plugins#62).

@jgvictores
Copy link
Member Author

jgvictores commented Jan 21, 2018

No longer blocked by roboticslab-uc3m/openrave-yarp-plugins#48!

RD is compatible with https://github.com/roboticslab-uc3m/openrave-yarp-plugins example:

COIN_FULL_INDIRECT_RENDERING=1 python examples/openraveYarpPluginLoader-robotmanager.py

Choose ecroSim as the robot name for connecting.

BTW, the camera resolution is tiny, but that is a minor issue which I've documented at asrob-uc3m/robotDevastation-openrave-models#3.

@jgvictores
Copy link
Member Author

PS: Use roboticslab-uc3m/openrave-yarp-plugins#48 as a guide if have offscreen/indirect rendering issues.

@jgvictores
Copy link
Member Author

I believe all that's left to do now is document this in https://github.com/asrob-uc3m/robotDevastation-user-manual. Closing this issue and opening an issue there.

@jgvictores
Copy link
Member Author

jgvictores added a commit to asrob-uc3m/robotDevastation-simulator that referenced this issue Feb 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant