Ask Your Question
0

epos_hardware example not running failed setECmotorparameters

asked 2017-11-25 10:38:34 -0500

alibinjunaid gravatar image

Hey, I have Problems using epos_hardware. I am using Ubuntu 16.04 and ROS Kinetic. I have already set up the motor and able to detect the motor (serial number) using list_devices. However, when i try to run the example.launch it gives me the error and unable to initialize the motors. it would be kind if you can help me out with this. Below please find the terminal output of rosrun epos_hardware list_devices and roslaunch epos_hardware example.launch respectively.

Roslaunch example:

auto-starting new master process[master]: started with pid [13988] ROS_MASTER_URI=http://localhost:11311

setting /run_id to 568ad142-d240-11e7-8333-34f39a7bd49b process[rosout-1]: started with pid [14001] started core service [/rosout] process[epos_hardware-2]: started with pid [14018] process[controller_spawner-3]: started with pid [14019] List_devices:

Listing Devices:

EPOS2

MAXON SERIAL V2

    USB

        USB0

            Baudrates:

                1000000

            Devices:

                Node Id: 1

        Serial Number: 0x602079025628

                    Hardware Version: 0x6220

                    Software Version: 0x2126

                    Application Number: 0x0

                    Application Version: 0x0

MAXON_RS232
    RS232
        Skipping RS232
CANopen

Could not get interface names: Bad Parameter EPOS MAXON_RS232 RS232 Skipping RS232 CANopen Could not get interface names: Bad Parameter

edit retag flag offensive close merge delete

Comments

1

Hi there, I'm curious if you managed to solve your problem. I am considering ROS for use in a Maxon+EPOS environment, so I'm keen to chat with people who had had some experience, found challenges, and any success

Davidi gravatar imageDavidi ( 2018-01-17 03:33:15 -0500 )edit

Plz, if you found a solution for this could you post for us? I have the same problem, everything was working normally but this week I started having this problem (could not find motor, even when list_devices can)

ndalmedico gravatar imagendalmedico ( 2018-02-22 14:29:02 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-03-15 05:37:54 -0500

jdeleon gravatar image

Hi alibinjunaid,

I'm using maxon MCD EPOS, I copy here my .yaml configuration, hope this will be useful for you.

# Time in seconds
# Current in amps
# position, velocity, and acceleration in device units
operation_mode: 'profile_position'
clear_faults: true
halt_velocity: false
torque_constant: 3 #0.0263 Nm
communication_protocol: 'RS232' # or USB

motor:
  type: 10
  ec_motor:
    nominal_current: 2.6000
    max_output_current: 9.000
    thermal_time_constant: 2.7 # Maxon EPOS Getting Started pagina 12
    number_of_pole_pairs: 1

sensor:
  type: 1
  incremental_encoder:
    resolution: 1000
    inverted_polarity: false

safety:
  max_following_error: 20000
  max_profile_velocity: 8000
  #max_acceleration: 12000

#position_profile:
  #velocity: 10000
  #acceleration: 8000
  #deceleration: 3500

velocity_profile:
  acceleration: 8000
  deceleration: 3500

Please, let me know if you can run your motors correctly

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2017-11-25 10:38:34 -0500

Seen: 372 times

Last updated: Mar 15 '18