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

How to Apply the Algorithms to Simulated Robots? #6

Open
wlwsjl opened this issue Apr 25, 2019 · 6 comments
Open

How to Apply the Algorithms to Simulated Robots? #6

wlwsjl opened this issue Apr 25, 2019 · 6 comments

Comments

@wlwsjl
Copy link

wlwsjl commented Apr 25, 2019

Could you provide interactive tutorials of STEAP algorithm with simulated robot, such as vector, wam, pr2, etc? How to set up action sever in simulated robot's API? I don't know how to solve 'Cannot find trajectory_control server'.

@Shuang1997
Copy link

How could I solve this problem?
Cannot find trajectory_control server '/vector/full_body_controller/trajectory'

@mfinean
Copy link

mfinean commented Jul 13, 2020

How could I solve this problem?
Cannot find trajectory_control server '/vector/full_body_controller/trajectory'

You need to have a controller running as an action server as mentioned in the FAQ on the readme. As an example:
sudo apt-get install pr2_gazebo
roslaunch pr2_gazebo pr2_empty_world.launch

You will now have multiple controllers running such base_controller and head_traj_controller

@Shuang1997
Copy link

How could I solve this problem?

Cannot find trajectory_control server '/vector/full_body_controller/trajectory'

You need to have a controller running as an action server as mentioned in the FAQ on the readme. As an example:

sudo apt-get install pr2_gazebo

roslaunch pr2_gazebo pr2_empty_world.launch

You will now have multiple controllers running such base_controller and head_traj_controller

Thanks!

@twoton
Copy link

twoton commented Sep 3, 2021

How could I solve this problem?
Cannot find trajectory_control server '/vector/full_body_controller/trajectory'

You need to have a controller running as an action server as mentioned in the FAQ on the readme. As an example:
sudo apt-get install pr2_gazebo
roslaunch pr2_gazebo pr2_empty_world.launch

You will now have multiple controllers running such base_controller and head_traj_controller

when I run:
roslaunch pr2_gazebo pr2_empty_world.launch
I still have the error :
Cannot find trajectory_control server '/vector/full_body_controller/trajectory'.
@mfinean what can I to do next step? Could you tell me this? thanks!

@mfinean
Copy link

mfinean commented Sep 3, 2021

Your error there is basically saying that it expects a robot under the namespace 'vector' to be running a trajectory_control server called 'full_body_controller'. So this suggests that you haven't launch the vector robot and its controllers. The example that I mentioned previously is for running controllers on the pr2 robot and so won't be applicable here.

I haven't used the vector robot and so don't know the procedure exactly. I assume that this is the code for the vector robot https://github.com/nickovaras/vector. What you need to do is launch the robot and its controller before running piper.

@twoton
Copy link

twoton commented Sep 6, 2021

Your error there is basically saying that it expects a robot under the namespace 'vector' to be running a trajectory_control server called 'full_body_controller'. So this suggests that you haven't launch the vector robot and its controllers. The example that I mentioned previously is for running controllers on the pr2 robot and so won't be applicable here.

I haven't used the vector robot and so don't know the procedure exactly. I assume that this is the code for the vector robot https://github.com/nickovaras/vector. What you need to do is launch the robot and its controller before running piper.

Thanks!!

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

4 participants