You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mavwp dump is broken in mavros 1.13.0 . Does it maybe still expect python2?
MAVROS version and platform
Mavros: 1.13.0
ROS: Noetic
Ubuntu: raspberry pi os
Autopilot type and version
[x ] ArduPilot ... SITL simulator
[ ] PX4
Version: master
Node logs
searchwing@test:~ $ rosrun mavros mavwp dump wp.txt
[ERROR] [1662742151.544002]: bad callback: <function do_dump.<locals>._write_file at 0xb4650340>
Traceback (most recent call last):
File "/install/lib/python3/dist-packages/rospy/topics.py", line 750, in _invoke_callback
cb(msg)
File "/install/lib/mavros/mavwp", line 147, in _write_file
wps_file.write(args.file, topic.waypoints)
File "/install/lib/python3/dist-packages/mavros/mission.py", line 105, in write
writer.writerow((self.file_header ,))
TypeError: a bytes-like object is required, not 'str'
Issue details
mavwp dump is broken in mavros 1.13.0 . Does it maybe still expect python2?
MAVROS version and platform
Mavros: 1.13.0
ROS: Noetic
Ubuntu: raspberry pi os
Autopilot type and version
[x ] ArduPilot ... SITL simulator
[ ] PX4
Version: master
Node logs
Diagnostics
Check ID
The text was updated successfully, but these errors were encountered: