~shadowrobot/sr-ros-interface-ethercat/Bug_change_control_type

« back to all changes in this revision

Viewing changes to shadow_robot/sr_hand_palm_edc/sr_edc_ethercat_drivers/scripts/flash_all_motors.sh

  • Committer: Ugo Cupcic
  • Date: 2011-08-10 16:44:04 UTC
  • Revision ID: ugo@shadowrobot.com-20110810164404-x12mjzork2j94krl
Flashing motors on both can busses.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/bash
 
2
 
 
3
for i in {0..9} ; do
 
4
    echo "Flashing motor: $i"
 
5
    rosservice call SimpleMotorFlasher `rospack find sr_external_dependencies`/compiled_firmware/released_firmware/simplemotor.hex $i;
 
6
done