Giter VIP home page Giter VIP logo

Comments (8)

rikba avatar rikba commented on July 30, 2024 1

Q1. Can the installation be made within another workspace without adaptations

Yes, you can build the package in a different workspace. I have a separate workspace for example containing only polygon_coverage_planning, cgal_catkin and catkin_simple.

Q2. Where and how i should download the dependencies for dependencies.rosinstall

You can either use ws_tool or you clone them manually.

cd ~
mkdir coverage_ws
cd coverage_ws
catkin init
catkin config --cmake-args -DCMAKE_BUILD_TYPE=Release
catkin config --extend /opt/ros/melodic
mkdir src
cd src
git clone https://github.com/catkin/catkin_simple.git
git clone https://github.com/ethz-asl/cgal_catkin.git
git clone https://github.com/ethz-asl/polygon_coverage_planning.git
cd cgal_catkin
git checkout releases/CGAL-5.0.3
cd ../polygon_coverage_planning
git checkout v2.0.4

Make sure to install the non-catkin dependencies. Then you should be able to do catkin build.

Good luck with your project!

from polygon_coverage_planning.

FrGe2016 avatar FrGe2016 commented on July 30, 2024

from polygon_coverage_planning.

rikba avatar rikba commented on July 30, 2024

Hi Francois

I think that is because you are using the SSH link, i.e.,

wstool set --git polygon_coverage_planning [email protected]:ethz-asl/polygon_coverage_planning.git

but you do not have a git ssh key setup. You can either setup the SSH key or use the https link instead:

wstool set --git polygon_coverage_planning https://github.com/ethz-asl/polygon_coverage_planning.git

Remember, if you use the https key you also need to use the dependencies_https.rosinstall.

wstool merge polygon_coverage_planning/install/dependencies_https.rosinstall

from polygon_coverage_planning.

FrGe2016 avatar FrGe2016 commented on July 30, 2024

from polygon_coverage_planning.

rikba avatar rikba commented on July 30, 2024

Sorry, I cannot quite read your question due to the formatting. But from skimming I suppose you are referring to the RVIZ clicked point tool select a start and stop point of the coverage planner. The clicked point only reacts to objects in the scene, e.g., the lines and corners of the grid background or the RVIZ satellite background tile. As a quick work around you may decrease the cell size and increase the cell count of the grid

Screenshot_2021-12-01_13-02-10

Alternatively, you can also set the start and goal point from a ROS service

rosservice call /coverage_planner/plan_path "start_pose:
  header:
    seq: 0
    stamp:
      secs: 0
      nsecs: 0
    frame_id: ''
  pose:
    position:
      x: 0.0
      y: 0.0
      z: 0.0
    orientation:
      x: 0.0
      y: 0.0
      z: 0.0
      w: 0.0
goal_pose:
  header:
    seq: 0
    stamp:
      secs: 0
      nsecs: 0
    frame_id: ''
      w: 0.0" n:

If the problem persists or I misinterpreted your issue please open a new issue with the formatted description of the problem.

from polygon_coverage_planning.

FrGe2016 avatar FrGe2016 commented on July 30, 2024

from polygon_coverage_planning.

rikba avatar rikba commented on July 30, 2024

Question 1
Is there an existing* setting of parameters to force the
direction of the sweeping*. ( in the exemple below it could be interesting
only horizontal paths )

This is not implemented at the moment. But I think it's a useful feature. Opened a new issue #63

     Question 2

     I would like to verify my understanding. For a lawn mower with a

0.5 m diameter blade. I would use this setting
sensor_model_type: 0 # [0: Line, 1: Frustum]
lateral_overlap: 0.1
lateral_footprint: 0.5 # Only for line sensor model.

If you have 0.5m diameter blade your setting like this should be correct. No need to calculate z in this case.

from polygon_coverage_planning.

FrGe2016 avatar FrGe2016 commented on July 30, 2024

from polygon_coverage_planning.

Related Issues (20)

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.