Open FXUDarkNova opened 5 years ago
I made my robot follow a tag using two anchors. Maybe that helps?
Thank you I shall take a look would you recommend only using two anchors instead of 3?
I guess the math is a bit simpler when using only two anchors, so I would say yes. You can always add the third anchor later. Be aware that using only two anchors you get two solutions for the equation. One in front of the robot, one behind.
Slightly confused looking at your code and the diagram is using two anchors not used to determine left and right? Not front and back?
It is the intersection of two spheres of range so two possible solutions. With 3 the ambiguity is resolved.
On Tue, Sep 3, 2019, 10:08 AM FXUDarkNova notifications@github.com wrote:
Slightly confused looking at your code and the diagram is using two anchors not used to determine left and right? Not front and back?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/thotro/arduino-dw1000/issues/304?email_source=notifications&email_token=AGI5J4GASYALX7CJGY7VF7TQH2KYFA5CNFSM4ISMAKNKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5Y4R5Q#issuecomment-527550710, or mute the thread https://github.com/notifications/unsubscribe-auth/AGI5J4DJQJN5UXM3KIWNSFLQH2KYFANCNFSM4ISMAKNA .
Indeed, I have the two assumptions that the tracking starts in front of the robot and that the robots does everything successfully for the tracked object to stay in front.
Ok makes sense just one question when you do t = dist_right2 - a_r2 is that working out turn?
Sorry, I did not understood your question (not a native speaker here)
It’s ok iv worked that bit out i am confused as x cords seems to be working as Y cords very confusing
Yeah, for some reason I decided to use two different coordinate systems. This is why it is turned later with
x, y = (y, -x)
ROS has "x" as forward and "y" as left axis while I use the "y" as forward and "x" as right axis.
I have that bit in my I’m doing it in c language and all I get is x y having same values just y is negative
I recommend to visualize the values, it helps a lot. I have that "VISUALIZE" in my script for that.
Ok thank you I will give it ago
Hello, I have been working dwm1000 module. I would like to know about tag 1 and anchor3. I just want to get collection of positions and distance between tag and anchors. I have make condition with distance along with heading to get navigation of motor. For kind information I want know motor movement as per distance and position of anchors. I am looking dwm1000 source code for Robot. Could you please share source code.
I am working with Arduino and dwm1000 for tag and anchors
I am looking to use 3 anchors and 1 tag to make a robot follow me I have got the 3 anchors setup and two sending the information to one main anchor. I am know stuck on where to go from here using the data I am collecting could someone point me in the right direction?