BCLab-UNM / SC2

Swarmathon Team Code for the NASA Space Challenge 2 Competition
MIT License
2 stars 0 forks source link

drive_controller don't work for small_hauler_1 & small_excavator_1 #189

Closed Carter90 closed 3 years ago

Carter90 commented 3 years ago

The drive_controller.py has the rover hardcoded instead of looking at the namespace so it will not work with the other rover types self.rover_name = 'small_scout_1' Might try something like

self.rover_name = rospy.get_namespace()
self.rover_name = self.rover_name.strip('/')