transformation from bcm to ROS