mzahana / px4_fast_planner

Integration of Fast-Planner with PX4 autopilot for multi-rotor fast navigation with obstacle avoidance
MIT License
223 stars 47 forks source link

Outdated setup bash #14

Open EdwinvanEmmerik opened 3 years ago

EdwinvanEmmerik commented 3 years ago

Hi!

I have been trying to change the setup.sh for the "Firmware" name to "PX4-Autopilot" to install this on SITL with existing installation of packages for PX4-Autopilot 11 but I am having issues regarding the iris-depth-camera, Error: The current devel space layout, linked,is incompatible with the configured layout, merged.

After following the commands in the adjusted setup.sh I get the following errors, it's not much but I hope it helps and that you can also release this interesting package for the latest (adjusted) PX4-Autopilot: Done checking log file disk usage. Usage is <1GB.

WARN: unrecognized 'param' tag in tag WARN: unrecognized 'param' tag in tag WARN: unrecognized 'param' tag in tag WARN: unrecognized 'param' tag in tag WARN: unrecognized 'param' tag in tag WARN: unrecognized 'param' tag in tag started roslaunch server http://work:44207/

SUMMARY

CLEAR PARAMETERS

PARAMETERS

NODES / camera_pose_publisher (px4_fast_planner/camera_pose_publisher.py) fast_planner_node (plan_manage/fast_planner_node) gazebo (gazebo_ros/gzserver) gazebo_gui (gazebo_ros/gzclient) geometric_controller (geometric_controller/geometric_controller_node) mavros (mavros/mavros_node) rqt_reconfigure (rqt_reconfigure/rqt_reconfigure) rvizvisualisation (rviz/rviz) sitl (px4/px4) tf_camera (tf/static_transform_publisher) traj_msg_converter (px4_fast_planner/trajectory_msg_converter.py) traj_server (plan_manage/traj_server) vehicle_spawn_work_25701_1716181356676440586 (gazebo_ros/spawn_model) waypoint_generator (waypoint_generator/waypoint_generator) world_map_linker (tf/static_transform_publisher)

ROS_MASTER_URI=http://localhost:11311

process[world_map_linker-1]: started with pid [25717] process[tf_camera-2]: started with pid [25718] [ WARN] [1613116005.779012707]: Shutdown request received. [ WARN] [1613116005.780536021]: Reason given for shutdown: [[/world_map_linker] Reason: new node registered with same name] [ WARN] [1613116005.784071635]: Shutdown request received. [ WARN] [1613116005.786201487]: Reason given for shutdown: [[/world_map_linker] Reason: new node registered with same name] [world_map_linker-1] process has finished cleanly log file: /home/edwin/.ros/log/01d931e0-6c82-11eb-bf70-34cff6d919c6/world_map_linker-1*.log process[sitl-3]: started with pid [25729] INFO [px4] Creating symlink /home/edwin/PX4-Autopilot/build/px4_sitl_default/etc -> /home/edwin/.ros/etc


| \ \ \ / / / | | |/ / \ V / / /| | | / / \ / /_| | | | / /^\ \ __ | _| \/ \/ |/

px4 starting.

INFO [px4] Calling startup script: /bin/sh etc/init.d-posix/rcS 0 Error: Unknown model iris_depth_camera (not found by name on /home/edwin/.ros/etc/init.d-posix/airframes) process[gazebo-4]: started with pid [25744] ERROR [px4] Startup script returned with return value: 256 process[gazebo_gui-5]: started with pid [25752] process[vehicle_spawn_work_25701_1716181356676440586-6]: started with pid [25757] ================================================================================REQUIRED process [sitl-3] has died! process has died [pid 25729, exit code 255, cmd /home/edwin/PX4-Autopilot/build/px4_sitl_default/bin/px4 /home/edwin/PX4-Autopilot/build/px4_sitl_default/etc -s etc/init.d-posix/rcS name:=sitl log:=/home/edwin/.ros/log/01d931e0-6c82-11eb-bf70-34cff6d919c6/sitl-3.log]. log file: /home/edwin/.ros/log/01d931e0-6c82-11eb-bf70-34cff6d919c6/sitl-3*.log Initiating shutdown!

RLException: cannot add process [mavros-7] after process monitor has been shut down The traceback for the exception was written to the log file [vehicle_spawn_work_25701_1716181356676440586-6] killing on exit [gazebo-4] killing on exit [gazebo_gui-5] killing on exit Traceback (most recent call last): File "/opt/ros/melodic/lib/gazebo_ros/spawn_model", line 20, in import rospy File "/opt/ros/melodic/lib/python2.7/dist-packages/rospy/init.py", line 47, in from std_msgs.msg import Header File "/opt/ros/melodic/lib/python2.7/dist-packages/std_msgs/msg/init.py", line 1, in from ._Bool import File "/opt/ros/melodic/lib/python2.7/dist-packages/std_msgs/msg/_Bool.py", line 6, in import genpy File "/opt/ros/melodic/lib/python2.7/dist-packages/genpy/init.py", line 34, in from . message import Message, SerializationError, DeserializationError, MessageException, struct_I File "/opt/ros/melodic/lib/python2.7/dist-packages/genpy/message.py", line 48, in import yaml File "/usr/local/lib/python2.7/dist-packages/yaml/init.py", line 8, in from loader import File "/usr/local/lib/python2.7/dist-packages/yaml/loader.py", line 4, in from reader import * File "/usr/local/lib/python2.7/dist-packages/yaml/reader.py", line 47, in class Reader(object): File "/usr/local/lib/python2.7/dist-packages/yaml/reader.py", line 140, in Reader NON_PRINTABLE = re.compile(u'[^\x09\x0A\x0D\x20-\x7E\x85\xA0-\uD7FF\uE000-\uFFFD\U00010000-\U0010ffff]') File "/usr/lib/python2.7/re.py", line 194, in compile return _compile(pattern, flags) File "/usr/lib/python2.7/re.py", line 249, in _compile p = sre_compile.compile(pattern, flags) File "/usr/lib/python2.7/sre_compile.py", line 576, in compile code = _code(p, flags) File "/usr/lib/python2.7/sre_compile.py", line 561, in _code _compile(code, p.data, flags) File "/usr/lib/python2.7/sre_compile.py", line 107, in _compile _compile_charset(av, flags, code, fixup, fixes) File "/usr/lib/python2.7/sre_compile.py", line 232, in _compile_charset flags & SRE_FLAG_UNICODE): KeyboardInterrupt