Comments (13)
I would also like to know why sometimes pressing Enter
to publish polygon does nothing alot of the time. I get no warning in teminal, just nothing happens when I try to publish polygon. I already set polygon from rviz to True, in the yaml file.
from polygon_coverage_planning.
Hey, the FOV alpha
is in radians.
The distance between two sweeps calculates as
The height z
is given by the polygon input.
If you want to give the distance between sweeps directly, you can select the line
sensor model and set the distance lateral_footprint
directly.
https://github.com/ethz-asl/polygon_coverage_planning/blob/master/polygon_coverage_ros/cfg/coverage_planner.yaml#L10
https://github.com/ethz-asl/polygon_coverage_planning/blob/master/polygon_coverage_ros/cfg/coverage_planner.yaml#L12
from polygon_coverage_planning.
I would also like to know why sometimes pressing Enter to publish polygon does nothing alot of the time. I get no warning in teminal, just nothing happens when I try to publish polygon. I already set polygon from rviz to True, in the yaml file.
But the path appears after a while? If the polygon is very complicated it takes some time to pre-compute the decomposition and possible paths. I took this issue to a new conversation #83
from polygon_coverage_planning.
@rikba This doesn't fully answer my question, so I'll expound. I will assume the parts of the image I circled are the sensors?.
If this is the case, then I need to know how exactly the sensor FOV affects the path planner. Before that, let me mae sure I know what the "sweep" is in this context. Is the sweep the red lines(cell decompositions) in the image below or the green lines(The path trajectory)?
If the "sweep" is the green line, how does the sensor FOV affect the green line spacing? I have an image below to illustrate the top view I have in my head.
from polygon_coverage_planning.
think basically, The alpha
on the lateral feild of view, what is the area of projection when it hits the ground(the projection being the red circle in the last image)
I would also like to know how to make the delta zero, as in if I wish to not have the two rays intersect(the rays from the illustration you provided).
from polygon_coverage_planning.
Yes, you are correct. Green is the sweep. The spacing between two sweeps is a function of the distance to the surface and FOV. For example, a large field of view will cause your sweeps to be far apart. A large distance will also cause your sweeps to be far apart.
If you don't want overlap you can set lateral_overlap to zero.
But also note you do not have to use this "FOV" sensor model. You can also directly define the distance between the sweeps by setting
sensor_model_type: 0 # [0: Line, 1: Frustum]
lateral_overlap: 0.0
lateral_footprint: 33.0 # Only for line sensor model.
For 33.0m
distance between the sweeps.
from polygon_coverage_planning.
Also note: This coverage planner is purely 2D. There is no way to have an adaptive sweep distance, e.g., with varying terrain.
from polygon_coverage_planning.
from polygon_coverage_planning.
No, it can be different. The coverage path algorithm will (most likely) end the last sweep close to where your goal point is set.
from polygon_coverage_planning.
@rikba DO all boustrophedon methods require setting goal positions?
from polygon_coverage_planning.
No, you can also compute the path without start and goal.
In this implementation you would have to change the way the solver is called.
At the moment it adds the additional start and goal to the optimization problem. You could probably code it to skip this step.
See
https://github.com/ethz-asl/polygon_coverage_planning/blob/master/polygon_coverage_ros/include/polygon_coverage_ros/coverage_planner.h#L151
https://github.com/ethz-asl/polygon_coverage_planning/blob/master/polygon_coverage_planners/src/planners/polygon_stripmap_planner.cc#L79
https://github.com/ethz-asl/polygon_coverage_planning/blob/master/polygon_coverage_planners/src/graphs/sweep_plan_graph.cc#L517-L521
from polygon_coverage_planning.
from polygon_coverage_planning.
No, you can also compute the path without start and goal.
In this implementation you would have to change the way the solver is called. At the moment it adds the additional start and goal to the optimization problem. You could probably code it to skip this step.
See https://github.com/ethz-asl/polygon_coverage_planning/blob/master/polygon_coverage_ros/include/polygon_coverage_ros/coverage_planner.h#L151 https://github.com/ethz-asl/polygon_coverage_planning/blob/master/polygon_coverage_planners/src/planners/polygon_stripmap_planner.cc#L79 https://github.com/ethz-asl/polygon_coverage_planning/blob/master/polygon_coverage_planners/src/graphs/sweep_plan_graph.cc#L517-L521
Hey, if possible can you please let me know what specific changes should i make for removing this start and end goal dependecy?
from polygon_coverage_planning.
Related Issues (20)
- further inquiry from issue #66
- Inquiry Continuation of #66 and #67 HOT 4
- Setting frame_id to "map" does not work HOT 3
- Question about Clustering HOT 1
- Large terrain takes very very long time to plan coverage path HOT 1
- error: Goal node is not at back of solution HOT 3
- ROS2 release HOT 2
- Question about video presentation. HOT 6
- Path precomputation does not give feedback
- Plan without setting start or goal
- What is wall distance parameter? HOT 1
- Can't echo /waypoint_list HOT 2
- package for ROS melodic faulty HOT 1
- line distance HOT 1
- using with map (map.pgm or occupancy grid map) HOT 2
- Inquiry on how to create accurate waypoints which exist in a map when using polygon_coverage_ros package
- sweep_test
- Error while trying to solve
- coverage planner crashes PC
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 polygon_coverage_planning.