Comments (7)
and another question。What should I do to access the camera by website just like using a clover firmware?
from clover.
Hi.
clover.service
is now located at ~/catkin_ws/src/clover/builder/assets/clover.service
Note, that it's basically intended for using with Raspbian, so the default username is pi
. Change the username to yours if you want to use it.
The easiest way to start clover services (include mentioned web_video_server
) is:
roslaunch clover clover.launch
from clover.
Looks like you have problems with ROS installation, because import tf2_ros
doesn't work.
Maybe you used root
for some rosdep manipulations so it made rosdep
directory unaccessible to normal user. If so, restore owner of /home/drone/.ros/rosdep/
to your current user using chown
.
from clover.
Thanks a lot。 I have fixed the problems
I found some scripts in the folder named "build" ,such as "image_init.sh","image_ros.sh" 。 I change the to install all the softwares in my rasp with ubuntu mate 18.04。 Now it looks like working fine。 The question above is caused by run the rosdep update by "sudo"。
Now , without connect to my drone and connect with rangefinder and any other sensors。 I run the selfcheck.py。it looks like
this。 Except the error messages caused by missing connecting with FUC,sensors。 Is there any other problems?
drone@clover-1286:~$ rosrun clover selfcheck.py
[INFO] [1596720185.811929]: Performing selfcheck...
[INFO] [1596720185.822232]: Image: no /etc/clover_version file, not the Clover image?
[INFO] [1596720185.828335]: Board: Raspberry Pi 3 Model B Plus Rev 1.3
[WARN] [1596720185.969915]: clover.service: Can't open /dev/mem: Permission denied
[WARN] [1596720185.980944]: clover.service: FATAL: ros.ws281x: [ws281x] native library init failed: mmap() failed
[WARN] [1596720185.991249]: clover.service: FATAL: ros.mavros: FCU: DeviceError:serial:open: No such file or directory (1274)
[WARN] [1596720185.997635]: clover.service: [led-16] process has died [pid 12530, exit code 1, cmd /home/drone/catkin_ws/devel/lib/ws281x/ws281x_node __name:=led __log:=/home/drone/.ros/log/f5fb20de-d7e1-11ea-9ed7-b827eb94cd61/led-16.log].
[WARN] [1596720186.004026]: clover.service: log file: /home/drone/.ros/log/f5fb20de-d7e1-11ea-9ed7-b827eb94cd61/led-16*.log
[WARN] [1596720186.010622]: clover.service: FATAL: ros.vl53l1x: VL53L1X: Can't start measurement: error -13
[WARN] [1596720186.016932]: clover.service: ERROR: ros.cv_camera./main_camera: failed to open device... do nothing: device_path /dev/video0 cannot be opened
[INFO] [1596720186.023118]: Network: OK
[WARN] [1596720189.058353]: FCU: no MAVROS state (check wiring)
[WARN] [1596720190.091735]: IMU: no IMU data (check flight controller calibration)
[WARN] [1596720191.121400]: Local position: no local position
[WARN] [1596720192.158438]: Velocity estimation: no velocity estimation
[INFO] [1596720193.199066]: Global position (GPS): no global position
[WARN] [1596720199.209358]: Preflight status: no data from FCU
[WARN] [1596720200.241538]: Main camera: main_camera: no images (is the camera connected properly?)
[INFO] [1596720200.295705]: ArUco markers: aruco_detect is not running
[INFO] [1596720200.321544]: Simple offboard node: OK
[WARN] [1596720200.849217]: Optical flow: no optical flow data (from Raspberry)
[WARN] [1596720202.932519]: Vision position estimate: no VPE or MoCap messages
[WARN] [1596720207.062529]: Rangefinder: no rangefinder data from Raspberry
[WARN] [1596720211.111230]: Rangefinder: no rangefinder data from PX4
[WARN] [1596720211.139386]: RPi health: your system is susceptible to throttling
[WARN] [1596720211.145864]: RPi health: power supply cannot provide enough power
[INFO] [1596720211.409880]: CPU usage: OK
[WARN] [1596720211.459439]: Boot duration: long Raspbian boot duration: 50.354s (systemd-analyze for analyzing)
from clover.
Well, without connection to all the sensors this tool can't say much.
from clover.
@sfalexrog, I don't understand why /dev/mem
is needed for clover.service
checks BTW.
from clover.
@sfalexrog, I don't understand why
/dev/mem
is needed forclover.service
checks BTW.
That's an error from ws281x
native library (which is just a part of the log), not from the clover.service
checks themselves.
from clover.
Related Issues (20)
- RLException: Unable to launch [sitl_0-3]. HOT 28
- catkin make fail due to missing files error HOT 11
- Cannot receive status message HOT 1
- Mavros cannot connect to Pixhawk 6C HOT 2
- catkin_make [Errno 13] Permission denied: '/home/user/catkin_ws/build' HOT 9
- Error: No connection to FCU HOT 4
- RLException HOT 2
- Error: name 'set_yaw' is not defined HOT 4
- Error with Hardware Implementation HOT 7
- Jetson nano clover drone HOT 4
- Gazebo simulation px4 1.14 or later version operation error HOT 8
- only aruco take off error HOT 17
- No output obtained from sensor on gazebo. Error: Unable to parse message of type[sensor_msg.msgs.Airspeed] HOT 1
- Can any one help me please i have problem with connecting remote control ? HOT 1
- AttributeError: module 'cv2.aruco' has no attribute 'DetectorParameters_create' HOT 5
- ERROR [px4] Startup script returned with return value: 256 HOT 11
- Questions regarding ROS2 / ROS1 future plans for adoption HOT 2
- disabling VL53L1X Rangefinder overall HOT 4
- Advice for calling `/gazebo/reset_world` service without ruining calibration HOT 4
- odometry data corrupted
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clover.