I am trying to install roscopter in fuerte. I succesfully rosmake without any errors. And when I "rosrun roscopter roscopter.py --device=/dev/ttyUSB0 --baudrate=57600" I get the following error.
Traceback (most recent call last):
File "/root/fuerte_workspace/sandbox/roscopter/nodes/roscopter.py", line 45, in
import mavutil
File "/root/fuerte_workspace/sandbox/roscopter/nodes/../mavlink/pymavlink/mavutil.py", line 22, in
from .mavextra import *
ValueError: Attempted relative import in non-package
Hi,
I am trying to install roscopter in fuerte. I succesfully rosmake without any errors. And when I "rosrun roscopter roscopter.py --device=/dev/ttyUSB0 --baudrate=57600" I get the following error.
Traceback (most recent call last): File "/root/fuerte_workspace/sandbox/roscopter/nodes/roscopter.py", line 45, in
import mavutil
File "/root/fuerte_workspace/sandbox/roscopter/nodes/../mavlink/pymavlink/mavutil.py", line 22, in
from .mavextra import *
ValueError: Attempted relative import in non-package
What should I do to make it run?
Thanks in advance