Giter Club home page Giter Club logo

Comments (5)

jtorde avatar jtorde commented on August 13, 2024

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.

cht649765744 avatar cht649765744 commented on August 13, 2024

@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?

image

from faster.

jtorde avatar jtorde commented on August 13, 2024

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.

jtorde avatar jtorde commented on August 13, 2024

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.

jtorde avatar jtorde commented on August 13, 2024

Closing this for now, feel free to reopen if you still have this issue

from faster.

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.