Search found 45 matches

by Veerachart
Sat May 31, 2014 5:33 am
Forum: Support
Topic: cfclient can't see CF on my PC, but can see on my notebook
Replies: 7
Views: 4871

Re: cfclient can't see CF on my PC, but can see on my notebo

Additional things after some tries today. I reflashed the flie with firmware version 2013.4 and tried connecting cfclient to my flie while plugging in with USB cable, and it can somehow connect, but for a short time and then the connection was lost. However, if the cable is unplugged, the flie canno...
by Veerachart
Fri May 30, 2014 4:17 pm
Forum: Support
Topic: cfclient can't see CF on my PC, but can see on my notebook
Replies: 7
Views: 4871

cfclient can't see CF on my PC, but can see on my notebook

Hi, I just encountered with a problem with connecting cfclient to the crazyflie. First, I just finished soldering new crazyflie (bought for a while, but left it in the box.) After flashing with the newest firmware, I tried connecting to my PC, which I have been using with another crazyflie for a whi...
by Veerachart
Fri May 30, 2014 3:49 pm
Forum: Developer Discussions
Topic: [Video] Alternative Kinect Control (using depth images)
Replies: 114
Views: 69798

Re: [Video] Alternative Kinect Control (using depth images)

What is your goal with the fake joy part anyway? ;) Well, it's just because that I don't have a joy, and my final goal doesn't need manual control. The way of publishing fake joy signals seemed easier than changing the code to work without joy signals (as I'll have to go through lots of codes.) I h...
by Veerachart
Fri May 30, 2014 10:15 am
Forum: Developer Discussions
Topic: [Video] Alternative Kinect Control (using depth images)
Replies: 114
Views: 69798

Re: [Video] Alternative Kinect Control (using depth images)

I think I have done with the fake joy part, but I lost one of my flie when trying to change the motor holder. A new one also still not working as I have posted here. If you have any idea, please :)

I hope to get it back to work ASAP.
by Veerachart
Thu May 29, 2014 3:16 am
Forum: Developer Discussions
Topic: [Video] Alternative Kinect Control (using depth images)
Replies: 114
Views: 69798

Re: [Video] Alternative Kinect Control (using depth images)

I think I've found the cause that made the flie went away at full thrust. (I haven't updated the code to the current version, but that should not be the problem From this line (not sure if it is the same or not, as I got from the joyManager branch), the PID controller is reset each time the automati...
by Veerachart
Thu May 22, 2014 7:00 am
Forum: Developer Discussions
Topic: [Video] Alternative Kinect Control (using depth images)
Replies: 114
Views: 69798

Re: [Video] Alternative Kinect Control (using depth images)

Hi everyone, I followed Patrik's tips for setting up the crazyflie using ROS and kinect. However I wasn't able to execute rosmake. It gives the following error: rosmake crazyflieROS [ rosmake ] rosmake starting... [ rosmake ] Packages requested are: ['crazyflieROS'] [ rosmake ] Logging to directory...
by Veerachart
Thu May 22, 2014 5:36 am
Forum: Developer Discussions
Topic: [Video] Alternative Kinect Control (using depth images)
Replies: 114
Views: 69798

Re: [Video] Alternative Kinect Control (using depth images)

I just tried with writing a simple (maybe silly :lol:) code to send the fake joy signal. It looks something like this: #!/usr/bin/env python import rospy from sensor_msgs.msg import Joy as JoyMSG class FakeJoyNode: def __init__(self): #publisher for fake joy signal self.joy_pub = rospy.Publisher('jo...
by Veerachart
Wed May 21, 2014 10:11 am
Forum: Developer Discussions
Topic: [Video] Alternative Kinect Control (using depth images)
Replies: 114
Views: 69798

Re: [Video] Alternative Kinect Control (using depth images)

Yup! You will need to fake a joy message and send it at 100hz. The joy message definition is here . You can probably check the code to see which axes needs which information. I defined "enums" for Buttons.XYZ and Axes.XYZ https://github.com/omwdunkley/crazyflieROS/blob/joyManager/bin/joy_...
by Veerachart
Wed May 21, 2014 7:31 am
Forum: Developer Discussions
Topic: [Video] Alternative Kinect Control (using depth images)
Replies: 114
Views: 69798

Re: [Video] Alternative Kinect Control (using depth images)

Well, a quick look through Patrik's graph suggests me that the node CrazyFlieJoystickDriver is not publishing any transformations, and after diving a little into the file joy_driver_pid.py, I found that those transformations occur in function getErrorToGoal, which is called here inside the function ...
by Veerachart
Tue May 20, 2014 9:56 am
Forum: Developer Discussions
Topic: [Video] Alternative Kinect Control (using depth images)
Replies: 114
Views: 69798

Re: [Video] Alternative Kinect Control (using depth images)

It looks like cf0 is not being published at all. It appears on your frames.pdf because it is the parent of the statis transform publisher. Are you connect to the flie and logging roll, pitch, yaw at 100hz? Well, in the picture the flie had entered sleep mode and disconnected from the computer, but ...