Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ar_drone_moveit troubles #7

Open
axelfar opened this issue Jun 6, 2018 · 12 comments
Open

ar_drone_moveit troubles #7

axelfar opened this issue Jun 6, 2018 · 12 comments

Comments

@axelfar
Copy link
Contributor

axelfar commented Jun 6, 2018

Hi all,

I have download and edit octomap_server to made my own octomap generation like this :
screenshot
With three types of voxels(Occupied, free and unknown).
I use Octomap.launch , the same as in ar_drone_moveit folder but in the octomap_server folder.

Now I want to use moveit to planify a path with my drone.
But when I use Demo.launch I have the default octomap generation like this :
screenshot from 2018-05-22 10 37 50

Do you know how change the octomap generation by my version?

In a second time when I try to planify a path, I have this error : "No Planning Library Loaded"
screenshot11

And if I click on 'Plan' it failed immediately.
Someone see the cause of this problem?

EDIT: After some updates and packages installation, my problem with the planning library is solved!
I can plan a path and visualize it in RVIZ.
Thx

@boonflies
Copy link

I am experiencing the same thing. The drone does not move. Could it be because of using tum_ardrone in joystick mode earlier. There seems to be some issue changing to autopilot. I tried to switch to autopilot after initially using joystick mode but drone does not even respond to takeoff command in autopilot mode.

@axelfar
Copy link
Contributor Author

axelfar commented Jun 11, 2018

I have find how execute the path.

  1. Put Tum in autopilot
  2. Controller -> press p and s
  3. In octomap when you have a good map plan and execute the path

I just have a problem with the distance conversion.

And I don't know how to change the octomap generation :(

@axelfar
Copy link
Contributor Author

axelfar commented Jun 14, 2018

@kungfrank
I have a problem with conversion.cpp
I don't have the same result for a same drone position. And my result in RVIZ is small and compressed like this:
octomap_fusion_voxels
And I want this result :
screenshot from 2018-05-22 10 37 50
In the last photo I have fix manually the different parameters. But when I generate a path my program didn't have a good estimation of distances.
In conversion.cpp you do a matrix rotation of 45°? why not 90°?

@TengFeiHan0
Copy link

I got a different problem when running rosrun lsd_slam_viewer viewer
$ rosrun lsd_slam_core live_slam image:=/ardrone/front/image_rect camera_info:=/ardrone/front/camera_info

this is a description of the problem what I have met[https://answers.ros.org/question/296036/couldnt-see-the-image-and-depth-map-when-running-lsd-slam/] @axelfar @boonflies @kungfrank thank you in advance

@axelfar
Copy link
Contributor Author

axelfar commented Jul 3, 2018

Hi,
Have you check if you see image_rect and camera_info when you do rostopic list?
And if all seems good when you spec with rostopic echo ?
I did not have those errors :/

@TengFeiHan0
Copy link

@axelfar @kungfrank I followed these steps you listed as before, all packages were compiled smoothly. However, when typing rosrun lsd_slam_core live_slam image:=/ardrone/front/image_rect camera_info:=/ardrone/front/camera_info segmentation fault(core dumped) was found in the terminal.__
rosgraphhere is my rqt_graph. I promise I typed your instructions step by step. So I don't know how to fix this problem.

@kungfrank
Copy link
Collaborator

@TengFeiHan0 Please have a look at issue#1
#1

@TengFeiHan0
Copy link

@kungfrank thank you for your reply. the question is when typing rosrun lsd_slam_core live_slam image:=/ardrone/front/image_rect camera_info:=/ardrone/front/camera_info, I couldn't see anything except segementation fault

@kungfrank
Copy link
Collaborator

Maybe this one #3 (comment)

@TengFeiHan0
Copy link

@kungfrank
screenshot from 2018-09-08 15 14 16
after a calibration of my drone, I tried to start mapping thread as displayed in the image, it said that the tracking has been lost. I retried several times. Unfortunately, the output is always the same with what I have said before. Do you know the reason?

@TengFeiHan0
Copy link

Just what I have displayed as before, tracking thread is vulnerable to lose. I have tried several times and can't get a set of good key points. whether it relates to my calibration file? @kungfrank @jim1993 @kaiwu013

@kungfrank
Copy link
Collaborator

@TengFeiHan0
Yes, LSD_SLAM lose track problem is cause by calibration file.
As far as I remember, you can find this problem in one of LSD_SLAM repo's issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants