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

Changing initial_speefprofile.yaml does nothing #24

Open
kJh19 opened this issue Nov 26, 2020 · 4 comments
Open

Changing initial_speefprofile.yaml does nothing #24

kJh19 opened this issue Nov 26, 2020 · 4 comments

Comments

@kJh19
Copy link

kJh19 commented Nov 26, 2020

On the melodic-devel branch
I use the package and nodes to control the While remotely.
However, it seems stuck on the default/original speed profile.
The setspeedprofile service is called
I went over the code and according to all the printed debug information it should work except that in reality, nothing changes.

@s-katsu
Copy link
Contributor

s-katsu commented Apr 13, 2021

Sorry for the late reply.

First of all, the speed profile is only reflected in the "controller/joy" topic.
The speed profile settings are not referenced in "controller/cmd_vel".

Also, the speed profile changes the speed profile that can be changed with the speed setting (Up / Down) button on the end of the arm of the main unit, so please check if the speed changes when operating the Joystick on the main unit after executing the speed profile setting.

For reference, here is the description of the speed profile setting in the Model CR communication specification.

https://github.com/WHILL/whill_control_system_protocol_specification/blob/master/WHILL_Control_System_Protocl_Specification.pdf

image

@kJh19
Copy link
Author

kJh19 commented Apr 21, 2021

Hi,
I publish to /whill/controller/joy.
but using the set_speed_profile_srv does not change anything.

@s-katsu
Copy link
Contributor

s-katsu commented Apr 28, 2021

Thank you for your reply.

Can you tell me what specific speed profile settings you are using?
One possibility is that the value is outside the range of possible settings, so the setting is not reflected.

https://github.com/WHILL/whill_control_system_protocol_specification/blob/master/WHILL_Control_System_Protocl_Specification.pdf

The range of possible settings can be found in the communication specification
3.2.5 Range of SetSpeedProfile.

image

@kJh19
Copy link
Author

kJh19 commented May 3, 2021

I was using the exact max values, I also tried with lower values.
However, I managed to switch to Melodic now, and now I use the cmd_vel topic.

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