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

Service stop_motor is not working with 2.0.0 #83

Open
MichaelT64 opened this issue Apr 13, 2022 · 2 comments · May be fixed by #140
Open

Service stop_motor is not working with 2.0.0 #83

MichaelT64 opened this issue Apr 13, 2022 · 2 comments · May be fixed by #140

Comments

@MichaelT64
Copy link

Hi,
The service "stop_motor" is not working with release 2.0.0 for Noetic and at least A1. There is a message in the debug-log after calling the service and also the expected empty response but the motor is spinning further.
Going back to version 1.7.0 it works again.

Michael

@Lukewal99
Copy link

Lukewal99 commented Jul 9, 2023

Just to agree, /stop_motor isn't working in 2.0.0 :)

pi@pi-ros-luke:~/edukit_bot_ws/src/rplidar_ros/src$ rosservice call /stop_motor
[DEBUG] [1688888391.894393248]: Stop motor

pi@pi-ros-luke:~/edukit_bot_ws/src/rplidar_ros/src$

Unfortunately v1.7.0 doesn't compile for me

make[2]: *** No rule to make target '/home/pi/edukit_bot_ws/src/rplidar_ros/sdk/src/sl_crc.cpp', needed by 'rplidar_ros/CMakeFiles/rplidarNode.dir/sdk/src/sl_crc.cpp.o'.  Stop.

Thanks very much

@MaximBolduc
Copy link

MaximBolduc commented Oct 12, 2023

Hi,

We had the same problem with the latest ROS1 version.

We fixed it by adding the drv->stop() that they added in the ROS2 version.

See PR #140

Have a nice day

image

@MaximBolduc MaximBolduc linked a pull request Oct 12, 2023 that will close this issue
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

Successfully merging a pull request may close this issue.

3 participants