Implement CRC for motor configurations.

Bug #799784 reported by Hugo Elias
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sr ROS interface
Fix Committed
Wishlist
Ugo

Bug Description

The motors will not run unless the configurations have a valid CRC. The CRC must be sent by the host.

Both motor and host can use the same CRC algorithm, which is stored in 0220_palm_edc_ethercat_protocol.h and called INSERT_CRC_CALCULATION_HERE.

This protocol overwrites the need to transmit the configurations 5 times, speeding up the configuration process.

Related branches

Ugo (ugocupcic)
Changed in sr-ros-interface:
milestone: none → alpha1
Ugo (ugocupcic)
Changed in sr-ros-interface:
assignee: nobody → Ugo (ugocupcic)
status: New → In Progress
importance: Undecided → Wishlist
Revision history for this message
Ugo (ugocupcic) wrote :

If computed_crc = 0 -> computed_crc = 1

We never send a CRC of 0, send 1 if the computed CRC is 0 (0 is a code for ignoring the config).

Changed in sr-ros-interface:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.