Skip to content

Commit

Permalink
update mercury ros
Browse files Browse the repository at this point in the history
  • Loading branch information
wangWking committed Dec 13, 2023
1 parent 57b32ed commit 03abc59
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Mercury/mercury_a1/scripts/slider_control.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,7 @@


def callback(data):
# rospy.loginfo(rospy.get_caller_id() + "%s", data.position)
# print(data.position)
rounded_data_tuple = tuple(round(value, 2) for value in data.position)
rospy.loginfo(rospy.get_caller_id() + "%s", rounded_data_tuple)

data_list = []
for index, value in enumerate(data.position):
radians_to_angles = round(math.degrees(value), 2)
Expand Down

0 comments on commit 03abc59

Please sign in to comment.