ethz-asl / ethzasl_xsens_driver

Driver for xsens IMUs
BSD 2-Clause "Simplified" License
102 stars 111 forks source link

Crash when running in ros kinetic #38

Closed Andersw88 closed 7 years ago

Andersw88 commented 7 years ago

Traceback (most recent call last): File "/opt/ros/kinetic/lib/xsens_driver/mtnode.py", line 717, in main() File "/opt/ros/kinetic/lib/xsens_driver/mtnode.py", line 713, in main driver.spin() File "/opt/ros/kinetic/lib/xsens_driver/mtnode.py", line 122, in spin self.spin_once() File "/opt/ros/kinetic/lib/xsens_driver/mtnode.py", line 684, in spin_once if self.pub_analog_in1_pub is None: AttributeError: 'XSensDriver' object has no attribute 'pub_analog_in1_pub'

pub_analog_in1_pub, typo with pub both in front and back?

Update: Made a pull request with the typo fixed, "analog_in1_pub" seem to be the intended name considering the next line in the code and it seem to work.

fcolas commented 7 years ago

Yes, indeed. Many thanks.