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

faster-than-realtime simulation & setting of initial joint values through ROS service? #10

Open
airballking opened this issue Feb 16, 2017 · 1 comment

Comments

@airballking
Copy link

I'd like to have a faster-than-realtime planning framework that is distributed across several ROS nodes.

To that end, I suggest to extend this simulator with a mode in which updates get triggered through a ROS topic. Then the simulator can run faster than a fixed loop-rate. Would you be interested in adding such a feature?

Related, I'd like to add a ROS service through which users can set the simulation into a desired JointState. Again, would you be interested in adding this functionality?

@davetcoleman
Copy link
Member

Then the simulator can run faster than a fixed loop-rate. Would you be interested in adding such a feature?

ROS time was implemented to allow seameless switching between using realtime and simulation time (which can be faster or slower than realtime). However, in ros_control_boilerplate we don't use ROS time much because it does not have good realtime guarantees as far as I can remember. In particular, it does not handle system clock changes in time (such as time server, time zone change, etc). I'm thinking your desires might be outside the scope of this package, but if you could implement a patch that does not break the realtime qualities than I think it might be an interesting addition

add a ROS service through which users can set the simulation into a desired JointState

Sounds like Gazebo's spawn robot joint state service :). This concept is very simulation-centric, and impossible in the real world. While I am interested in allowing the initial state to be changed easily (such as moveit_sim_controller I do not think changing it on the fly is within the scope of this... in a realtime loop having extra ROS message buffers is not good.

Could all these features be added to moveit_sim_controller instead?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants