Giter Club home page Giter Club logo

gisnav's People

Contributors

hmakelin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

gisnav's Issues

Unsuccessful Installation - Error response from daemon: No such image: gisnav-postgres:latest

What's the issue
Error response from daemon: No such image: gisnav-postgres:latestainers
WSL, Ubuntu 22.04.3 LTS.

when executing:

$ make -C docker demo

after ~1 hour of running Make fails, and states missing docker Image.

Error Code:
โ ‹ Container gisnav-gscam-1 Creating 0.0s
Error response from daemon: No such image: gisnav-postgres:latest
make: *** [Makefile:172: create-offboard-sitl-dev-px4] Error 1
make: Leaving directory '/home/aranof/Documents/gisnav/docker'
/

Note:
When I attempted to Run command Again, missing Image changed to:
"Error response from daemon: No such image: gisnav-postgres:latestainers"
(Unlike gisnav-postgres:latest)

Failed to Install GISNav, Multiple packages found

~/ws_sensor_combined/src$ rosdep install --from-paths . -y --ignore-src

ERROR: Rosdep experienced an error: Multiple packages found with the same name "gisnav_msgs":

  • gisnav/gisnav_msgs
  • gisnav_msgs
    Please go to the rosdep page [1] and file a bug report with the stack trace below.
    [1] : http://www.ros.org/wiki/rosdep

rosdep version: 0.22.2

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/rosdep2/main.py", line 146, in rosdep_main
exit_code = _rosdep_main(args)
File "/usr/lib/python3/dist-packages/rosdep2/main.py", line 446, in _rosdep_main
return _package_args_handler(command, parser, options, args)
File "/usr/lib/python3/dist-packages/rosdep2/main.py", line 501, in _package_args_handler
pkgs = find_catkin_packages_in(path, options.verbose)
File "/usr/lib/python3/dist-packages/rosdep2/catkin_packages.py", line 35, in find_catkin_packages_in
packages = find_packages(path)
File "/usr/lib/python3/dist-packages/catkin_pkg/packages.py", line 103, in find_packages
raise RuntimeError('\n'.join(duplicates))
RuntimeError: Multiple packages found with the same name "gisnav_msgs":

  • gisnav/gisnav_msgs
  • gisnav_msgs

make error

What's the issue
fatal error: px4_msgs/msg/detail/vehicle_command__struct.h: No such file or directory

Describe it in detail
sudo make -C docker demo
fails

Logs, screenshots, and other supporting information
make: Entering directory '/home/dky/Documents/gisnav/docker'
[+] Building 19.9s (14/17) docker:default
=> [micro-ros-agent internal] load build definition from Dockerfile 0.2s
=> => transferring dockerfile: 483B 0.0s
=> [micro-ros-agent internal] load .dockerignore 0.3s
=> => transferring context: 2B 0.0s
=> [mavros internal] load build definition from Dockerfile 0.6s
=> => transferring dockerfile: 1.37kB 0.0s
=> [mavros internal] load .dockerignore 0.8s
=> => transferring context: 2B 0.0s
=> [micro-ros-agent internal] load metadata for docker.io/microros/micro-ros-agent:foxy 1.2s
=> [mavros internal] load metadata for docker.io/library/ros:humble 1.0s
=> CACHED [micro-ros-agent 1/2] FROM docker.io/microros/micro-ros-agent:foxy@sha256:21ff98ba8 0.0s
=> ERROR [micro-ros-agent 2/2] RUN cd /uros_ws && mkdir src && cd src && git clo 11.3s
=> [mavros internal] load build context 0.1s
=> => transferring context: 98B 0.0s
=> [mavros 1/8] FROM docker.io/library/ros:humble@sha256:b10a245d08934951639451b72eb384061ca6 0.0s
=> CACHED [mavros 2/8] COPY * / 0.0s
=> CACHED [mavros 3/8] RUN chmod 755 entrypoint.sh edit_mavros.sh 0.0s
=> CACHED [mavros 4/8] RUN apt update --fix-missing && apt -y dist-upgrade && apt -y 0.0s
=> CACHED [mavros 5/8] WORKDIR /opt/colcon_ws 0.0s
=> [mavros 6/8] RUN mkdir src && cd src && git clone --branch gimbal-protocol-v2-plu 17.8s
=> => # Cloning into 'mavros'...

[micro-ros-agent 2/2] RUN cd /uros_ws && mkdir src && cd src && git clone https://github.com/px4/px4_msgs.git && sed -i 's/*.msg/SensorGps.msg/g' px4_msgs/CMakeLists.txt && cd .. && . /opt/ros/foxy/setup.sh && colcon build --packages-select px4_msgs:
0.651 Cloning into 'px4_msgs'...
6.288 Starting >>> px4_msgs
9.777 --- stderr: px4_msgs
9.777 In file included from /uros_ws/build/px4_msgs/rosidl_generator_c/px4_msgs/srv/detail/vehicle_command__functions.h:19,
9.777 from /uros_ws/build/px4_msgs/rosidl_generator_c/px4_msgs/srv/detail/vehicle_command__functions.c:4:
9.777 /uros_ws/build/px4_msgs/rosidl_generator_c/px4_msgs/srv/detail/vehicle_command__struct.h:22:10: fatal error: px4_msgs/msg/detail/vehicle_command__struct.h: No such file or directory
9.777 22 | #include "px4_msgs/msg/detail/vehicle_command__struct.h"
9.777 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
9.777 compilation terminated.
9.777 make[2]: *** [CMakeFiles/px4_msgs__rosidl_generator_c.dir/build.make:123: CMakeFiles/px4_msgs__rosidl_generator_c.dir/rosidl_generator_c/px4_msgs/srv/detail/vehicle_command__functions.c.o] Error 1
9.777 make[2]: *** Waiting for unfinished jobs....
9.777 make[1]: *** [CMakeFiles/Makefile2:334: CMakeFiles/px4_msgs__rosidl_generator_c.dir/all] Error 2
9.777 make[1]: *** Waiting for unfinished jobs....
9.777 In file included from /uros_ws/build/px4_msgs/rosidl_typesupport_cpp/px4_msgs/srv/vehicle_command__type_support.cpp:7:
9.777 /uros_ws/build/px4_msgs/rosidl_generator_cpp/px4_msgs/srv/detail/vehicle_command__struct.hpp:19:10: fatal error: px4_msgs/msg/detail/vehicle_command__struct.hpp: No such file or directory
9.777 19 | #include "px4_msgs/msg/detail/vehicle_command__struct.hpp"
9.777 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
9.777 compilation terminated.
9.777 make[2]: *** [CMakeFiles/px4_msgs__rosidl_typesupport_cpp.dir/build.make:92: CMakeFiles/px4_msgs__rosidl_typesupport_cpp.dir/rosidl_typesupport_cpp/px4_msgs/srv/vehicle_command__type_support.cpp.o] Error 1
9.777 make[2]: *** Waiting for unfinished jobs....
9.777 In file included from /uros_ws/build/px4_msgs/rosidl_typesupport_introspection_cpp/px4_msgs/srv/detail/vehicle_command__type_support.cpp:12:
9.777 /uros_ws/build/px4_msgs/rosidl_generator_cpp/px4_msgs/srv/detail/vehicle_command__struct.hpp:19:10: fatal error: px4_msgs/msg/detail/vehicle_command__struct.hpp: No such file or directory
9.777 19 | #include "px4_msgs/msg/detail/vehicle_command__struct.hpp"
9.777 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
9.777 compilation terminated.
9.777 make[2]: *** [CMakeFiles/px4_msgs__rosidl_typesupport_introspection_cpp.dir/build.make:100: CMakeFiles/px4_msgs__rosidl_typesupport_introspection_cpp.dir/rosidl_typesupport_introspection_cpp/px4_msgs/srv/detail/vehicle_command__type_support.cpp.o] Error 1
9.777 make[2]: *** Waiting for unfinished jobs....
9.777 In file included from /uros_ws/build/px4_msgs/rosidl_typesupport_fastrtps_cpp/px4_msgs/srv/detail/vehicle_command__rosidl_typesupport_fastrtps_cpp.hpp:11,
9.777 from /uros_ws/build/px4_msgs/rosidl_typesupport_fastrtps_cpp/px4_msgs/srv/detail/dds_fastrtps/vehicle_command__type_support.cpp:4:
9.777 /uros_ws/build/px4_msgs/rosidl_generator_cpp/px4_msgs/srv/detail/vehicle_command__struct.hpp:19:10: fatal error: px4_msgs/msg/detail/vehicle_command__struct.hpp: No such file or directory
9.777 19 | #include "px4_msgs/msg/detail/vehicle_command__struct.hpp"
9.777 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
9.777 compilation terminated.
9.777 make[2]: *** [CMakeFiles/px4_msgs__rosidl_typesupport_fastrtps_cpp.dir/build.make:100: CMakeFiles/px4_msgs__rosidl_typesupport_fastrtps_cpp.dir/rosidl_typesupport_fastrtps_cpp/px4_msgs/srv/detail/dds_fastrtps/vehicle_command__type_support.cpp.o] Error 1
9.777 make[2]: *** Waiting for unfinished jobs....
9.777 make[1]: *** [CMakeFiles/Makefile2:472: CMakeFiles/px4_msgs__rosidl_typesupport_cpp.dir/all] Error 2
9.777 make[1]: *** [CMakeFiles/Makefile2:526: CMakeFiles/px4_msgs__rosidl_typesupport_introspection_cpp.dir/all] Error 2
9.777 make[1]: *** [CMakeFiles/Makefile2:391: CMakeFiles/px4_msgs__rosidl_typesupport_fastrtps_cpp.dir/all] Error 2
9.777 make: *** [Makefile:141: all] Error 2
9.777 ---
9.777 Failed <<< px4_msgs [3.49s, exited with code 2]
9.808
9.808 Summary: 0 packages finished [3.63s]
9.808 1 package failed: px4_msgs
9.808 1 package had stderr output: px4_msgs


failed to solve: process "/bin/sh -c cd /uros_ws && mkdir src && cd src && git clone https://github.com/px4/px4_msgs.git && sed -i 's/\*\.msg/SensorGps.msg/g' px4_msgs/CMakeLists.txt && cd .. && . /opt/ros/foxy/setup.sh && colcon build --packages-select px4_msgs" did not complete successfully: exit code: 2
make: *** [Makefile:154: create-offboard-sitl-middleware-px4] Error 17
make: Leaving directory '/home/dky/Documents/gisnav/docker'

Provide mock GPS message with more information than just 3D position

What's the issue
The outgoing mock GPS messages would ideally also need 3D velocity and variance estimates to increase chances of being fused by the autopilot navigation filter.

Describe it in detail
Currently the mock GPS demo using PX4 will trigger failsafes if the simulated GPS is completely switched off (failure gps off). This is possibly a symptom of the PX4 EKF2 refusing to fuse the SensorGps message.

Logs, screenshots, and other supporting information
More context is provided in this comment #92 (comment).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.