Comments (4)
I am using following singularity container after i clone the required repos to catkin_ws/src
Bootstrap:docker
From:docker://ros:melodic-ros-core-bionic
%labels
AUTHOR Suresh
%post
# essentials
apt-get -y update && apt-get -y install systemd systemd-sysv
apt-get -y install locales wget nano git
locale-gen de_DE.UTF-8 # change this if your are facing locale errors
# cleanup
rm -rf /var/lib/apt/lists/*
apt-get clean
# catkin-python tool
apt-get -y update
apt-get -y install python-catkin-tools \
python-pip \
python-rosdep \
python-rospkg \
python-jinja2 \
;
python -m pip install --upgrade --force-reinstall pip
python -m pip install toml
# clover
mkdir -p /opt/catkin_ws/src
cd /opt/catkin_ws/src
git clone https://github.com/CopterExpress/clover
git clone https://github.com/CopterExpress/ros_led
cd /opt/catkin_ws
rosdep init
rosdep update
rosdep install --from-paths src --ignore-src -y --rosdistro melodic
# px4
cd /opt/catkin_ws/src
git clone --recursive https://github.com/CopterExpress/Firmware -b v1.10.1-clever
ln -s Firmware/Tools/sitl_gazebo ./sitl_gazebo
cd /opt/catkin_ws/src/Firmware/Tools/setup
./ubuntu.sh --no-nuttx
# patch gazebo plugins
cd /opt/catkin_ws/src/Firmware/Tools/sitl_gazebo
wget https://raw.githubusercontent.com/CopterExpress/clover_vm/master/assets/patches/sitl_gazebo.patch
patch -p1 < sitl_gazebo.patch
rm sitl_gazebo.patch
# geographiclib datasets
cd /
wget https://raw.githubusercontent.com/mavlink/mavros/6f5bd5a1a67c19c2e605f33de296b1b1be9d02fc/mavros/scripts/install_geographiclib_datasets.sh
chmod +x ./install_geographiclib_datasets.sh
./install_geographiclib_datasets.sh
rm ./install_geographiclib_datasets.sh
# to fix error https://answers.gazebosim.org//question/22071/symbol-lookup-error-both-instalation-methods/
apt-get -y upgrade libignition-math2
from clover.
issue2: ERROR [mavlink] Failed to start shell (-1)
rosrun terminal :
$ rosrun clover selfcheck.py
[INFO] [1621860703.062938, 195.056000]: Performing selfcheck...
[INFO] [1621860703.064405, 195.056000]: Image: no /etc/clover_version file, not the Clover image?
[INFO] [1621860703.065819, 195.056000]: Board: could not open /proc/device-tree/model, not a Raspberry Pi?
[WARN] [1621860703.077773, 195.068000]: clover.service: [Errno 2] No such file or directory: '/tmp/clover.err'
[INFO] [1621860703.080211, 195.072000]: Network: OK
[INFO] [1621860709.118260, 201.104000]: FCU: no version data available from SITL
[WARN] [1621860709.120270, 201.104000]: FCU: not running Clover PX4 firmware, https://clover.coex.tech/firmware
[WARN] [1621860709.123552, 201.108000]: FCU: unable to retrieve PX4 parameter SYS_MC_EST_GROUP
[WARN] [1621860709.125474, 201.108000]: FCU: unknown selected estimator: None
[WARN] [1621860709.130758, 201.116000]: FCU: unable to retrieve PX4 parameter SENS_BOARD_ROT
[WARN] [1621860709.135466, 201.120000]: FCU: unable to retrieve PX4 parameter CBRK_USB_CHK
[WARN] [1621860709.137604, 201.120000]: FCU: set parameter CBRK_USB_CHK to 197848 for flying with USB connected
[WARN] [1621860709.152836, 201.136000]: FCU: cell voltage is not available, https://clover.coex.tech/power
[WARN] [1621860710.167894, 202.152000]: IMU: no IMU data (check flight controller calibration)
[WARN] [1621860711.181512, 203.164000]: Local position: no local position
[WARN] [1621860712.186866, 204.168000]: Velocity estimation: no velocity estimation
[INFO] [1621860713.202096, 205.184000]: Global position (GPS): no global position
[WARN] [1621860719.204677, 211.164000]: Preflight status: no data from FCU
[INFO] [1621860719.255139, 211.212000]: Main camera: camera is oriented downward, cable from camera goes backward
[INFO] [1621860719.274826, 211.232000]: ArUco markers: aruco_detect/length = 0.33 m
[INFO] [1621860719.277616, 211.236000]: ArUco markers: aruco_detector/known_tilt = map (ALL markers are on the floor)
[INFO] [1621860719.342566, 211.300000]: ArUco markers: aruco_map/known_tilt = map (marker's map is on the floor)
[INFO] [1621860719.369244, 211.328000]: ArUco markers: map has 99 markers
[WARN] [1621860720.384963, 212.340000]: ArUco markers: no map detection
[INFO] [1621860720.391343, 212.348000]: Simple offboard node: OK
[WARN] [1621860720.903304, 212.860000]: Optical flow: no optical flow data (from Raspberry)
[WARN] [1621860720.953824, 212.912000]: Vision position estimate: unable to retrieve PX4 parameter SYS_MC_EST_GROUP
[WARN] [1621860722.017035, 213.972000]: Rangefinder: unable to retrieve PX4 parameter SYS_MC_EST_GROUP
[WARN] [1621860722.028663, 213.984000]: RPi health: could not call vcgencmd binary; not a Raspberry Pi?
[WARN] [1621860722.219602, 214.176000]: CPU usage: high CPU usage (118.8%) detected: px4 (PID 819514)
[WARN] [1621860722.222123, 214.176000]: CPU usage: high CPU usage (50.0%) detected: gzserver (PID 819512)
[WARN] [1621860722.223843, 214.180000]: CPU usage: high CPU usage (37.5%) detected: gzclient (PID 819482)
[WARN] [1621860722.225522, 214.180000]: CPU usage: high CPU usage (37.5%) detected: mavros_n+ (PID 819537)
[INFO] [1621860722.241605, 214.196000]: Boot duration: OK
simulator.launch terminal :
[ INFO] [1621860577.810022341, 70.000000000]: ros.clover: publish zero
[ INFO] [1621860587.843748374, 80.000000000]: ros.clover: publish zero
ERROR [mavlink] Failed to start shell (-1)
ERROR [mavlink] Failed to start shell (-1)
[ERROR] [1621860595.485838172, 87.632000000]: ros.mavros.param: PR: Unknown parameter to get: SYS_MC_EST_GROUP
[ INFO] [1621860595.487219027, 87.636000000]: ros.clover: led: notify error
[ERROR] [1621860595.493214369, 87.640000000]: ros.mavros.param: PR: Unknown parameter to get: SENS_BOARD_ROT
[ERROR] [1621860595.497118420, 87.644000000]: ros.mavros.param: PR: Unknown parameter to get: CBRK_USB_CHK
[ WARN] [1621860597.851869908, 90.000000000]: ros.mavros.global_position: GP: No GPS fix
[ INFO] [1621860597.852051850, 90.000000000]: ros.clover: publish zero
ERROR [mavlink] Failed to start shell (-1)
ERROR [mavlink] Failed to start shell (-1)
[ERROR] [1621860607.475063267, 99.612000000]: ros.mavros.param: PR: Unknown parameter to get: SYS_MC_EST_GROUP
[ INFO] [1621860607.476181275, 99.612000000]: ros.clover: led: notify error
[ INFO] [1621860607.861460042, 100.000000000]: ros.clover: publish zero
[ERROR] [1621860608.650902086, 100.788000000]: ros.mavros.param: PR: Unknown parameter to get: SYS_MC_EST_GROUP
[ INFO] [1621860617.868487043, 110.000000000]: ros.clover: publish zero
from clover.
issue1 is fixed: there was some missing package after i fixed its working now. (i updated above def file with the fix)
issue2: i read there is no support for SITL link if you have any hack please share with me otherwise you can close this issue since i am able to run flight.py
from clover.
Hi, sorry for the delay, you possible can get much more responsive answers in the Telegram support chat: https://t.me/COEXHelpdesk.
from clover.
Related Issues (20)
- ros.clover: Can't transform from aruco_XX to map HOT 7
- 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
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.