Comments (5)
Hi @cht649765744!
Yes, FASTER considers the z axis. Could you try to change z_max to 20, and then send a goal to z=10?
Let me know if this solves the issue
from faster.
@jtorde Thank you for the reply!
As you suggest, I changed z_max to 20, and then sent a goal to z=10 by using the command "rostopic pub /move_base_simple/goal geometry_msgs/PoseStamped '{header: {stamp: now, frame_id: "map"}, pose: {position: {x: 10.0, y: 0.0, z: 0.0}, orientation: {w: 1.0}}}'
" (Please correct me if this command is wrong.)
But it seems the drone didn't fly up and stayed still, claiming it has already reached the goal. Is this what supposed to happen?
from faster.
Hi @cht649765744!
Thanks for the detailed explanation. Yes, this shouldn't happen. I'll try to look at it today or tomorrow, and will get back to you.
from faster.
Hi @cht649765744!
Could you try the following? (It's working now on my end after some modifications)
Git pull the last commit of this repo, and then do the wstool merge and wstool update commands as explained in the Readme.
Then, change these parameters:
In faster.yaml
:
force_goal_height: false
goal_height: 1
z_max: 20
In global_mapper.yaml
:
world_dimensions: [10.0, 10.0, 22.0]
r1: 4
z_max_unknown: 20
Then, and after launching everthing as specified in the Readme, you can move the drone to z=10
by running:
rostopic pub /move_base_simple/goal geometry_msgs/PoseStamped '{header: {stamp: now, frame_id: "map"}, pose: {position: {x: 0.0, y: 0.0, z: 10.0}, orientation: {w: 1.0}}}'
And later to x=10, y=0, z=10 by running
rostopic pub /move_base_simple/goal geomemsgs/PoseStamped '{header: {stamp: now, frame_id: "map"}, pose: {position: {x: 10.0, y: 0.0, z: 10.0}, orientation: {w: 1.0}}}'
Note that the camera of the drone is pointing forward. That means that the space above the drone (when moving upwards) will always be unknown space. The "hacked" solution is to modify the r1 parameter (as explained above), so that everything around the drone and inside a sphere of radius r1 is considered known. A better solution would be to modify the orientation of the camera, or add several cameras.
Hope this helps!
from faster.
Closing this for now, feel free to reopen if you still have this issue
from faster.
Related Issues (20)
- Help needed finding the parameters/variables HOT 3
- Gazebo+PX4-SITL implementation problem HOT 2
- Goal yaw HOT 3
- faster has died with GRBException HOT 3
- Cannot run the second :roslaunch acl_sim perfect_tracker_and_sim.launch HOT 1
- cmake error
- An error occurred while building HOT 2
- can not open the cvx_JA01.rviz
- ERROR HOT 2
- Faster in 3D HOT 2
- Error
- snapstack_msgs missing
- rvize & gazebo
- how to use faster
- mapping HOT 1
- nlopt HOT 1
- FASTER terminate called after throwing an instance of 'GRBException' HOT 1
- How to run faster when the map is completely known? HOT 1
- Choosing the Optimal 3D Planner for UAV Autonomous Exploration in Cluttered Environments
- Runtime Error HOT 2
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 faster.