20230202 ROS Lawn Tractor Meeting

20230202 ROS Lawn Tractor Meeting

This video:

Chat:
Jeff: Giant R/C servos ordered from Amazon
ASMC-04A 110kg/cm – 0.12sec/60deg – $53 with no “servo plate”

Jeff: Code change in odom.py to fix velocity:
Was
odom.child_frame_id = ‘base_footprint’
odom.pose.pose = result.pose
# odom.twist.twist = result.twist

Now
odom.child_frame_id = ‘base_footprint’
odom.pose.pose = result.pose
# odom.twist.twist = result.twist
x = float(result.twist.linear.x)
y = float(result.twist.linear.y)
odom.twist.twist.linear.x = float(sqrt(x ** 2 + y ** 2))
# odom.twist.twist.linear.z = float(atan2(y,x))
odom.twist.twist.angular.z = result.twist.angular.z

And you have to add this at the top somewhere:
from math import atan2, sqrt

Jeff: Thread on HBRC about logic analyzers:

A reference to the analyzers on eBay:

Big selection from Amazon:

Index:
00:00 Jeff: Gives a demo of his new fast giant R/C servos on his robot.
03:05 Jeff: Says he played with the simulator package to fix the speed.
Describes the problem and possible fix.
Demo coming up later.
06:45 Terry: Is working on his PID code.
Shows some logic analyzer plots.
Battery monitoring with A/D.
Starting with ROS.
Vacation plans.
11:30 Al: Random comments on code and PID.
12:15 Al: Skipped over the speed problems and is working with Move Base Flex and waypoints.
16:00 Al: Demo of what he is working on.
18:10 A question comes up about driving backwards.
22:10 More comments on purposely driving backwards.
24:40 Jeff: Gives an explanation for his changes.
29:30 Jeff: Starts a demo.
46:45 Al: Asks about Terry’s logic analyzer.
Terry describes his USBee-SX.
57:50 Some discussion on the current Gazebo simulation model
and switching different models.

Lawn Tractor Automation YouTube page:

Index for Lawn Tractor Automation group:
http://sampson-jeff.com/RosAgriculture/LawnTractorMeetingNotes.txt

Index for the original ROS Agriculture group (~250 videos):
http://sampson-jeff.com/RosAgriculture/readme.txt
http://sampson-jeff.com/RosAgriculture/ros-agriculture-youtube20230104.txt

See also  Husqvarna W520i battery walk-behind lawn mower

You May Also Like

About the Author: Mowrs