-
Notifications
You must be signed in to change notification settings - Fork 39
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
2 Motor Velocity #13
Comments
Hi @Milliau, I'm trying the same as you. If you launch rosrun epos_hardware epos_hardware_node motor1 motor2 motor3 is not valid. It says that you must specify an actuator name, serial number and operation mode for each motor. |
@grafoteka yes if i want to start the programm with epos_node i get the same Problem, i just can start it with roslaunch example.launch but then i just have 1 Motor, i tryed to get both motors in one example file and it work to initalize but i can't drive both I think the proböle is that if you just start the epos_hardware node it search with the motor_name for the information and can't find them but I'm not sure |
@Milliau yes, I can also drive any motor modifying the node ID. |
Here is an example controlling multiple motors: https://github.com/RIVeR-Lab/walrus/tree/master/walrus_base_hw/config |
@velinddimitrov |
That controller will probably not be particularly useful to you since Walrus was a robot with "pods" that had tracks on them and moved up and down. I don't know what format your robot has, but you may want to take a look at the Husky or Turtlebot controllers for examples of skid-steer robots. That'll probably match closer to what you are looking at. I sent you the info on Walrus so you could see the configuration files for talking to 2 motors. Once you can move both motors (by publishing to their respective topics for example), you can just follow the ros_control example to implement whatever higher level control modality you wish. |
Hi @velinddimitrov I continue trying to move two motors, but I'm stuck.
Then create two config files: drive_epos.yaml and epos_motor.yaml as you have done.
But when I run the launch file I have the next error:
|
@grafoteka ,oh I have see this issue,I see that this package has some difficulties in controlling multiple motors. Is there any improvement in this situation? Now I'm going to use epos, Maxon motors to make a manipulator.Hope you can give some suggestion.thanks! |
How is it possible to control more than 1 motor, I have initialized both motor in 1 launch and this works, I also can send a float to the velocity_controller/command and the last initalized motor drives. But how can i send a velocity to the other motor. Is it possible to get 2 velocity_controller/command and how i will get them
Thanks for help
The text was updated successfully, but these errors were encountered: