Humpelstilzchen,
The Tinkerforge ROS package is now much more complete:
I ended up just connecting directly to brickd, though.
ROS Resources: ROS Homepage | Media and Trademarks | Documentation | ROS Index | How to Get Help | Q&A Help Site | Discussion Forum | Service Status |
Humpelstilzchen,
The Tinkerforge ROS package is now much more complete:
I ended up just connecting directly to brickd, though.
I like boring robots. Tractobot03 is approaching that stage. Here is a boring video of it planting:
Tractobot03 has planted 122A this week. I have not driven it locally for any planting. It was painfully slow and tedious for a couple days. I had to enter each line into my code, ensuring that it went the correct way, start following the line, drop the planter, and start the fertilizer. Then I had to raise the planter, stop the fertilizer, turn, then load a new line.
Today felt much better. Itās running pretty much on its own. I even ran home once while it traveled from the far end of the field. The main problem now is that I lose GPS periodically. At least I have it programmed to stop when that happens. Then I back up and resume.
Because of the pressure to plant, I fell back on my old navigation code. My lines are not at all straight. Iām calling them āheritage linesā - like my grandfather planted. I look forward to improving them.
How goes the progress?
Weāve been working on neural net fuzzy logic steering to make autosteer machine independent.
I slogged through planting all of the corn (535A), planted the soybeans manually, and then barely prepped for the AgBot Challenge. It was today. I won!
Now Iām catching up on sleeping and eatingā¦
Congratulations!!! A great accomplishment to win with the competition and even more so given the competition.
Very cool I like seeing how you build and sort through all the issues. All while keeping the farm running. But soon you will just have to push the buttons and Watch the monitors
Kyler, i think you may find this interesting from the Canadian Defense Technical Information Center
Thank you. Yes, Pure Pursuit came up a lot in my research. I decided that I could do without it for the trivially simple (straight line) situations that I handle now, but I do want to try it for more complex handling. I recall that the FroboMind field robot code uses Pure Pursuit or similar. (The target point is shown in the simulation.) I intend to try implementing that code on my machines.
I have Tractobot00 running again. I hope to start using it as a testbed soon.
Iām so glad the PID package I worked on has been useful to you. This is why I do it. Iām sure others feel the same way.
Hey Kyler, just wanted to mention iāve incorporated pure pursuit into AgOpenGPS. It is far superior to any other guidance technique by a very long way. It just works and is very simple to set up for the vehicle.
iām by far not an expert (thatās the reason i am hereā¦ wanted to learn more since iām sitting home doing nothing but searching for drug reviews because of health issues and learning about these because thatās what i like) but those really look amazing. would you mind if iām gonna have some questions for you to ask??
Fire away with questions. Please understand that these are really simple machines and not good ROS examples, though.
@kylerlaird Hi! Good job with the tractors! Are you aware of some other builders of autonomous tractors? There is Matthew Reimer
and maybe others. He is using Pixhawk controller + RTK.
Also the Open Source Ecology project is just starting Open Source Robotic Tractor
http://opensourceecology.org/wiki/Open_Source_Robotic_Tractor
We are also going for a robotic mower at
https://robotika.cz/robots/osgar/en
Iād be cool if we all could somehow pool resources, share experience. Or are you already in contact with some other groups?
Iām going through your code on GitHub and trying to understand the physical connection of your GPS and IMU. Iām coming from a Pixhawk, RTK, motor controlled steering using Python and Dronekit on my JD5055, but new to ROS. Iāve been unhappy with my attempt using PurePursuit and wanted to try and replicate what you have done. I was thinking step one for me was getting a simple publisher, subscriber working with the GPS and IMU. In trying to reverse engineer the physical connections I have found āgps_nmea = GPS_NMEA(port=ā/dev/gps_nmeaā)ā in NV08C_node.py. I also found āimu_pub = rospy.Publisher(āimuā, Imu, queue_size=10)ā in imu_publisher.py. Q1: Where is āgps_nmeaā set and/or where is the GPS connected to your companion computer? Q2: I see in your code where the imu is published, but I canāt work backwards to see where it is connected. Can you help? Iāll have more, but that would be enough to get me started on replicating your very impressive success. Al in Texas
Hi, Al. I strongly recommend that you forget all about that code; itās really bad and very specific to the hardware I was using at the time.
Do you know about AgOpenGPS (https://agopengps.jimdosite.com/)? Itās a good place to start for a ready-to-run (but non-ROS) solution.
For a ROS solution, please join us on ROS Agriculture (http://rosagriculture.org/).
Howeverā¦to answer your questionsā¦
Q1: /dev/gps_nmea is the NMEA port of my GPS. Thereās also a port for RTCM. Each one is a separate(!) USB interface. I use udev to assign the NMEA port to /dev/gps_nmea. Itās usually /dev/ttyS0, I think.
Q2: I used a Tinkerforge IMU Brick V2.0 as the IMU. I donāt think I uploaded the code for its publisher.
Iām now using an Advanced Navigation Spatial Dual (http://www.advancednavigation.com.au/product/spatial-dual). Itās ridiculously expensive but awesome. Also, Iām trying to move everything to be more ROS-like. Iām in the midst of developing the code again.
I suggest that you keep trying with Pure Pursuit. Brian at OpenAgGPS has had good results with it. At this moment, I am mapping the steering for my MT765 so that I can switch to Pure Pursuit.