Search found 158 matches

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

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: 4218

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: 1976

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: 2244

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: 1976

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: 4029

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: 4029

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: 4029

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: 4029

Re: Parameter's manipulation

appreciated!
by RyanMco
Thu Dec 12, 2019 7:44 am
Forum: Developer discussions
Topic: Parameter's manipulation
Replies: 10
Views: 4029

Re: Parameter's manipulation

So if I change the switch into file ranger2.c to switch =1
so the other file will consider the value switch as 1 .. yeah?