jesseweisberg / moveo_ros

ROS packages and Arduino scripts that can be used to control the BCN3D Moveo robotic arm in simulation and real-life.
MIT License
307 stars 130 forks source link

Stepper power not supplied #11

Closed ghost closed 5 years ago

ghost commented 6 years ago

Pins are set correctly, but like they are not enabled. It's mega with RAMPS1.4 Motors are controllable over marlin, but not trough moveo_ros

I tried supplying power to Enable pin to the driver separately, seems that is not the issue. Are endstops necessary?

Do you have any ideas I might have overseen?

Best, B

Jeroenh89 commented 6 years ago

What kind of drivers are you using?

It could be that you need to add a line to the arduino code to make a pin (like sleep / reset) of your driver actively high or low, instead of floating.

Endstops are not necessary.

for the A4988 driver:

"please note that the RST pin is floating; if you are not using the pin, you can connect it to the adjacent SLP pin on the PCB to bring it high and enable the board. "

https://www.pololu.com/product/1182

ghost commented 6 years ago

Just installed DRV4429 instead of LV8729 which I have been happily using quite some time. I have some DRV8825, do you think they may help? Funny enough DM452T's on NEMA23's are powered, but they are getting all the wires from RAMPS X driver slots.

What kind of line code do you suggest, I'll google it from there

Thanks

ghost commented 6 years ago

Doing such a connection on ramps is kinda difficult. Isn't there other solution like in some 3d printer firmwares where drivers are enabled by software?

ghost commented 6 years ago

may it be related to the fact that there is no /joint_steps_feedback topic created joint_steps and gripper angle are there on the other hand

Jeroenh89 commented 6 years ago

Do the DMT452T drivers work? as in, are they moving when using ROS moveo? if so, then the problem is with the drivers..

Otherwise, the connection between ROS - Arduino is faulty or something else is wrong with ROS.

You are running both _rosrun rosserial_python serialnode.py /dev/ttyUSB0 and _rosrun moveo_moveit moveitconvert ?

for debugging your arduino - ROS connection, i can recommend this tutorial: http://wiki.ros.org/rosserial_arduino/Tutorials/Arduino%20IDE%20Setup It will teach the basics of the communication between ROS and Arduino :)

ghost commented 6 years ago

I thought that it was the drivers, so I just put 4 brand new drv4288. Didn't help.

Tomorrow I'll try new 8825s

I do control the base joint nema 23s and the servo trough the rviz, rosserial lounched folowed by convert and published gripper angle, all seems well except there is no feedback topic.

Than you a lot

nez commented 6 years ago

for the feedback topic, it looks like you have to uncomment the following line in the arduino code https://github.com/jesseweisberg/moveo_ros/blob/master/moveo_moveit/moveo_moveit_arduino/moveo_moveit_arduino.ino#L76 also the following lines

jesseweisberg commented 5 years ago

Closing due to inactivity.