Search found 159 matches

by RyanMco
Tue Dec 17, 2019 2:22 pm
Forum: Developer Discussions
Topic: yawing in specific height
Replies: 13
Views: 6769

Re: yawing in specific height

but Im seeing that the data that I get from SLAM is working accordingly to real life I mean x y z is properly working! and lets assume that its a problem in my positioning .. so why at goTo 0 0 0 which he gets data from SLAM is working correctly but once I run goTo 1 0 0 then the problem is happened...
by RyanMco
Tue Dec 17, 2019 2:08 pm
Forum: Developer Discussions
Topic: yawing in specific height
Replies: 13
Views: 6769

Re: yawing in specific height

Yup I debugged it! but the problem that I get likely a deviation when I put any point in goTo other than 0 0 0 any suggestion?! I dont think that problem with positioning if so then why my drone goes to 1 0 0 if I by goTo I told him to go to 1 0 0 yeah he goes there but not hovering there in steadil...
by RyanMco
Tue Dec 17, 2019 1:53 pm
Forum: Developer Discussions
Topic: yawing in specific height
Replies: 13
Views: 6769

yawing in specific height

Hi guys! Im facing a problem like this, Im trying to do square coordination path by my drone by using crazyflie_ros scripts, and takeoff is working, goto is working but something weird is happenning.. I run this code: import rospy import crazyflie import time import uav_trajectory if __name__ == '__...
by RyanMco
Tue Dec 17, 2019 1:40 pm
Forum: Developer Discussions
Topic: Landing
Replies: 5
Views: 3292

Re: Landing

Yup .. Im calling it right like this: cf.takeoff(targetHeight = 0.5, duration = 2.0) time.sleep(3.0) cf.goTo(goal = [0.5, 0.0, 0.0], yaw=0.2, duration = 2.0, relative = True) time.sleep(3.0) cf.land(targetHeight = 0.0, duration = 2.0) but it's not landing in proper way it's like just stopping and fa...
by RyanMco
Mon Dec 16, 2019 11:01 pm
Forum: Developer discussions
Topic: Square coordination
Replies: 1
Views: 11375

Square coordination

Hi guys! I want my drone to do square by using crazyfle_ros script; i told to my crazyflie to do like this: cf.goto[(1,0,0)] cf.goto[(1,1,0)] cf.goto[(0,0,1)] cf.goto[(1,0,0)] This is square coordination and i want my drone to do like this but actually he doesnt do square he acts like crazy with an ...
by RyanMco
Mon Dec 16, 2019 5:06 pm
Forum: Developer Discussions
Topic: Landing
Replies: 5
Views: 3292

Landing

Hi guys! Im using cf.land(target=0.0, duration=2.0) which I use crazyflie_ros library .. Goto works fine .. Takeoff works fine but just landing isn't working at all!! My drone isn't landing just after finishing the path it's fall like idiot however there's land! What do I do to let my cf.land works ...
by RyanMco
Thu Dec 12, 2019 1:42 pm
Forum: Developer discussions
Topic: Parameter's manipulation
Replies: 10
Views: 26026

Re: Parameter's manipulation

but how to know which stack am I using?
I guess the problem with stack that's managing the packets that I get from ROS, expositionhandler ..something like that(the function that gets the packet from ROS),
maybe you know what's that stack called?
by RyanMco
Thu Dec 12, 2019 9:23 am
Forum: Developer discussions
Topic: Parameter's manipulation
Replies: 10
Views: 26026

Re: Parameter's manipulation

So what I understand from you, whenever I use static/global variables there wouldn't be hard-fault as what I get(in my second thread) when I use local variables?
by RyanMco
Thu Dec 12, 2019 8:11 am
Forum: Developer discussions
Topic: Parameter's manipulation
Replies: 10
Views: 26026

Re: Parameter's manipulation

Any do you know please how I define variable as const at just first update? I mean I want to do something like this analogy: function() : (I may enter this function many times .. ) if (it's first time then enter this code and do it just once although may I enter this function many times) //do this c...
by RyanMco
Thu Dec 12, 2019 7:55 am
Forum: Developer discussions
Topic: Parameter's manipulation
Replies: 10
Views: 26026

Re: Parameter's manipulation

appreciated!