While roscore & mavros are running with an active connection to an pixhawk I've called mav ftp fuse via rosrun. Posting errors and my fixes below.
My setup is: Ubuntu Focal, Python 3.9, ROS Noetic running on a conda enviroment;
mavros & mavros_extras installed via robostack conda channel's ros-noetic-mavros & ros-noetic-mavros-extras conda packages.
MAVROS version and platform
Mavros: 1.13.0
ROS: Noetic
Ubuntu: 20.04
Autopilot type and version
[ x ] ArduPilot
[ ] PX4
Version: ?
Node logs
1
/ros/lib/mavros_extras/mavftpfuse", line 41
except OSError, e:
SyntaxError: invalid syntax
-> changed 41 line to: except OSError as e:
2
/ros/lib/mavros_extras/mavftpfuse", line 80
dir_mode, file_mode = S_IFDIR | 0555, S_IFREG | 0444
^
SyntaxError: leading zeros in decimal integer literals are not permitted; use an 0o prefix for octal integers
-> changed leading '0's to '0o' in lines 80, 82, 109
3
ros/lib/mavros_extras/mavftpfuse", line 23, in
from fuse import FUSE, FuseOSError, Operations, \
ImportError: cannot import name 'ENOENT' from 'fuse' (/ros/lib/python3.9/site-packages/fuse.py)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/ros/lib/mavros_extras/mavftpfuse", line 26, in
print("Fuse wrapper module not found. Please install fusepy: pip install fusepy", file=os.stderr)
-> changed line 26, "file=os.stderr" argument into: "file=sys.stderr"
4
ros/lib/mavros_extras/mavftpfuse", line 27, in
os.exit(1)
AttributeError: module 'os' has no attribute 'exit'
-> changed line 27 "os.exit(1)" into: "sys.exit(1)"
rosrun mavros_extras mavftpfuse
raises errors listed belowIssue details
While roscore & mavros are running with an active connection to an pixhawk I've called mav ftp fuse via rosrun. Posting errors and my fixes below. My setup is: Ubuntu Focal, Python 3.9, ROS Noetic running on a conda enviroment; mavros & mavros_extras installed via robostack conda channel's
ros-noetic-mavros
&ros-noetic-mavros-extras
conda packages.MAVROS version and platform
Mavros: 1.13.0 ROS: Noetic Ubuntu: 20.04
Autopilot type and version
[ x ] ArduPilot [ ] PX4
Version: ?
Node logs
Diagnostics
Check ID