Security

Token

There is no security token.

Firewall

main Name
Security enabled
Stateless

Configuration

Key Value
provider security.user.provider.concrete.app_user_provider
context main
entry_point App\Security\KbinAuthenticator
user_checker App\Security\UserChecker
access_denied_handler (none)
access_denied_url (none)
authenticators
[
  "two_factor"
  "remember_me"
  "App\Security\KbinAuthenticator"
  "App\Security\FacebookAuthenticator"
  "App\Security\GoogleAuthenticator"
  "App\Security\GithubAuthenticator"
  "App\Security\KeycloakAuthenticator"
]

Listeners

Listener Duration Response
Symfony\Component\Security\Http\Firewall\ChannelListener {#723
  -map: Symfony\Component\Security\Http\AccessMap {#722 …}
  -logger: Monolog\Logger {#783 …}
  -httpPort: 80
  -httpsPort: 443
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\ContextListener {#706
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage {#1017 …}
  -sessionKey: "_security_main"
  -logger: Monolog\Logger {#783 …}
  -userProviders: Symfony\Component\DependencyInjection\Argument\RewindableGenerator {#705 …}
  -dispatcher: Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher {#747 …}
  -registered: false
  -trustResolver: Scheb\TwoFactorBundle\Security\Authentication\AuthenticationTrustResolver {#780 …}
  -sessionTrackerEnabler: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage::enableUsageTracking(): void {#703 …}
}
0.41 ms (none)
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener {#584
  -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#595 …}
}
0.00 ms (none)
Scheb\TwoFactorBundle\Security\Http\Firewall\TwoFactorAccessListener {#582
  -twoFactorFirewallConfig: Scheb\TwoFactorBundle\Security\TwoFactor\TwoFactorFirewallConfig {#842 …}
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#1018 …}
  -twoFactorAccessDecider: Scheb\TwoFactorBundle\Security\Authorization\TwoFactorAccessDecider {#581 …}
}
0.04 ms (none)
Symfony\Component\Security\Http\Firewall\AccessListener {#579
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#1018 …}
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#937 …}
  -map: Symfony\Component\Security\Http\AccessMap {#722 …}
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\LogoutListener {#786
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#1018 …}
  -options: [
    "csrf_parameter" => "_csrf_token"
    "csrf_token_id" => "logout"
    "logout_path" => "app_logout"
  ]
  -httpUtils: Symfony\Component\Security\Http\HttpUtils {#841 …}
  -csrfTokenManager: Symfony\Component\Security\Csrf\CsrfTokenManager {#1015 …}
  -eventDispatcher: Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher {#747 …}
}
0.00 ms (none)

Authenticators

No authenticators have been recorded. Check previous profiles on your authentication endpoint.

Access Decision

affirmative Strategy
# Voter class
1
"Symfony\Component\Security\Core\Authorization\Voter\AuthenticatedVoter"
2
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
3
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
4
"Symfony\Component\Security\Core\Authorization\Voter\ExpressionVoter"
5
"App\Security\Voter\EntryCommentVoter"
6
"App\Security\Voter\EntryVoter"
7
"App\Security\Voter\MagazineVoter"
8
"App\Security\Voter\MessageThreadVoter"
9
"App\Security\Voter\MessageVoter"
10
"App\Security\Voter\NotificationVoter"
11
"App\Security\Voter\OAuth2UserConsentVoter"
12
"App\Security\Voter\PostCommentVoter"
13
"App\Security\Voter\PostVoter"
14
"App\Security\Voter\UserVoter"

Access decision log

# Result Attributes Object
1 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
2 DENIED moderate
App\Entity\Entry {#2412
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +magazine: App\Entity\Magazine {#266
    +icon: Proxies\__CG__\App\Entity\Image {#247 …}
    +name: "askelectronics@discuss.tchncs.de"
    +title: "askelectronics"
    +description: """
      **For questions about component-level electronic circuits, tools and equipment.**\n
      \n
      Rules\n
      -----\n
      \n
      1: Be nice.\n
      \n
      2: Be on-topic (eg: *Electronic*, not *electrical*).\n
      \n
      3: No commercial stuff, buying, selling or valuations.\n
      \n
      4: Be safe.\n
      \n
      ---
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 154
    +entryCommentCount: 1230
    +postCount: 1
    +postCommentCount: 4
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729413608 {#276
      date: 2024-10-20 10:40:08.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#238 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
    +entries: Doctrine\ORM\PersistentCollection {#181 …}
    +posts: Doctrine\ORM\PersistentCollection {#139 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
    +bans: Doctrine\ORM\PersistentCollection {#118 …}
    +reports: Doctrine\ORM\PersistentCollection {#104 …}
    +badges: Doctrine\ORM\PersistentCollection {#82 …}
    +logs: Doctrine\ORM\PersistentCollection {#72 …}
    +awards: Doctrine\ORM\PersistentCollection {#61 …}
    +categories: Doctrine\ORM\PersistentCollection {#1820 …}
    -id: 11
    +apId: "askelectronics@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
    +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
    +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "askelectronics"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1727247714 {#270
      date: 2024-09-25 09:01:54.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687144409 {#272
      date: 2023-06-19 05:13:29.0 +02:00
    }
  }
  +image: null
  +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
  +slug: "Considering-positioning-strategies-for-autonomous-mechanum-wheeled-robots"
  +title: "Considering positioning strategies for autonomous mechanum-wheeled robots"
  +url: null
  +body: """
    Disclaimer: this is not *specifically* for a commercial product, but various things I design sometimes get commercialized. I mention this so that you may decide whether you want to weigh in. If it’s commercialized, I will probably make very little money but a bunch of university students may get a neat STEM program in the countryside :D\n
    \n
    That out of the way, I’ve designed some boards for a Wi-Fi controlled robot with mechanum wheels. So 4 independent motor drivers, one for each wheel, allow omnidirectional motion. It’s built around a Pi Pico W, 4 SOIC-8 9110S motor drivers, and some buck/boost converters to give the system a 5V and 12V line. It’s very basic, mostly made to be cheap. Here’s a photo:\n
    \n
    ![](https://voltage.vn/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)\n
    \n
    Right now it just receives UDP communications (a little app written in Godot) and activates the motors in different combinations – very “hello world”. I’m planning to add some autonomy to move around pre-generated maps, solve mazes, and so on.\n
    \n
    I have foolishly used 2-pin JST connectors for the motors, so using motors with rotary encoders would be a pain without ordering new boards. I’ll probably fix that in a later board revision or just hack it in. Also the routing is sloppy and there’s no ground plane. It works well enough for development and testing though :D\n
    \n
    What I’m thinking about right now, is how to let the robot position itself in a room effectively and cheaply. I was thinking of adding either a full LiDAR or building a limited LiDAR out of a servo motor and two cheap laser ToF sensors – e.g. one pointed forward, the other back, and I can sweep it 90 degrees. Since the LiDAR does not need to be fast or continuously sweep, I am leaning toward the latter approach.\n
    \n
    Then the processing is handled remotely – a server requests that the robot do a LiDAR sweep, the robot sends a minimal point cloud back to the server, which estimates the robot’s current location and sends back some instructions to move in a direction for some distance – probably this is where the lack of rotary encoders is going to hurt, but for now I’m planning on just pointing the forward laser ToF sensor towards a target and give the instruction “turn or move forward at static speed X until the sensor reads Y”, which should be pretty easy for the MCU To handle.\n
    \n
    I’m planning to control multiple robots from the same server. The robots don’t need to be super fast.\n
    \n
    What I’m currently wondering is whether my approach really needs rotary encoders in practice – I’ve heard that mechanum wheels have high enough mechanical slippage that they end up inaccurate, and designers often add another set of unpowered wheels for position tracking anyway. I don’t want to add more wheels in this way though.\n
    \n
    On the other hand, it would probably be easier to tell the MCU to “move forward X rotary encoder pulses at a velocity defined by Y pulses per second, and then check position and correct at a lower speed” than to use a pure LiDAR approach (e.g. even if rotary encoders don’t give me accurate position, on small time scales, they give me good feedback to control speed). I could possibly even send a fairly complex series of instructions in one go, making the communications efficient enough to eliminate a local server and control a ton of robots from a cloud VPS or whatever.\n
    \n
    Anyone have some experience with encoders + mechanum wheels that can offer a few tips my way? At this stage the project doesn’t have clear engineering goals and this is mostly an academic exercise. I’ve read that using a rigid chassis and minimizing the need for lateral motion can reduce slippage, reading through a few papers didn’t get me any numerical indication of what to expect.
    """
  +type: "article"
  +lang: "en"
  +isOc: false
  +hasEmbed: false
  +commentCount: 10
  +favouriteCount: 14
  +score: 0
  +isAdult: false
  +sticky: false
  +lastActive: DateTime @1694071771 {#2410
    date: 2023-09-07 09:29:31.0 +02:00
  }
  +ip: null
  +adaAmount: 0
  +tags: null
  +mentions: null
  +comments: Doctrine\ORM\PersistentCollection {#1884 …}
  +votes: Doctrine\ORM\PersistentCollection {#1973 …}
  +reports: Doctrine\ORM\PersistentCollection {#1959 …}
  +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
  +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
  +badges: Doctrine\ORM\PersistentCollection {#2440 …}
  +children: []
  -id: 2057
  -titleTs: "'autonom':5 'consid':1 'mechanum':7 'mechanum-wheel':6 'posit':2 'robot':9 'strategi':3 'wheel':8"
  -bodyTs: "'-8':101 '/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)':133 '12v':116 '2':180 '4':80,99 '5v':114 '90':295 '9110s':102 'academ':633 'accur':551 'activ':148 'ad':262 'add':161,474,489 'allow':88 'also':216 'anoth':475 'anyon':601 'anyway':483 'app':143 'approach':315,448,541 'around':94,166 'autonomi':163 'back':289,339,352 'basic':121 'board':68,200,209 'buck/boost':107 'build':268 'built':93 'bunch':45 'chassi':642 'cheap':126,279 'cheapli':257 'check':527 'clear':625 'cloud':338,597 'combin':153 'commerci':8,17,35 'communic':140,581 'complex':572 'connector':183 'continu':307 'control':74,424,563,590 'convert':108 'correct':530 'could':566 'countrysid':57 'current':348,443 'd':58,236 'decid':25 'defin':519 'degre':296 'design':14,66,472 'develop':232 'didn':658 'differ':152 'direct':359 'disclaim':1 'distanc':362 'doesn':622 'driver':83,104 'e.g':283,542 'easi':414 'easier':504 'effect':255 'effici':582 'either':263 'elimin':585 'encod':192,371,452,514,546,606 'end':468 'engin':626 'enough':230,463,583 'estim':344 'even':543,568 'exercis':634 'expect':668 'experi':604 'fair':571 'fast':305,439 'feedback':561 'fi':73 'fix':204 'foolish':178 'forward':286,386,400,511 'full':265 'generat':169 'get':16,50,660 'give':110,394,549,558 'go':373,578 'goal':627 'godot':146 'good':560 'ground':225 'hack':213 'hand':499 'handl':320,419 'heard':457 'hello':155 'high':462 'hurt':375 'inaccur':470 'independ':81 'indic':664 'instruct':354,396,575 'jst':182 'lack':368 'laser':280,387 'later':208,648 'latter':314 'lean':311 'let':247 'lidar':266,271,299,330,540 'limit':270 'line':117 'littl':41,142 'll':202 'local':587 'locat':349 'lower':533 'm':158,239,380,421,442 'made':123 'make':39,579 'map':170 'may':24,49 'maze':172 'mcu':417,508 'mechan':464 'mechanum':77,459,607 'mention':19 'minim':336,644 'money':42 'most':122,631 'motion':90,649 'motor':82,103,150,186,189,276 'move':165,356,399,510 'multipl':425 'neat':52 'need':302,435,450,646 'new':199 'numer':663 'offer':611 'often':473 'omnidirect':89 'one':84,284,577 'order':198 'pain':196 'paper':657 'per':523 'photo':130 'pi':96 'pico':97 'pin':181 'plan':159,381,422 'plane':226 'point':285,337,384 'posit':250,481,528,552 'possibl':567 'practic':454 'pre':168 'pre-gener':167 'pretti':413 'probabl':38,203,363,502 'process':318 'product':9 'program':54 'project':621 'puls':515,522 'pure':539 'read':408,637,653 'realli':449 'receiv':138 'reduc':651 'remot':321 'request':324 'revis':210 'right':134,242 'rigid':641 'robot':75,249,327,333,346,426,432,594 'room':254 'rotari':191,370,451,513,545 'rout':218 'scale':556 'second':524 'send':334,351,569 'sensor':282,389,407 'seri':573 'server':323,342,430,588 'servo':275 'set':476 'sinc':297 'slippag':465,652 'sloppi':220 'small':554 'soic':100 'solv':171 'sometim':15 'specif':5 'speed':403,534,564 'stage':619 'static':402 'stem':53 'student':48 'super':438 'sweep':293,308,331 'system':112 'target':392 'tell':506 'test':234 'thing':12 'think':240,260 'though':235,495 'time':555 'tip':614 'tof':281,388 'ton':592 'toward':312,390 'track':482 'turn':397 'two':278 'udp':139 'univers':47 'unpow':478 'use':179,188,537,639 'various':11 've':65,456,636 'veloc':518 'voltage.vn':132 'voltage.vn/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)':131 'vps':598 'w':98 'want':28,487 'way':63,494,616 'weigh':30 'well':229 'whatev':600 'wheel':78,87,460,479,491,608 'whether':26,446 'wi':72 'wi-fi':71 'without':197 'wonder':444 'work':228 'world':156 'would':193,501 'written':144 'x':404,512 'y':409,521"
  +cross: false
  +upVotes: 0
  +downVotes: 0
  +ranking: 1693616717
  +visibility: "visible             "
  +apId: "https://voltage.vn/post/18974"
  +editedAt: DateTimeImmutable @1693550651 {#1850
    date: 2023-09-01 08:44:11.0 +02:00
  }
  +createdAt: DateTimeImmutable @1693550217 {#2420
    date: 2023-09-01 08:36:57.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS DENIED
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
3 DENIED edit
App\Entity\Entry {#2412
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +magazine: App\Entity\Magazine {#266
    +icon: Proxies\__CG__\App\Entity\Image {#247 …}
    +name: "askelectronics@discuss.tchncs.de"
    +title: "askelectronics"
    +description: """
      **For questions about component-level electronic circuits, tools and equipment.**\n
      \n
      Rules\n
      -----\n
      \n
      1: Be nice.\n
      \n
      2: Be on-topic (eg: *Electronic*, not *electrical*).\n
      \n
      3: No commercial stuff, buying, selling or valuations.\n
      \n
      4: Be safe.\n
      \n
      ---
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 154
    +entryCommentCount: 1230
    +postCount: 1
    +postCommentCount: 4
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729413608 {#276
      date: 2024-10-20 10:40:08.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#238 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
    +entries: Doctrine\ORM\PersistentCollection {#181 …}
    +posts: Doctrine\ORM\PersistentCollection {#139 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
    +bans: Doctrine\ORM\PersistentCollection {#118 …}
    +reports: Doctrine\ORM\PersistentCollection {#104 …}
    +badges: Doctrine\ORM\PersistentCollection {#82 …}
    +logs: Doctrine\ORM\PersistentCollection {#72 …}
    +awards: Doctrine\ORM\PersistentCollection {#61 …}
    +categories: Doctrine\ORM\PersistentCollection {#1820 …}
    -id: 11
    +apId: "askelectronics@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
    +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
    +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "askelectronics"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1727247714 {#270
      date: 2024-09-25 09:01:54.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687144409 {#272
      date: 2023-06-19 05:13:29.0 +02:00
    }
  }
  +image: null
  +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
  +slug: "Considering-positioning-strategies-for-autonomous-mechanum-wheeled-robots"
  +title: "Considering positioning strategies for autonomous mechanum-wheeled robots"
  +url: null
  +body: """
    Disclaimer: this is not *specifically* for a commercial product, but various things I design sometimes get commercialized. I mention this so that you may decide whether you want to weigh in. If it’s commercialized, I will probably make very little money but a bunch of university students may get a neat STEM program in the countryside :D\n
    \n
    That out of the way, I’ve designed some boards for a Wi-Fi controlled robot with mechanum wheels. So 4 independent motor drivers, one for each wheel, allow omnidirectional motion. It’s built around a Pi Pico W, 4 SOIC-8 9110S motor drivers, and some buck/boost converters to give the system a 5V and 12V line. It’s very basic, mostly made to be cheap. Here’s a photo:\n
    \n
    ![](https://voltage.vn/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)\n
    \n
    Right now it just receives UDP communications (a little app written in Godot) and activates the motors in different combinations – very “hello world”. I’m planning to add some autonomy to move around pre-generated maps, solve mazes, and so on.\n
    \n
    I have foolishly used 2-pin JST connectors for the motors, so using motors with rotary encoders would be a pain without ordering new boards. I’ll probably fix that in a later board revision or just hack it in. Also the routing is sloppy and there’s no ground plane. It works well enough for development and testing though :D\n
    \n
    What I’m thinking about right now, is how to let the robot position itself in a room effectively and cheaply. I was thinking of adding either a full LiDAR or building a limited LiDAR out of a servo motor and two cheap laser ToF sensors – e.g. one pointed forward, the other back, and I can sweep it 90 degrees. Since the LiDAR does not need to be fast or continuously sweep, I am leaning toward the latter approach.\n
    \n
    Then the processing is handled remotely – a server requests that the robot do a LiDAR sweep, the robot sends a minimal point cloud back to the server, which estimates the robot’s current location and sends back some instructions to move in a direction for some distance – probably this is where the lack of rotary encoders is going to hurt, but for now I’m planning on just pointing the forward laser ToF sensor towards a target and give the instruction “turn or move forward at static speed X until the sensor reads Y”, which should be pretty easy for the MCU To handle.\n
    \n
    I’m planning to control multiple robots from the same server. The robots don’t need to be super fast.\n
    \n
    What I’m currently wondering is whether my approach really needs rotary encoders in practice – I’ve heard that mechanum wheels have high enough mechanical slippage that they end up inaccurate, and designers often add another set of unpowered wheels for position tracking anyway. I don’t want to add more wheels in this way though.\n
    \n
    On the other hand, it would probably be easier to tell the MCU to “move forward X rotary encoder pulses at a velocity defined by Y pulses per second, and then check position and correct at a lower speed” than to use a pure LiDAR approach (e.g. even if rotary encoders don’t give me accurate position, on small time scales, they give me good feedback to control speed). I could possibly even send a fairly complex series of instructions in one go, making the communications efficient enough to eliminate a local server and control a ton of robots from a cloud VPS or whatever.\n
    \n
    Anyone have some experience with encoders + mechanum wheels that can offer a few tips my way? At this stage the project doesn’t have clear engineering goals and this is mostly an academic exercise. I’ve read that using a rigid chassis and minimizing the need for lateral motion can reduce slippage, reading through a few papers didn’t get me any numerical indication of what to expect.
    """
  +type: "article"
  +lang: "en"
  +isOc: false
  +hasEmbed: false
  +commentCount: 10
  +favouriteCount: 14
  +score: 0
  +isAdult: false
  +sticky: false
  +lastActive: DateTime @1694071771 {#2410
    date: 2023-09-07 09:29:31.0 +02:00
  }
  +ip: null
  +adaAmount: 0
  +tags: null
  +mentions: null
  +comments: Doctrine\ORM\PersistentCollection {#1884 …}
  +votes: Doctrine\ORM\PersistentCollection {#1973 …}
  +reports: Doctrine\ORM\PersistentCollection {#1959 …}
  +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
  +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
  +badges: Doctrine\ORM\PersistentCollection {#2440 …}
  +children: []
  -id: 2057
  -titleTs: "'autonom':5 'consid':1 'mechanum':7 'mechanum-wheel':6 'posit':2 'robot':9 'strategi':3 'wheel':8"
  -bodyTs: "'-8':101 '/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)':133 '12v':116 '2':180 '4':80,99 '5v':114 '90':295 '9110s':102 'academ':633 'accur':551 'activ':148 'ad':262 'add':161,474,489 'allow':88 'also':216 'anoth':475 'anyon':601 'anyway':483 'app':143 'approach':315,448,541 'around':94,166 'autonomi':163 'back':289,339,352 'basic':121 'board':68,200,209 'buck/boost':107 'build':268 'built':93 'bunch':45 'chassi':642 'cheap':126,279 'cheapli':257 'check':527 'clear':625 'cloud':338,597 'combin':153 'commerci':8,17,35 'communic':140,581 'complex':572 'connector':183 'continu':307 'control':74,424,563,590 'convert':108 'correct':530 'could':566 'countrysid':57 'current':348,443 'd':58,236 'decid':25 'defin':519 'degre':296 'design':14,66,472 'develop':232 'didn':658 'differ':152 'direct':359 'disclaim':1 'distanc':362 'doesn':622 'driver':83,104 'e.g':283,542 'easi':414 'easier':504 'effect':255 'effici':582 'either':263 'elimin':585 'encod':192,371,452,514,546,606 'end':468 'engin':626 'enough':230,463,583 'estim':344 'even':543,568 'exercis':634 'expect':668 'experi':604 'fair':571 'fast':305,439 'feedback':561 'fi':73 'fix':204 'foolish':178 'forward':286,386,400,511 'full':265 'generat':169 'get':16,50,660 'give':110,394,549,558 'go':373,578 'goal':627 'godot':146 'good':560 'ground':225 'hack':213 'hand':499 'handl':320,419 'heard':457 'hello':155 'high':462 'hurt':375 'inaccur':470 'independ':81 'indic':664 'instruct':354,396,575 'jst':182 'lack':368 'laser':280,387 'later':208,648 'latter':314 'lean':311 'let':247 'lidar':266,271,299,330,540 'limit':270 'line':117 'littl':41,142 'll':202 'local':587 'locat':349 'lower':533 'm':158,239,380,421,442 'made':123 'make':39,579 'map':170 'may':24,49 'maze':172 'mcu':417,508 'mechan':464 'mechanum':77,459,607 'mention':19 'minim':336,644 'money':42 'most':122,631 'motion':90,649 'motor':82,103,150,186,189,276 'move':165,356,399,510 'multipl':425 'neat':52 'need':302,435,450,646 'new':199 'numer':663 'offer':611 'often':473 'omnidirect':89 'one':84,284,577 'order':198 'pain':196 'paper':657 'per':523 'photo':130 'pi':96 'pico':97 'pin':181 'plan':159,381,422 'plane':226 'point':285,337,384 'posit':250,481,528,552 'possibl':567 'practic':454 'pre':168 'pre-gener':167 'pretti':413 'probabl':38,203,363,502 'process':318 'product':9 'program':54 'project':621 'puls':515,522 'pure':539 'read':408,637,653 'realli':449 'receiv':138 'reduc':651 'remot':321 'request':324 'revis':210 'right':134,242 'rigid':641 'robot':75,249,327,333,346,426,432,594 'room':254 'rotari':191,370,451,513,545 'rout':218 'scale':556 'second':524 'send':334,351,569 'sensor':282,389,407 'seri':573 'server':323,342,430,588 'servo':275 'set':476 'sinc':297 'slippag':465,652 'sloppi':220 'small':554 'soic':100 'solv':171 'sometim':15 'specif':5 'speed':403,534,564 'stage':619 'static':402 'stem':53 'student':48 'super':438 'sweep':293,308,331 'system':112 'target':392 'tell':506 'test':234 'thing':12 'think':240,260 'though':235,495 'time':555 'tip':614 'tof':281,388 'ton':592 'toward':312,390 'track':482 'turn':397 'two':278 'udp':139 'univers':47 'unpow':478 'use':179,188,537,639 'various':11 've':65,456,636 'veloc':518 'voltage.vn':132 'voltage.vn/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)':131 'vps':598 'w':98 'want':28,487 'way':63,494,616 'weigh':30 'well':229 'whatev':600 'wheel':78,87,460,479,491,608 'whether':26,446 'wi':72 'wi-fi':71 'without':197 'wonder':444 'work':228 'world':156 'would':193,501 'written':144 'x':404,512 'y':409,521"
  +cross: false
  +upVotes: 0
  +downVotes: 0
  +ranking: 1693616717
  +visibility: "visible             "
  +apId: "https://voltage.vn/post/18974"
  +editedAt: DateTimeImmutable @1693550651 {#1850
    date: 2023-09-01 08:44:11.0 +02:00
  }
  +createdAt: DateTimeImmutable @1693550217 {#2420
    date: 2023-09-01 08:36:57.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS DENIED
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
4 DENIED moderate
App\Entity\Entry {#2412
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +magazine: App\Entity\Magazine {#266
    +icon: Proxies\__CG__\App\Entity\Image {#247 …}
    +name: "askelectronics@discuss.tchncs.de"
    +title: "askelectronics"
    +description: """
      **For questions about component-level electronic circuits, tools and equipment.**\n
      \n
      Rules\n
      -----\n
      \n
      1: Be nice.\n
      \n
      2: Be on-topic (eg: *Electronic*, not *electrical*).\n
      \n
      3: No commercial stuff, buying, selling or valuations.\n
      \n
      4: Be safe.\n
      \n
      ---
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 154
    +entryCommentCount: 1230
    +postCount: 1
    +postCommentCount: 4
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729413608 {#276
      date: 2024-10-20 10:40:08.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#238 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
    +entries: Doctrine\ORM\PersistentCollection {#181 …}
    +posts: Doctrine\ORM\PersistentCollection {#139 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
    +bans: Doctrine\ORM\PersistentCollection {#118 …}
    +reports: Doctrine\ORM\PersistentCollection {#104 …}
    +badges: Doctrine\ORM\PersistentCollection {#82 …}
    +logs: Doctrine\ORM\PersistentCollection {#72 …}
    +awards: Doctrine\ORM\PersistentCollection {#61 …}
    +categories: Doctrine\ORM\PersistentCollection {#1820 …}
    -id: 11
    +apId: "askelectronics@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
    +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
    +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "askelectronics"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1727247714 {#270
      date: 2024-09-25 09:01:54.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687144409 {#272
      date: 2023-06-19 05:13:29.0 +02:00
    }
  }
  +image: null
  +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
  +slug: "Considering-positioning-strategies-for-autonomous-mechanum-wheeled-robots"
  +title: "Considering positioning strategies for autonomous mechanum-wheeled robots"
  +url: null
  +body: """
    Disclaimer: this is not *specifically* for a commercial product, but various things I design sometimes get commercialized. I mention this so that you may decide whether you want to weigh in. If it’s commercialized, I will probably make very little money but a bunch of university students may get a neat STEM program in the countryside :D\n
    \n
    That out of the way, I’ve designed some boards for a Wi-Fi controlled robot with mechanum wheels. So 4 independent motor drivers, one for each wheel, allow omnidirectional motion. It’s built around a Pi Pico W, 4 SOIC-8 9110S motor drivers, and some buck/boost converters to give the system a 5V and 12V line. It’s very basic, mostly made to be cheap. Here’s a photo:\n
    \n
    ![](https://voltage.vn/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)\n
    \n
    Right now it just receives UDP communications (a little app written in Godot) and activates the motors in different combinations – very “hello world”. I’m planning to add some autonomy to move around pre-generated maps, solve mazes, and so on.\n
    \n
    I have foolishly used 2-pin JST connectors for the motors, so using motors with rotary encoders would be a pain without ordering new boards. I’ll probably fix that in a later board revision or just hack it in. Also the routing is sloppy and there’s no ground plane. It works well enough for development and testing though :D\n
    \n
    What I’m thinking about right now, is how to let the robot position itself in a room effectively and cheaply. I was thinking of adding either a full LiDAR or building a limited LiDAR out of a servo motor and two cheap laser ToF sensors – e.g. one pointed forward, the other back, and I can sweep it 90 degrees. Since the LiDAR does not need to be fast or continuously sweep, I am leaning toward the latter approach.\n
    \n
    Then the processing is handled remotely – a server requests that the robot do a LiDAR sweep, the robot sends a minimal point cloud back to the server, which estimates the robot’s current location and sends back some instructions to move in a direction for some distance – probably this is where the lack of rotary encoders is going to hurt, but for now I’m planning on just pointing the forward laser ToF sensor towards a target and give the instruction “turn or move forward at static speed X until the sensor reads Y”, which should be pretty easy for the MCU To handle.\n
    \n
    I’m planning to control multiple robots from the same server. The robots don’t need to be super fast.\n
    \n
    What I’m currently wondering is whether my approach really needs rotary encoders in practice – I’ve heard that mechanum wheels have high enough mechanical slippage that they end up inaccurate, and designers often add another set of unpowered wheels for position tracking anyway. I don’t want to add more wheels in this way though.\n
    \n
    On the other hand, it would probably be easier to tell the MCU to “move forward X rotary encoder pulses at a velocity defined by Y pulses per second, and then check position and correct at a lower speed” than to use a pure LiDAR approach (e.g. even if rotary encoders don’t give me accurate position, on small time scales, they give me good feedback to control speed). I could possibly even send a fairly complex series of instructions in one go, making the communications efficient enough to eliminate a local server and control a ton of robots from a cloud VPS or whatever.\n
    \n
    Anyone have some experience with encoders + mechanum wheels that can offer a few tips my way? At this stage the project doesn’t have clear engineering goals and this is mostly an academic exercise. I’ve read that using a rigid chassis and minimizing the need for lateral motion can reduce slippage, reading through a few papers didn’t get me any numerical indication of what to expect.
    """
  +type: "article"
  +lang: "en"
  +isOc: false
  +hasEmbed: false
  +commentCount: 10
  +favouriteCount: 14
  +score: 0
  +isAdult: false
  +sticky: false
  +lastActive: DateTime @1694071771 {#2410
    date: 2023-09-07 09:29:31.0 +02:00
  }
  +ip: null
  +adaAmount: 0
  +tags: null
  +mentions: null
  +comments: Doctrine\ORM\PersistentCollection {#1884 …}
  +votes: Doctrine\ORM\PersistentCollection {#1973 …}
  +reports: Doctrine\ORM\PersistentCollection {#1959 …}
  +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
  +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
  +badges: Doctrine\ORM\PersistentCollection {#2440 …}
  +children: []
  -id: 2057
  -titleTs: "'autonom':5 'consid':1 'mechanum':7 'mechanum-wheel':6 'posit':2 'robot':9 'strategi':3 'wheel':8"
  -bodyTs: "'-8':101 '/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)':133 '12v':116 '2':180 '4':80,99 '5v':114 '90':295 '9110s':102 'academ':633 'accur':551 'activ':148 'ad':262 'add':161,474,489 'allow':88 'also':216 'anoth':475 'anyon':601 'anyway':483 'app':143 'approach':315,448,541 'around':94,166 'autonomi':163 'back':289,339,352 'basic':121 'board':68,200,209 'buck/boost':107 'build':268 'built':93 'bunch':45 'chassi':642 'cheap':126,279 'cheapli':257 'check':527 'clear':625 'cloud':338,597 'combin':153 'commerci':8,17,35 'communic':140,581 'complex':572 'connector':183 'continu':307 'control':74,424,563,590 'convert':108 'correct':530 'could':566 'countrysid':57 'current':348,443 'd':58,236 'decid':25 'defin':519 'degre':296 'design':14,66,472 'develop':232 'didn':658 'differ':152 'direct':359 'disclaim':1 'distanc':362 'doesn':622 'driver':83,104 'e.g':283,542 'easi':414 'easier':504 'effect':255 'effici':582 'either':263 'elimin':585 'encod':192,371,452,514,546,606 'end':468 'engin':626 'enough':230,463,583 'estim':344 'even':543,568 'exercis':634 'expect':668 'experi':604 'fair':571 'fast':305,439 'feedback':561 'fi':73 'fix':204 'foolish':178 'forward':286,386,400,511 'full':265 'generat':169 'get':16,50,660 'give':110,394,549,558 'go':373,578 'goal':627 'godot':146 'good':560 'ground':225 'hack':213 'hand':499 'handl':320,419 'heard':457 'hello':155 'high':462 'hurt':375 'inaccur':470 'independ':81 'indic':664 'instruct':354,396,575 'jst':182 'lack':368 'laser':280,387 'later':208,648 'latter':314 'lean':311 'let':247 'lidar':266,271,299,330,540 'limit':270 'line':117 'littl':41,142 'll':202 'local':587 'locat':349 'lower':533 'm':158,239,380,421,442 'made':123 'make':39,579 'map':170 'may':24,49 'maze':172 'mcu':417,508 'mechan':464 'mechanum':77,459,607 'mention':19 'minim':336,644 'money':42 'most':122,631 'motion':90,649 'motor':82,103,150,186,189,276 'move':165,356,399,510 'multipl':425 'neat':52 'need':302,435,450,646 'new':199 'numer':663 'offer':611 'often':473 'omnidirect':89 'one':84,284,577 'order':198 'pain':196 'paper':657 'per':523 'photo':130 'pi':96 'pico':97 'pin':181 'plan':159,381,422 'plane':226 'point':285,337,384 'posit':250,481,528,552 'possibl':567 'practic':454 'pre':168 'pre-gener':167 'pretti':413 'probabl':38,203,363,502 'process':318 'product':9 'program':54 'project':621 'puls':515,522 'pure':539 'read':408,637,653 'realli':449 'receiv':138 'reduc':651 'remot':321 'request':324 'revis':210 'right':134,242 'rigid':641 'robot':75,249,327,333,346,426,432,594 'room':254 'rotari':191,370,451,513,545 'rout':218 'scale':556 'second':524 'send':334,351,569 'sensor':282,389,407 'seri':573 'server':323,342,430,588 'servo':275 'set':476 'sinc':297 'slippag':465,652 'sloppi':220 'small':554 'soic':100 'solv':171 'sometim':15 'specif':5 'speed':403,534,564 'stage':619 'static':402 'stem':53 'student':48 'super':438 'sweep':293,308,331 'system':112 'target':392 'tell':506 'test':234 'thing':12 'think':240,260 'though':235,495 'time':555 'tip':614 'tof':281,388 'ton':592 'toward':312,390 'track':482 'turn':397 'two':278 'udp':139 'univers':47 'unpow':478 'use':179,188,537,639 'various':11 've':65,456,636 'veloc':518 'voltage.vn':132 'voltage.vn/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)':131 'vps':598 'w':98 'want':28,487 'way':63,494,616 'weigh':30 'well':229 'whatev':600 'wheel':78,87,460,479,491,608 'whether':26,446 'wi':72 'wi-fi':71 'without':197 'wonder':444 'work':228 'world':156 'would':193,501 'written':144 'x':404,512 'y':409,521"
  +cross: false
  +upVotes: 0
  +downVotes: 0
  +ranking: 1693616717
  +visibility: "visible             "
  +apId: "https://voltage.vn/post/18974"
  +editedAt: DateTimeImmutable @1693550651 {#1850
    date: 2023-09-01 08:44:11.0 +02:00
  }
  +createdAt: DateTimeImmutable @1693550217 {#2420
    date: 2023-09-01 08:36:57.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS DENIED
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
5 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
6 DENIED moderate
App\Entity\EntryComment {#4064
  +user: App\Entity\User {#4012 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Considering-positioning-strategies-for-autonomous-mechanum-wheeled-robots"
    +title: "Considering positioning strategies for autonomous mechanum-wheeled robots"
    +url: null
    +body: """
      Disclaimer: this is not *specifically* for a commercial product, but various things I design sometimes get commercialized. I mention this so that you may decide whether you want to weigh in. If it’s commercialized, I will probably make very little money but a bunch of university students may get a neat STEM program in the countryside :D\n
      \n
      That out of the way, I’ve designed some boards for a Wi-Fi controlled robot with mechanum wheels. So 4 independent motor drivers, one for each wheel, allow omnidirectional motion. It’s built around a Pi Pico W, 4 SOIC-8 9110S motor drivers, and some buck/boost converters to give the system a 5V and 12V line. It’s very basic, mostly made to be cheap. Here’s a photo:\n
      \n
      ![](https://voltage.vn/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)\n
      \n
      Right now it just receives UDP communications (a little app written in Godot) and activates the motors in different combinations – very “hello world”. I’m planning to add some autonomy to move around pre-generated maps, solve mazes, and so on.\n
      \n
      I have foolishly used 2-pin JST connectors for the motors, so using motors with rotary encoders would be a pain without ordering new boards. I’ll probably fix that in a later board revision or just hack it in. Also the routing is sloppy and there’s no ground plane. It works well enough for development and testing though :D\n
      \n
      What I’m thinking about right now, is how to let the robot position itself in a room effectively and cheaply. I was thinking of adding either a full LiDAR or building a limited LiDAR out of a servo motor and two cheap laser ToF sensors – e.g. one pointed forward, the other back, and I can sweep it 90 degrees. Since the LiDAR does not need to be fast or continuously sweep, I am leaning toward the latter approach.\n
      \n
      Then the processing is handled remotely – a server requests that the robot do a LiDAR sweep, the robot sends a minimal point cloud back to the server, which estimates the robot’s current location and sends back some instructions to move in a direction for some distance – probably this is where the lack of rotary encoders is going to hurt, but for now I’m planning on just pointing the forward laser ToF sensor towards a target and give the instruction “turn or move forward at static speed X until the sensor reads Y”, which should be pretty easy for the MCU To handle.\n
      \n
      I’m planning to control multiple robots from the same server. The robots don’t need to be super fast.\n
      \n
      What I’m currently wondering is whether my approach really needs rotary encoders in practice – I’ve heard that mechanum wheels have high enough mechanical slippage that they end up inaccurate, and designers often add another set of unpowered wheels for position tracking anyway. I don’t want to add more wheels in this way though.\n
      \n
      On the other hand, it would probably be easier to tell the MCU to “move forward X rotary encoder pulses at a velocity defined by Y pulses per second, and then check position and correct at a lower speed” than to use a pure LiDAR approach (e.g. even if rotary encoders don’t give me accurate position, on small time scales, they give me good feedback to control speed). I could possibly even send a fairly complex series of instructions in one go, making the communications efficient enough to eliminate a local server and control a ton of robots from a cloud VPS or whatever.\n
      \n
      Anyone have some experience with encoders + mechanum wheels that can offer a few tips my way? At this stage the project doesn’t have clear engineering goals and this is mostly an academic exercise. I’ve read that using a rigid chassis and minimizing the need for lateral motion can reduce slippage, reading through a few papers didn’t get me any numerical indication of what to expect.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 10
    +favouriteCount: 14
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1694071771 {#2410
      date: 2023-09-07 09:29:31.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 2057
    -titleTs: "'autonom':5 'consid':1 'mechanum':7 'mechanum-wheel':6 'posit':2 'robot':9 'strategi':3 'wheel':8"
    -bodyTs: "'-8':101 '/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)':133 '12v':116 '2':180 '4':80,99 '5v':114 '90':295 '9110s':102 'academ':633 'accur':551 'activ':148 'ad':262 'add':161,474,489 'allow':88 'also':216 'anoth':475 'anyon':601 'anyway':483 'app':143 'approach':315,448,541 'around':94,166 'autonomi':163 'back':289,339,352 'basic':121 'board':68,200,209 'buck/boost':107 'build':268 'built':93 'bunch':45 'chassi':642 'cheap':126,279 'cheapli':257 'check':527 'clear':625 'cloud':338,597 'combin':153 'commerci':8,17,35 'communic':140,581 'complex':572 'connector':183 'continu':307 'control':74,424,563,590 'convert':108 'correct':530 'could':566 'countrysid':57 'current':348,443 'd':58,236 'decid':25 'defin':519 'degre':296 'design':14,66,472 'develop':232 'didn':658 'differ':152 'direct':359 'disclaim':1 'distanc':362 'doesn':622 'driver':83,104 'e.g':283,542 'easi':414 'easier':504 'effect':255 'effici':582 'either':263 'elimin':585 'encod':192,371,452,514,546,606 'end':468 'engin':626 'enough':230,463,583 'estim':344 'even':543,568 'exercis':634 'expect':668 'experi':604 'fair':571 'fast':305,439 'feedback':561 'fi':73 'fix':204 'foolish':178 'forward':286,386,400,511 'full':265 'generat':169 'get':16,50,660 'give':110,394,549,558 'go':373,578 'goal':627 'godot':146 'good':560 'ground':225 'hack':213 'hand':499 'handl':320,419 'heard':457 'hello':155 'high':462 'hurt':375 'inaccur':470 'independ':81 'indic':664 'instruct':354,396,575 'jst':182 'lack':368 'laser':280,387 'later':208,648 'latter':314 'lean':311 'let':247 'lidar':266,271,299,330,540 'limit':270 'line':117 'littl':41,142 'll':202 'local':587 'locat':349 'lower':533 'm':158,239,380,421,442 'made':123 'make':39,579 'map':170 'may':24,49 'maze':172 'mcu':417,508 'mechan':464 'mechanum':77,459,607 'mention':19 'minim':336,644 'money':42 'most':122,631 'motion':90,649 'motor':82,103,150,186,189,276 'move':165,356,399,510 'multipl':425 'neat':52 'need':302,435,450,646 'new':199 'numer':663 'offer':611 'often':473 'omnidirect':89 'one':84,284,577 'order':198 'pain':196 'paper':657 'per':523 'photo':130 'pi':96 'pico':97 'pin':181 'plan':159,381,422 'plane':226 'point':285,337,384 'posit':250,481,528,552 'possibl':567 'practic':454 'pre':168 'pre-gener':167 'pretti':413 'probabl':38,203,363,502 'process':318 'product':9 'program':54 'project':621 'puls':515,522 'pure':539 'read':408,637,653 'realli':449 'receiv':138 'reduc':651 'remot':321 'request':324 'revis':210 'right':134,242 'rigid':641 'robot':75,249,327,333,346,426,432,594 'room':254 'rotari':191,370,451,513,545 'rout':218 'scale':556 'second':524 'send':334,351,569 'sensor':282,389,407 'seri':573 'server':323,342,430,588 'servo':275 'set':476 'sinc':297 'slippag':465,652 'sloppi':220 'small':554 'soic':100 'solv':171 'sometim':15 'specif':5 'speed':403,534,564 'stage':619 'static':402 'stem':53 'student':48 'super':438 'sweep':293,308,331 'system':112 'target':392 'tell':506 'test':234 'thing':12 'think':240,260 'though':235,495 'time':555 'tip':614 'tof':281,388 'ton':592 'toward':312,390 'track':482 'turn':397 'two':278 'udp':139 'univers':47 'unpow':478 'use':179,188,537,639 'various':11 've':65,456,636 'veloc':518 'voltage.vn':132 'voltage.vn/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)':131 'vps':598 'w':98 'want':28,487 'way':63,494,616 'weigh':30 'well':229 'whatev':600 'wheel':78,87,460,479,491,608 'whether':26,446 'wi':72 'wi-fi':71 'without':197 'wonder':444 'work':228 'world':156 'would':193,501 'written':144 'x':404,512 'y':409,521"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1693616717
    +visibility: "visible             "
    +apId: "https://voltage.vn/post/18974"
    +editedAt: DateTimeImmutable @1693550651 {#1850
      date: 2023-09-01 08:44:11.0 +02:00
    }
    +createdAt: DateTimeImmutable @1693550217 {#2420
      date: 2023-09-01 08:36:57.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: null
  +root: null
  +body: "Assuming that there is at least some amount of slippage between the wheel and ground, it seems to me that you’ll need to regularly check the ToF sensors anyway. I’ve found that encoders are fantastic for a lot of things, but not so much for measuring distance because of the problems you’ve described. Perhaps a recurring local check on a reduced set of points to verify location then forward the full cloud less often for further remote processing? It really sounds like you have a tradeoff depending on whether you value accuracy of location or accuracy of wheel rpm (analogous to speed). Using both would give you a nice way to calculate the ideal motor rpm to minimize slippage in a surface agnostic way."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1693905135 {#4073
    date: 2023-09-05 11:12:15.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Saigonauticon@voltage.vn"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4062 …}
  +nested: Doctrine\ORM\PersistentCollection {#4060 …}
  +votes: Doctrine\ORM\PersistentCollection {#4058 …}
  +reports: Doctrine\ORM\PersistentCollection {#4056 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4024 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4028 …}
  -id: 27754
  -bodyTs: "'accuraci':95,99 'agnost':126 'amount':8 'analog':103 'anyway':30 'assum':1 'calcul':115 'check':26,61 'cloud':75 'depend':90 'describ':56 'distanc':49 'encod':35 'fantast':37 'forward':72 'found':33 'full':74 'give':109 'ground':15 'ideal':117 'least':6 'less':76 'like':85 'll':22 'local':60 'locat':70,97 'lot':40 'measur':48 'minim':121 'motor':118 'much':46 'need':23 'nice':112 'often':77 'perhap':57 'point':67 'problem':53 'process':81 'realli':83 'recur':59 'reduc':64 'regular':25 'remot':80 'rpm':102,119 'seem':17 'sensor':29 'set':65 'slippag':10,122 'sound':84 'speed':105 'surfac':125 'thing':42 'tof':28 'tradeoff':89 'use':106 'valu':94 've':32,55 'verifi':69 'way':113,127 'wheel':13,101 'whether':92 'would':108"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://infosec.pub/comment/2295613"
  +editedAt: null
  +createdAt: DateTimeImmutable @1693625485 {#4009
    date: 2023-09-02 05:31:25.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
7 DENIED edit
App\Entity\EntryComment {#4064
  +user: App\Entity\User {#4012 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Considering-positioning-strategies-for-autonomous-mechanum-wheeled-robots"
    +title: "Considering positioning strategies for autonomous mechanum-wheeled robots"
    +url: null
    +body: """
      Disclaimer: this is not *specifically* for a commercial product, but various things I design sometimes get commercialized. I mention this so that you may decide whether you want to weigh in. If it’s commercialized, I will probably make very little money but a bunch of university students may get a neat STEM program in the countryside :D\n
      \n
      That out of the way, I’ve designed some boards for a Wi-Fi controlled robot with mechanum wheels. So 4 independent motor drivers, one for each wheel, allow omnidirectional motion. It’s built around a Pi Pico W, 4 SOIC-8 9110S motor drivers, and some buck/boost converters to give the system a 5V and 12V line. It’s very basic, mostly made to be cheap. Here’s a photo:\n
      \n
      ![](https://voltage.vn/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)\n
      \n
      Right now it just receives UDP communications (a little app written in Godot) and activates the motors in different combinations – very “hello world”. I’m planning to add some autonomy to move around pre-generated maps, solve mazes, and so on.\n
      \n
      I have foolishly used 2-pin JST connectors for the motors, so using motors with rotary encoders would be a pain without ordering new boards. I’ll probably fix that in a later board revision or just hack it in. Also the routing is sloppy and there’s no ground plane. It works well enough for development and testing though :D\n
      \n
      What I’m thinking about right now, is how to let the robot position itself in a room effectively and cheaply. I was thinking of adding either a full LiDAR or building a limited LiDAR out of a servo motor and two cheap laser ToF sensors – e.g. one pointed forward, the other back, and I can sweep it 90 degrees. Since the LiDAR does not need to be fast or continuously sweep, I am leaning toward the latter approach.\n
      \n
      Then the processing is handled remotely – a server requests that the robot do a LiDAR sweep, the robot sends a minimal point cloud back to the server, which estimates the robot’s current location and sends back some instructions to move in a direction for some distance – probably this is where the lack of rotary encoders is going to hurt, but for now I’m planning on just pointing the forward laser ToF sensor towards a target and give the instruction “turn or move forward at static speed X until the sensor reads Y”, which should be pretty easy for the MCU To handle.\n
      \n
      I’m planning to control multiple robots from the same server. The robots don’t need to be super fast.\n
      \n
      What I’m currently wondering is whether my approach really needs rotary encoders in practice – I’ve heard that mechanum wheels have high enough mechanical slippage that they end up inaccurate, and designers often add another set of unpowered wheels for position tracking anyway. I don’t want to add more wheels in this way though.\n
      \n
      On the other hand, it would probably be easier to tell the MCU to “move forward X rotary encoder pulses at a velocity defined by Y pulses per second, and then check position and correct at a lower speed” than to use a pure LiDAR approach (e.g. even if rotary encoders don’t give me accurate position, on small time scales, they give me good feedback to control speed). I could possibly even send a fairly complex series of instructions in one go, making the communications efficient enough to eliminate a local server and control a ton of robots from a cloud VPS or whatever.\n
      \n
      Anyone have some experience with encoders + mechanum wheels that can offer a few tips my way? At this stage the project doesn’t have clear engineering goals and this is mostly an academic exercise. I’ve read that using a rigid chassis and minimizing the need for lateral motion can reduce slippage, reading through a few papers didn’t get me any numerical indication of what to expect.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 10
    +favouriteCount: 14
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1694071771 {#2410
      date: 2023-09-07 09:29:31.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 2057
    -titleTs: "'autonom':5 'consid':1 'mechanum':7 'mechanum-wheel':6 'posit':2 'robot':9 'strategi':3 'wheel':8"
    -bodyTs: "'-8':101 '/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)':133 '12v':116 '2':180 '4':80,99 '5v':114 '90':295 '9110s':102 'academ':633 'accur':551 'activ':148 'ad':262 'add':161,474,489 'allow':88 'also':216 'anoth':475 'anyon':601 'anyway':483 'app':143 'approach':315,448,541 'around':94,166 'autonomi':163 'back':289,339,352 'basic':121 'board':68,200,209 'buck/boost':107 'build':268 'built':93 'bunch':45 'chassi':642 'cheap':126,279 'cheapli':257 'check':527 'clear':625 'cloud':338,597 'combin':153 'commerci':8,17,35 'communic':140,581 'complex':572 'connector':183 'continu':307 'control':74,424,563,590 'convert':108 'correct':530 'could':566 'countrysid':57 'current':348,443 'd':58,236 'decid':25 'defin':519 'degre':296 'design':14,66,472 'develop':232 'didn':658 'differ':152 'direct':359 'disclaim':1 'distanc':362 'doesn':622 'driver':83,104 'e.g':283,542 'easi':414 'easier':504 'effect':255 'effici':582 'either':263 'elimin':585 'encod':192,371,452,514,546,606 'end':468 'engin':626 'enough':230,463,583 'estim':344 'even':543,568 'exercis':634 'expect':668 'experi':604 'fair':571 'fast':305,439 'feedback':561 'fi':73 'fix':204 'foolish':178 'forward':286,386,400,511 'full':265 'generat':169 'get':16,50,660 'give':110,394,549,558 'go':373,578 'goal':627 'godot':146 'good':560 'ground':225 'hack':213 'hand':499 'handl':320,419 'heard':457 'hello':155 'high':462 'hurt':375 'inaccur':470 'independ':81 'indic':664 'instruct':354,396,575 'jst':182 'lack':368 'laser':280,387 'later':208,648 'latter':314 'lean':311 'let':247 'lidar':266,271,299,330,540 'limit':270 'line':117 'littl':41,142 'll':202 'local':587 'locat':349 'lower':533 'm':158,239,380,421,442 'made':123 'make':39,579 'map':170 'may':24,49 'maze':172 'mcu':417,508 'mechan':464 'mechanum':77,459,607 'mention':19 'minim':336,644 'money':42 'most':122,631 'motion':90,649 'motor':82,103,150,186,189,276 'move':165,356,399,510 'multipl':425 'neat':52 'need':302,435,450,646 'new':199 'numer':663 'offer':611 'often':473 'omnidirect':89 'one':84,284,577 'order':198 'pain':196 'paper':657 'per':523 'photo':130 'pi':96 'pico':97 'pin':181 'plan':159,381,422 'plane':226 'point':285,337,384 'posit':250,481,528,552 'possibl':567 'practic':454 'pre':168 'pre-gener':167 'pretti':413 'probabl':38,203,363,502 'process':318 'product':9 'program':54 'project':621 'puls':515,522 'pure':539 'read':408,637,653 'realli':449 'receiv':138 'reduc':651 'remot':321 'request':324 'revis':210 'right':134,242 'rigid':641 'robot':75,249,327,333,346,426,432,594 'room':254 'rotari':191,370,451,513,545 'rout':218 'scale':556 'second':524 'send':334,351,569 'sensor':282,389,407 'seri':573 'server':323,342,430,588 'servo':275 'set':476 'sinc':297 'slippag':465,652 'sloppi':220 'small':554 'soic':100 'solv':171 'sometim':15 'specif':5 'speed':403,534,564 'stage':619 'static':402 'stem':53 'student':48 'super':438 'sweep':293,308,331 'system':112 'target':392 'tell':506 'test':234 'thing':12 'think':240,260 'though':235,495 'time':555 'tip':614 'tof':281,388 'ton':592 'toward':312,390 'track':482 'turn':397 'two':278 'udp':139 'univers':47 'unpow':478 'use':179,188,537,639 'various':11 've':65,456,636 'veloc':518 'voltage.vn':132 'voltage.vn/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)':131 'vps':598 'w':98 'want':28,487 'way':63,494,616 'weigh':30 'well':229 'whatev':600 'wheel':78,87,460,479,491,608 'whether':26,446 'wi':72 'wi-fi':71 'without':197 'wonder':444 'work':228 'world':156 'would':193,501 'written':144 'x':404,512 'y':409,521"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1693616717
    +visibility: "visible             "
    +apId: "https://voltage.vn/post/18974"
    +editedAt: DateTimeImmutable @1693550651 {#1850
      date: 2023-09-01 08:44:11.0 +02:00
    }
    +createdAt: DateTimeImmutable @1693550217 {#2420
      date: 2023-09-01 08:36:57.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: null
  +root: null
  +body: "Assuming that there is at least some amount of slippage between the wheel and ground, it seems to me that you’ll need to regularly check the ToF sensors anyway. I’ve found that encoders are fantastic for a lot of things, but not so much for measuring distance because of the problems you’ve described. Perhaps a recurring local check on a reduced set of points to verify location then forward the full cloud less often for further remote processing? It really sounds like you have a tradeoff depending on whether you value accuracy of location or accuracy of wheel rpm (analogous to speed). Using both would give you a nice way to calculate the ideal motor rpm to minimize slippage in a surface agnostic way."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1693905135 {#4073
    date: 2023-09-05 11:12:15.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Saigonauticon@voltage.vn"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4062 …}
  +nested: Doctrine\ORM\PersistentCollection {#4060 …}
  +votes: Doctrine\ORM\PersistentCollection {#4058 …}
  +reports: Doctrine\ORM\PersistentCollection {#4056 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4024 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4028 …}
  -id: 27754
  -bodyTs: "'accuraci':95,99 'agnost':126 'amount':8 'analog':103 'anyway':30 'assum':1 'calcul':115 'check':26,61 'cloud':75 'depend':90 'describ':56 'distanc':49 'encod':35 'fantast':37 'forward':72 'found':33 'full':74 'give':109 'ground':15 'ideal':117 'least':6 'less':76 'like':85 'll':22 'local':60 'locat':70,97 'lot':40 'measur':48 'minim':121 'motor':118 'much':46 'need':23 'nice':112 'often':77 'perhap':57 'point':67 'problem':53 'process':81 'realli':83 'recur':59 'reduc':64 'regular':25 'remot':80 'rpm':102,119 'seem':17 'sensor':29 'set':65 'slippag':10,122 'sound':84 'speed':105 'surfac':125 'thing':42 'tof':28 'tradeoff':89 'use':106 'valu':94 've':32,55 'verifi':69 'way':113,127 'wheel':13,101 'whether':92 'would':108"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://infosec.pub/comment/2295613"
  +editedAt: null
  +createdAt: DateTimeImmutable @1693625485 {#4009
    date: 2023-09-02 05:31:25.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
8 DENIED moderate
App\Entity\EntryComment {#4064
  +user: App\Entity\User {#4012 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Considering-positioning-strategies-for-autonomous-mechanum-wheeled-robots"
    +title: "Considering positioning strategies for autonomous mechanum-wheeled robots"
    +url: null
    +body: """
      Disclaimer: this is not *specifically* for a commercial product, but various things I design sometimes get commercialized. I mention this so that you may decide whether you want to weigh in. If it’s commercialized, I will probably make very little money but a bunch of university students may get a neat STEM program in the countryside :D\n
      \n
      That out of the way, I’ve designed some boards for a Wi-Fi controlled robot with mechanum wheels. So 4 independent motor drivers, one for each wheel, allow omnidirectional motion. It’s built around a Pi Pico W, 4 SOIC-8 9110S motor drivers, and some buck/boost converters to give the system a 5V and 12V line. It’s very basic, mostly made to be cheap. Here’s a photo:\n
      \n
      ![](https://voltage.vn/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)\n
      \n
      Right now it just receives UDP communications (a little app written in Godot) and activates the motors in different combinations – very “hello world”. I’m planning to add some autonomy to move around pre-generated maps, solve mazes, and so on.\n
      \n
      I have foolishly used 2-pin JST connectors for the motors, so using motors with rotary encoders would be a pain without ordering new boards. I’ll probably fix that in a later board revision or just hack it in. Also the routing is sloppy and there’s no ground plane. It works well enough for development and testing though :D\n
      \n
      What I’m thinking about right now, is how to let the robot position itself in a room effectively and cheaply. I was thinking of adding either a full LiDAR or building a limited LiDAR out of a servo motor and two cheap laser ToF sensors – e.g. one pointed forward, the other back, and I can sweep it 90 degrees. Since the LiDAR does not need to be fast or continuously sweep, I am leaning toward the latter approach.\n
      \n
      Then the processing is handled remotely – a server requests that the robot do a LiDAR sweep, the robot sends a minimal point cloud back to the server, which estimates the robot’s current location and sends back some instructions to move in a direction for some distance – probably this is where the lack of rotary encoders is going to hurt, but for now I’m planning on just pointing the forward laser ToF sensor towards a target and give the instruction “turn or move forward at static speed X until the sensor reads Y”, which should be pretty easy for the MCU To handle.\n
      \n
      I’m planning to control multiple robots from the same server. The robots don’t need to be super fast.\n
      \n
      What I’m currently wondering is whether my approach really needs rotary encoders in practice – I’ve heard that mechanum wheels have high enough mechanical slippage that they end up inaccurate, and designers often add another set of unpowered wheels for position tracking anyway. I don’t want to add more wheels in this way though.\n
      \n
      On the other hand, it would probably be easier to tell the MCU to “move forward X rotary encoder pulses at a velocity defined by Y pulses per second, and then check position and correct at a lower speed” than to use a pure LiDAR approach (e.g. even if rotary encoders don’t give me accurate position, on small time scales, they give me good feedback to control speed). I could possibly even send a fairly complex series of instructions in one go, making the communications efficient enough to eliminate a local server and control a ton of robots from a cloud VPS or whatever.\n
      \n
      Anyone have some experience with encoders + mechanum wheels that can offer a few tips my way? At this stage the project doesn’t have clear engineering goals and this is mostly an academic exercise. I’ve read that using a rigid chassis and minimizing the need for lateral motion can reduce slippage, reading through a few papers didn’t get me any numerical indication of what to expect.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 10
    +favouriteCount: 14
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1694071771 {#2410
      date: 2023-09-07 09:29:31.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 2057
    -titleTs: "'autonom':5 'consid':1 'mechanum':7 'mechanum-wheel':6 'posit':2 'robot':9 'strategi':3 'wheel':8"
    -bodyTs: "'-8':101 '/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)':133 '12v':116 '2':180 '4':80,99 '5v':114 '90':295 '9110s':102 'academ':633 'accur':551 'activ':148 'ad':262 'add':161,474,489 'allow':88 'also':216 'anoth':475 'anyon':601 'anyway':483 'app':143 'approach':315,448,541 'around':94,166 'autonomi':163 'back':289,339,352 'basic':121 'board':68,200,209 'buck/boost':107 'build':268 'built':93 'bunch':45 'chassi':642 'cheap':126,279 'cheapli':257 'check':527 'clear':625 'cloud':338,597 'combin':153 'commerci':8,17,35 'communic':140,581 'complex':572 'connector':183 'continu':307 'control':74,424,563,590 'convert':108 'correct':530 'could':566 'countrysid':57 'current':348,443 'd':58,236 'decid':25 'defin':519 'degre':296 'design':14,66,472 'develop':232 'didn':658 'differ':152 'direct':359 'disclaim':1 'distanc':362 'doesn':622 'driver':83,104 'e.g':283,542 'easi':414 'easier':504 'effect':255 'effici':582 'either':263 'elimin':585 'encod':192,371,452,514,546,606 'end':468 'engin':626 'enough':230,463,583 'estim':344 'even':543,568 'exercis':634 'expect':668 'experi':604 'fair':571 'fast':305,439 'feedback':561 'fi':73 'fix':204 'foolish':178 'forward':286,386,400,511 'full':265 'generat':169 'get':16,50,660 'give':110,394,549,558 'go':373,578 'goal':627 'godot':146 'good':560 'ground':225 'hack':213 'hand':499 'handl':320,419 'heard':457 'hello':155 'high':462 'hurt':375 'inaccur':470 'independ':81 'indic':664 'instruct':354,396,575 'jst':182 'lack':368 'laser':280,387 'later':208,648 'latter':314 'lean':311 'let':247 'lidar':266,271,299,330,540 'limit':270 'line':117 'littl':41,142 'll':202 'local':587 'locat':349 'lower':533 'm':158,239,380,421,442 'made':123 'make':39,579 'map':170 'may':24,49 'maze':172 'mcu':417,508 'mechan':464 'mechanum':77,459,607 'mention':19 'minim':336,644 'money':42 'most':122,631 'motion':90,649 'motor':82,103,150,186,189,276 'move':165,356,399,510 'multipl':425 'neat':52 'need':302,435,450,646 'new':199 'numer':663 'offer':611 'often':473 'omnidirect':89 'one':84,284,577 'order':198 'pain':196 'paper':657 'per':523 'photo':130 'pi':96 'pico':97 'pin':181 'plan':159,381,422 'plane':226 'point':285,337,384 'posit':250,481,528,552 'possibl':567 'practic':454 'pre':168 'pre-gener':167 'pretti':413 'probabl':38,203,363,502 'process':318 'product':9 'program':54 'project':621 'puls':515,522 'pure':539 'read':408,637,653 'realli':449 'receiv':138 'reduc':651 'remot':321 'request':324 'revis':210 'right':134,242 'rigid':641 'robot':75,249,327,333,346,426,432,594 'room':254 'rotari':191,370,451,513,545 'rout':218 'scale':556 'second':524 'send':334,351,569 'sensor':282,389,407 'seri':573 'server':323,342,430,588 'servo':275 'set':476 'sinc':297 'slippag':465,652 'sloppi':220 'small':554 'soic':100 'solv':171 'sometim':15 'specif':5 'speed':403,534,564 'stage':619 'static':402 'stem':53 'student':48 'super':438 'sweep':293,308,331 'system':112 'target':392 'tell':506 'test':234 'thing':12 'think':240,260 'though':235,495 'time':555 'tip':614 'tof':281,388 'ton':592 'toward':312,390 'track':482 'turn':397 'two':278 'udp':139 'univers':47 'unpow':478 'use':179,188,537,639 'various':11 've':65,456,636 'veloc':518 'voltage.vn':132 'voltage.vn/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)':131 'vps':598 'w':98 'want':28,487 'way':63,494,616 'weigh':30 'well':229 'whatev':600 'wheel':78,87,460,479,491,608 'whether':26,446 'wi':72 'wi-fi':71 'without':197 'wonder':444 'work':228 'world':156 'would':193,501 'written':144 'x':404,512 'y':409,521"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1693616717
    +visibility: "visible             "
    +apId: "https://voltage.vn/post/18974"
    +editedAt: DateTimeImmutable @1693550651 {#1850
      date: 2023-09-01 08:44:11.0 +02:00
    }
    +createdAt: DateTimeImmutable @1693550217 {#2420
      date: 2023-09-01 08:36:57.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: null
  +root: null
  +body: "Assuming that there is at least some amount of slippage between the wheel and ground, it seems to me that you’ll need to regularly check the ToF sensors anyway. I’ve found that encoders are fantastic for a lot of things, but not so much for measuring distance because of the problems you’ve described. Perhaps a recurring local check on a reduced set of points to verify location then forward the full cloud less often for further remote processing? It really sounds like you have a tradeoff depending on whether you value accuracy of location or accuracy of wheel rpm (analogous to speed). Using both would give you a nice way to calculate the ideal motor rpm to minimize slippage in a surface agnostic way."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1693905135 {#4073
    date: 2023-09-05 11:12:15.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Saigonauticon@voltage.vn"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4062 …}
  +nested: Doctrine\ORM\PersistentCollection {#4060 …}
  +votes: Doctrine\ORM\PersistentCollection {#4058 …}
  +reports: Doctrine\ORM\PersistentCollection {#4056 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4024 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4028 …}
  -id: 27754
  -bodyTs: "'accuraci':95,99 'agnost':126 'amount':8 'analog':103 'anyway':30 'assum':1 'calcul':115 'check':26,61 'cloud':75 'depend':90 'describ':56 'distanc':49 'encod':35 'fantast':37 'forward':72 'found':33 'full':74 'give':109 'ground':15 'ideal':117 'least':6 'less':76 'like':85 'll':22 'local':60 'locat':70,97 'lot':40 'measur':48 'minim':121 'motor':118 'much':46 'need':23 'nice':112 'often':77 'perhap':57 'point':67 'problem':53 'process':81 'realli':83 'recur':59 'reduc':64 'regular':25 'remot':80 'rpm':102,119 'seem':17 'sensor':29 'set':65 'slippag':10,122 'sound':84 'speed':105 'surfac':125 'thing':42 'tof':28 'tradeoff':89 'use':106 'valu':94 've':32,55 'verifi':69 'way':113,127 'wheel':13,101 'whether':92 'would':108"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://infosec.pub/comment/2295613"
  +editedAt: null
  +createdAt: DateTimeImmutable @1693625485 {#4009
    date: 2023-09-02 05:31:25.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
9 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
10 DENIED moderate
App\Entity\EntryComment {#4295
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Considering-positioning-strategies-for-autonomous-mechanum-wheeled-robots"
    +title: "Considering positioning strategies for autonomous mechanum-wheeled robots"
    +url: null
    +body: """
      Disclaimer: this is not *specifically* for a commercial product, but various things I design sometimes get commercialized. I mention this so that you may decide whether you want to weigh in. If it’s commercialized, I will probably make very little money but a bunch of university students may get a neat STEM program in the countryside :D\n
      \n
      That out of the way, I’ve designed some boards for a Wi-Fi controlled robot with mechanum wheels. So 4 independent motor drivers, one for each wheel, allow omnidirectional motion. It’s built around a Pi Pico W, 4 SOIC-8 9110S motor drivers, and some buck/boost converters to give the system a 5V and 12V line. It’s very basic, mostly made to be cheap. Here’s a photo:\n
      \n
      ![](https://voltage.vn/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)\n
      \n
      Right now it just receives UDP communications (a little app written in Godot) and activates the motors in different combinations – very “hello world”. I’m planning to add some autonomy to move around pre-generated maps, solve mazes, and so on.\n
      \n
      I have foolishly used 2-pin JST connectors for the motors, so using motors with rotary encoders would be a pain without ordering new boards. I’ll probably fix that in a later board revision or just hack it in. Also the routing is sloppy and there’s no ground plane. It works well enough for development and testing though :D\n
      \n
      What I’m thinking about right now, is how to let the robot position itself in a room effectively and cheaply. I was thinking of adding either a full LiDAR or building a limited LiDAR out of a servo motor and two cheap laser ToF sensors – e.g. one pointed forward, the other back, and I can sweep it 90 degrees. Since the LiDAR does not need to be fast or continuously sweep, I am leaning toward the latter approach.\n
      \n
      Then the processing is handled remotely – a server requests that the robot do a LiDAR sweep, the robot sends a minimal point cloud back to the server, which estimates the robot’s current location and sends back some instructions to move in a direction for some distance – probably this is where the lack of rotary encoders is going to hurt, but for now I’m planning on just pointing the forward laser ToF sensor towards a target and give the instruction “turn or move forward at static speed X until the sensor reads Y”, which should be pretty easy for the MCU To handle.\n
      \n
      I’m planning to control multiple robots from the same server. The robots don’t need to be super fast.\n
      \n
      What I’m currently wondering is whether my approach really needs rotary encoders in practice – I’ve heard that mechanum wheels have high enough mechanical slippage that they end up inaccurate, and designers often add another set of unpowered wheels for position tracking anyway. I don’t want to add more wheels in this way though.\n
      \n
      On the other hand, it would probably be easier to tell the MCU to “move forward X rotary encoder pulses at a velocity defined by Y pulses per second, and then check position and correct at a lower speed” than to use a pure LiDAR approach (e.g. even if rotary encoders don’t give me accurate position, on small time scales, they give me good feedback to control speed). I could possibly even send a fairly complex series of instructions in one go, making the communications efficient enough to eliminate a local server and control a ton of robots from a cloud VPS or whatever.\n
      \n
      Anyone have some experience with encoders + mechanum wheels that can offer a few tips my way? At this stage the project doesn’t have clear engineering goals and this is mostly an academic exercise. I’ve read that using a rigid chassis and minimizing the need for lateral motion can reduce slippage, reading through a few papers didn’t get me any numerical indication of what to expect.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 10
    +favouriteCount: 14
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1694071771 {#2410
      date: 2023-09-07 09:29:31.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 2057
    -titleTs: "'autonom':5 'consid':1 'mechanum':7 'mechanum-wheel':6 'posit':2 'robot':9 'strategi':3 'wheel':8"
    -bodyTs: "'-8':101 '/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)':133 '12v':116 '2':180 '4':80,99 '5v':114 '90':295 '9110s':102 'academ':633 'accur':551 'activ':148 'ad':262 'add':161,474,489 'allow':88 'also':216 'anoth':475 'anyon':601 'anyway':483 'app':143 'approach':315,448,541 'around':94,166 'autonomi':163 'back':289,339,352 'basic':121 'board':68,200,209 'buck/boost':107 'build':268 'built':93 'bunch':45 'chassi':642 'cheap':126,279 'cheapli':257 'check':527 'clear':625 'cloud':338,597 'combin':153 'commerci':8,17,35 'communic':140,581 'complex':572 'connector':183 'continu':307 'control':74,424,563,590 'convert':108 'correct':530 'could':566 'countrysid':57 'current':348,443 'd':58,236 'decid':25 'defin':519 'degre':296 'design':14,66,472 'develop':232 'didn':658 'differ':152 'direct':359 'disclaim':1 'distanc':362 'doesn':622 'driver':83,104 'e.g':283,542 'easi':414 'easier':504 'effect':255 'effici':582 'either':263 'elimin':585 'encod':192,371,452,514,546,606 'end':468 'engin':626 'enough':230,463,583 'estim':344 'even':543,568 'exercis':634 'expect':668 'experi':604 'fair':571 'fast':305,439 'feedback':561 'fi':73 'fix':204 'foolish':178 'forward':286,386,400,511 'full':265 'generat':169 'get':16,50,660 'give':110,394,549,558 'go':373,578 'goal':627 'godot':146 'good':560 'ground':225 'hack':213 'hand':499 'handl':320,419 'heard':457 'hello':155 'high':462 'hurt':375 'inaccur':470 'independ':81 'indic':664 'instruct':354,396,575 'jst':182 'lack':368 'laser':280,387 'later':208,648 'latter':314 'lean':311 'let':247 'lidar':266,271,299,330,540 'limit':270 'line':117 'littl':41,142 'll':202 'local':587 'locat':349 'lower':533 'm':158,239,380,421,442 'made':123 'make':39,579 'map':170 'may':24,49 'maze':172 'mcu':417,508 'mechan':464 'mechanum':77,459,607 'mention':19 'minim':336,644 'money':42 'most':122,631 'motion':90,649 'motor':82,103,150,186,189,276 'move':165,356,399,510 'multipl':425 'neat':52 'need':302,435,450,646 'new':199 'numer':663 'offer':611 'often':473 'omnidirect':89 'one':84,284,577 'order':198 'pain':196 'paper':657 'per':523 'photo':130 'pi':96 'pico':97 'pin':181 'plan':159,381,422 'plane':226 'point':285,337,384 'posit':250,481,528,552 'possibl':567 'practic':454 'pre':168 'pre-gener':167 'pretti':413 'probabl':38,203,363,502 'process':318 'product':9 'program':54 'project':621 'puls':515,522 'pure':539 'read':408,637,653 'realli':449 'receiv':138 'reduc':651 'remot':321 'request':324 'revis':210 'right':134,242 'rigid':641 'robot':75,249,327,333,346,426,432,594 'room':254 'rotari':191,370,451,513,545 'rout':218 'scale':556 'second':524 'send':334,351,569 'sensor':282,389,407 'seri':573 'server':323,342,430,588 'servo':275 'set':476 'sinc':297 'slippag':465,652 'sloppi':220 'small':554 'soic':100 'solv':171 'sometim':15 'specif':5 'speed':403,534,564 'stage':619 'static':402 'stem':53 'student':48 'super':438 'sweep':293,308,331 'system':112 'target':392 'tell':506 'test':234 'thing':12 'think':240,260 'though':235,495 'time':555 'tip':614 'tof':281,388 'ton':592 'toward':312,390 'track':482 'turn':397 'two':278 'udp':139 'univers':47 'unpow':478 'use':179,188,537,639 'various':11 've':65,456,636 'veloc':518 'voltage.vn':132 'voltage.vn/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)':131 'vps':598 'w':98 'want':28,487 'way':63,494,616 'weigh':30 'well':229 'whatev':600 'wheel':78,87,460,479,491,608 'whether':26,446 'wi':72 'wi-fi':71 'without':197 'wonder':444 'work':228 'world':156 'would':193,501 'written':144 'x':404,512 'y':409,521"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1693616717
    +visibility: "visible             "
    +apId: "https://voltage.vn/post/18974"
    +editedAt: DateTimeImmutable @1693550651 {#1850
      date: 2023-09-01 08:44:11.0 +02:00
    }
    +createdAt: DateTimeImmutable @1693550217 {#2420
      date: 2023-09-01 08:36:57.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4064
    +user: App\Entity\User {#4012 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Assuming that there is at least some amount of slippage between the wheel and ground, it seems to me that you’ll need to regularly check the ToF sensors anyway. I’ve found that encoders are fantastic for a lot of things, but not so much for measuring distance because of the problems you’ve described. Perhaps a recurring local check on a reduced set of points to verify location then forward the full cloud less often for further remote processing? It really sounds like you have a tradeoff depending on whether you value accuracy of location or accuracy of wheel rpm (analogous to speed). Using both would give you a nice way to calculate the ideal motor rpm to minimize slippage in a surface agnostic way."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1693905135 {#4073
      date: 2023-09-05 11:12:15.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Saigonauticon@voltage.vn"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4062 …}
    +nested: Doctrine\ORM\PersistentCollection {#4060 …}
    +votes: Doctrine\ORM\PersistentCollection {#4058 …}
    +reports: Doctrine\ORM\PersistentCollection {#4056 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4024 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4028 …}
    -id: 27754
    -bodyTs: "'accuraci':95,99 'agnost':126 'amount':8 'analog':103 'anyway':30 'assum':1 'calcul':115 'check':26,61 'cloud':75 'depend':90 'describ':56 'distanc':49 'encod':35 'fantast':37 'forward':72 'found':33 'full':74 'give':109 'ground':15 'ideal':117 'least':6 'less':76 'like':85 'll':22 'local':60 'locat':70,97 'lot':40 'measur':48 'minim':121 'motor':118 'much':46 'need':23 'nice':112 'often':77 'perhap':57 'point':67 'problem':53 'process':81 'realli':83 'recur':59 'reduc':64 'regular':25 'remot':80 'rpm':102,119 'seem':17 'sensor':29 'set':65 'slippag':10,122 'sound':84 'speed':105 'surfac':125 'thing':42 'tof':28 'tradeoff':89 'use':106 'valu':94 've':32,55 'verifi':69 'way':113,127 'wheel':13,101 'whether':92 'would':108"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://infosec.pub/comment/2295613"
    +editedAt: null
    +createdAt: DateTimeImmutable @1693625485 {#4009
      date: 2023-09-02 05:31:25.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4064}
  +body: """
    Ok yeah – I’m leaning toward relying more on the laser ToF than the rotary encoders.\n
    \n
    A simple algorithm of ‘pick a lidar point and drive toward it’ does sound simplest. Thanks for weighing in!
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1693905129 {#4293
    date: 2023-09-05 11:12:09.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Saigonauticon@voltage.vn"
    "@BlueAure@infosec.pub"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4296 …}
  +nested: Doctrine\ORM\PersistentCollection {#4298 …}
  +votes: Doctrine\ORM\PersistentCollection {#4300 …}
  +reports: Doctrine\ORM\PersistentCollection {#4302 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4304 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4306 …}
  -id: 28062
  -bodyTs: "'algorithm':19 'drive':26 'encod':16 'laser':11 'lean':5 'lidar':23 'm':4 'ok':1 'pick':21 'point':24 'reli':7 'rotari':15 'simpl':18 'simplest':31 'sound':30 'thank':32 'tof':12 'toward':6,27 'weigh':34 'yeah':2"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://voltage.vn/comment/212501"
  +editedAt: null
  +createdAt: DateTimeImmutable @1693905129 {#4294
    date: 2023-09-05 11:12:09.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
11 DENIED edit
App\Entity\EntryComment {#4295
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Considering-positioning-strategies-for-autonomous-mechanum-wheeled-robots"
    +title: "Considering positioning strategies for autonomous mechanum-wheeled robots"
    +url: null
    +body: """
      Disclaimer: this is not *specifically* for a commercial product, but various things I design sometimes get commercialized. I mention this so that you may decide whether you want to weigh in. If it’s commercialized, I will probably make very little money but a bunch of university students may get a neat STEM program in the countryside :D\n
      \n
      That out of the way, I’ve designed some boards for a Wi-Fi controlled robot with mechanum wheels. So 4 independent motor drivers, one for each wheel, allow omnidirectional motion. It’s built around a Pi Pico W, 4 SOIC-8 9110S motor drivers, and some buck/boost converters to give the system a 5V and 12V line. It’s very basic, mostly made to be cheap. Here’s a photo:\n
      \n
      ![](https://voltage.vn/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)\n
      \n
      Right now it just receives UDP communications (a little app written in Godot) and activates the motors in different combinations – very “hello world”. I’m planning to add some autonomy to move around pre-generated maps, solve mazes, and so on.\n
      \n
      I have foolishly used 2-pin JST connectors for the motors, so using motors with rotary encoders would be a pain without ordering new boards. I’ll probably fix that in a later board revision or just hack it in. Also the routing is sloppy and there’s no ground plane. It works well enough for development and testing though :D\n
      \n
      What I’m thinking about right now, is how to let the robot position itself in a room effectively and cheaply. I was thinking of adding either a full LiDAR or building a limited LiDAR out of a servo motor and two cheap laser ToF sensors – e.g. one pointed forward, the other back, and I can sweep it 90 degrees. Since the LiDAR does not need to be fast or continuously sweep, I am leaning toward the latter approach.\n
      \n
      Then the processing is handled remotely – a server requests that the robot do a LiDAR sweep, the robot sends a minimal point cloud back to the server, which estimates the robot’s current location and sends back some instructions to move in a direction for some distance – probably this is where the lack of rotary encoders is going to hurt, but for now I’m planning on just pointing the forward laser ToF sensor towards a target and give the instruction “turn or move forward at static speed X until the sensor reads Y”, which should be pretty easy for the MCU To handle.\n
      \n
      I’m planning to control multiple robots from the same server. The robots don’t need to be super fast.\n
      \n
      What I’m currently wondering is whether my approach really needs rotary encoders in practice – I’ve heard that mechanum wheels have high enough mechanical slippage that they end up inaccurate, and designers often add another set of unpowered wheels for position tracking anyway. I don’t want to add more wheels in this way though.\n
      \n
      On the other hand, it would probably be easier to tell the MCU to “move forward X rotary encoder pulses at a velocity defined by Y pulses per second, and then check position and correct at a lower speed” than to use a pure LiDAR approach (e.g. even if rotary encoders don’t give me accurate position, on small time scales, they give me good feedback to control speed). I could possibly even send a fairly complex series of instructions in one go, making the communications efficient enough to eliminate a local server and control a ton of robots from a cloud VPS or whatever.\n
      \n
      Anyone have some experience with encoders + mechanum wheels that can offer a few tips my way? At this stage the project doesn’t have clear engineering goals and this is mostly an academic exercise. I’ve read that using a rigid chassis and minimizing the need for lateral motion can reduce slippage, reading through a few papers didn’t get me any numerical indication of what to expect.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 10
    +favouriteCount: 14
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1694071771 {#2410
      date: 2023-09-07 09:29:31.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 2057
    -titleTs: "'autonom':5 'consid':1 'mechanum':7 'mechanum-wheel':6 'posit':2 'robot':9 'strategi':3 'wheel':8"
    -bodyTs: "'-8':101 '/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)':133 '12v':116 '2':180 '4':80,99 '5v':114 '90':295 '9110s':102 'academ':633 'accur':551 'activ':148 'ad':262 'add':161,474,489 'allow':88 'also':216 'anoth':475 'anyon':601 'anyway':483 'app':143 'approach':315,448,541 'around':94,166 'autonomi':163 'back':289,339,352 'basic':121 'board':68,200,209 'buck/boost':107 'build':268 'built':93 'bunch':45 'chassi':642 'cheap':126,279 'cheapli':257 'check':527 'clear':625 'cloud':338,597 'combin':153 'commerci':8,17,35 'communic':140,581 'complex':572 'connector':183 'continu':307 'control':74,424,563,590 'convert':108 'correct':530 'could':566 'countrysid':57 'current':348,443 'd':58,236 'decid':25 'defin':519 'degre':296 'design':14,66,472 'develop':232 'didn':658 'differ':152 'direct':359 'disclaim':1 'distanc':362 'doesn':622 'driver':83,104 'e.g':283,542 'easi':414 'easier':504 'effect':255 'effici':582 'either':263 'elimin':585 'encod':192,371,452,514,546,606 'end':468 'engin':626 'enough':230,463,583 'estim':344 'even':543,568 'exercis':634 'expect':668 'experi':604 'fair':571 'fast':305,439 'feedback':561 'fi':73 'fix':204 'foolish':178 'forward':286,386,400,511 'full':265 'generat':169 'get':16,50,660 'give':110,394,549,558 'go':373,578 'goal':627 'godot':146 'good':560 'ground':225 'hack':213 'hand':499 'handl':320,419 'heard':457 'hello':155 'high':462 'hurt':375 'inaccur':470 'independ':81 'indic':664 'instruct':354,396,575 'jst':182 'lack':368 'laser':280,387 'later':208,648 'latter':314 'lean':311 'let':247 'lidar':266,271,299,330,540 'limit':270 'line':117 'littl':41,142 'll':202 'local':587 'locat':349 'lower':533 'm':158,239,380,421,442 'made':123 'make':39,579 'map':170 'may':24,49 'maze':172 'mcu':417,508 'mechan':464 'mechanum':77,459,607 'mention':19 'minim':336,644 'money':42 'most':122,631 'motion':90,649 'motor':82,103,150,186,189,276 'move':165,356,399,510 'multipl':425 'neat':52 'need':302,435,450,646 'new':199 'numer':663 'offer':611 'often':473 'omnidirect':89 'one':84,284,577 'order':198 'pain':196 'paper':657 'per':523 'photo':130 'pi':96 'pico':97 'pin':181 'plan':159,381,422 'plane':226 'point':285,337,384 'posit':250,481,528,552 'possibl':567 'practic':454 'pre':168 'pre-gener':167 'pretti':413 'probabl':38,203,363,502 'process':318 'product':9 'program':54 'project':621 'puls':515,522 'pure':539 'read':408,637,653 'realli':449 'receiv':138 'reduc':651 'remot':321 'request':324 'revis':210 'right':134,242 'rigid':641 'robot':75,249,327,333,346,426,432,594 'room':254 'rotari':191,370,451,513,545 'rout':218 'scale':556 'second':524 'send':334,351,569 'sensor':282,389,407 'seri':573 'server':323,342,430,588 'servo':275 'set':476 'sinc':297 'slippag':465,652 'sloppi':220 'small':554 'soic':100 'solv':171 'sometim':15 'specif':5 'speed':403,534,564 'stage':619 'static':402 'stem':53 'student':48 'super':438 'sweep':293,308,331 'system':112 'target':392 'tell':506 'test':234 'thing':12 'think':240,260 'though':235,495 'time':555 'tip':614 'tof':281,388 'ton':592 'toward':312,390 'track':482 'turn':397 'two':278 'udp':139 'univers':47 'unpow':478 'use':179,188,537,639 'various':11 've':65,456,636 'veloc':518 'voltage.vn':132 'voltage.vn/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)':131 'vps':598 'w':98 'want':28,487 'way':63,494,616 'weigh':30 'well':229 'whatev':600 'wheel':78,87,460,479,491,608 'whether':26,446 'wi':72 'wi-fi':71 'without':197 'wonder':444 'work':228 'world':156 'would':193,501 'written':144 'x':404,512 'y':409,521"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1693616717
    +visibility: "visible             "
    +apId: "https://voltage.vn/post/18974"
    +editedAt: DateTimeImmutable @1693550651 {#1850
      date: 2023-09-01 08:44:11.0 +02:00
    }
    +createdAt: DateTimeImmutable @1693550217 {#2420
      date: 2023-09-01 08:36:57.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4064
    +user: App\Entity\User {#4012 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Assuming that there is at least some amount of slippage between the wheel and ground, it seems to me that you’ll need to regularly check the ToF sensors anyway. I’ve found that encoders are fantastic for a lot of things, but not so much for measuring distance because of the problems you’ve described. Perhaps a recurring local check on a reduced set of points to verify location then forward the full cloud less often for further remote processing? It really sounds like you have a tradeoff depending on whether you value accuracy of location or accuracy of wheel rpm (analogous to speed). Using both would give you a nice way to calculate the ideal motor rpm to minimize slippage in a surface agnostic way."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1693905135 {#4073
      date: 2023-09-05 11:12:15.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Saigonauticon@voltage.vn"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4062 …}
    +nested: Doctrine\ORM\PersistentCollection {#4060 …}
    +votes: Doctrine\ORM\PersistentCollection {#4058 …}
    +reports: Doctrine\ORM\PersistentCollection {#4056 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4024 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4028 …}
    -id: 27754
    -bodyTs: "'accuraci':95,99 'agnost':126 'amount':8 'analog':103 'anyway':30 'assum':1 'calcul':115 'check':26,61 'cloud':75 'depend':90 'describ':56 'distanc':49 'encod':35 'fantast':37 'forward':72 'found':33 'full':74 'give':109 'ground':15 'ideal':117 'least':6 'less':76 'like':85 'll':22 'local':60 'locat':70,97 'lot':40 'measur':48 'minim':121 'motor':118 'much':46 'need':23 'nice':112 'often':77 'perhap':57 'point':67 'problem':53 'process':81 'realli':83 'recur':59 'reduc':64 'regular':25 'remot':80 'rpm':102,119 'seem':17 'sensor':29 'set':65 'slippag':10,122 'sound':84 'speed':105 'surfac':125 'thing':42 'tof':28 'tradeoff':89 'use':106 'valu':94 've':32,55 'verifi':69 'way':113,127 'wheel':13,101 'whether':92 'would':108"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://infosec.pub/comment/2295613"
    +editedAt: null
    +createdAt: DateTimeImmutable @1693625485 {#4009
      date: 2023-09-02 05:31:25.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4064}
  +body: """
    Ok yeah – I’m leaning toward relying more on the laser ToF than the rotary encoders.\n
    \n
    A simple algorithm of ‘pick a lidar point and drive toward it’ does sound simplest. Thanks for weighing in!
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1693905129 {#4293
    date: 2023-09-05 11:12:09.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Saigonauticon@voltage.vn"
    "@BlueAure@infosec.pub"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4296 …}
  +nested: Doctrine\ORM\PersistentCollection {#4298 …}
  +votes: Doctrine\ORM\PersistentCollection {#4300 …}
  +reports: Doctrine\ORM\PersistentCollection {#4302 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4304 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4306 …}
  -id: 28062
  -bodyTs: "'algorithm':19 'drive':26 'encod':16 'laser':11 'lean':5 'lidar':23 'm':4 'ok':1 'pick':21 'point':24 'reli':7 'rotari':15 'simpl':18 'simplest':31 'sound':30 'thank':32 'tof':12 'toward':6,27 'weigh':34 'yeah':2"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://voltage.vn/comment/212501"
  +editedAt: null
  +createdAt: DateTimeImmutable @1693905129 {#4294
    date: 2023-09-05 11:12:09.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
12 DENIED moderate
App\Entity\EntryComment {#4295
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Considering-positioning-strategies-for-autonomous-mechanum-wheeled-robots"
    +title: "Considering positioning strategies for autonomous mechanum-wheeled robots"
    +url: null
    +body: """
      Disclaimer: this is not *specifically* for a commercial product, but various things I design sometimes get commercialized. I mention this so that you may decide whether you want to weigh in. If it’s commercialized, I will probably make very little money but a bunch of university students may get a neat STEM program in the countryside :D\n
      \n
      That out of the way, I’ve designed some boards for a Wi-Fi controlled robot with mechanum wheels. So 4 independent motor drivers, one for each wheel, allow omnidirectional motion. It’s built around a Pi Pico W, 4 SOIC-8 9110S motor drivers, and some buck/boost converters to give the system a 5V and 12V line. It’s very basic, mostly made to be cheap. Here’s a photo:\n
      \n
      ![](https://voltage.vn/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)\n
      \n
      Right now it just receives UDP communications (a little app written in Godot) and activates the motors in different combinations – very “hello world”. I’m planning to add some autonomy to move around pre-generated maps, solve mazes, and so on.\n
      \n
      I have foolishly used 2-pin JST connectors for the motors, so using motors with rotary encoders would be a pain without ordering new boards. I’ll probably fix that in a later board revision or just hack it in. Also the routing is sloppy and there’s no ground plane. It works well enough for development and testing though :D\n
      \n
      What I’m thinking about right now, is how to let the robot position itself in a room effectively and cheaply. I was thinking of adding either a full LiDAR or building a limited LiDAR out of a servo motor and two cheap laser ToF sensors – e.g. one pointed forward, the other back, and I can sweep it 90 degrees. Since the LiDAR does not need to be fast or continuously sweep, I am leaning toward the latter approach.\n
      \n
      Then the processing is handled remotely – a server requests that the robot do a LiDAR sweep, the robot sends a minimal point cloud back to the server, which estimates the robot’s current location and sends back some instructions to move in a direction for some distance – probably this is where the lack of rotary encoders is going to hurt, but for now I’m planning on just pointing the forward laser ToF sensor towards a target and give the instruction “turn or move forward at static speed X until the sensor reads Y”, which should be pretty easy for the MCU To handle.\n
      \n
      I’m planning to control multiple robots from the same server. The robots don’t need to be super fast.\n
      \n
      What I’m currently wondering is whether my approach really needs rotary encoders in practice – I’ve heard that mechanum wheels have high enough mechanical slippage that they end up inaccurate, and designers often add another set of unpowered wheels for position tracking anyway. I don’t want to add more wheels in this way though.\n
      \n
      On the other hand, it would probably be easier to tell the MCU to “move forward X rotary encoder pulses at a velocity defined by Y pulses per second, and then check position and correct at a lower speed” than to use a pure LiDAR approach (e.g. even if rotary encoders don’t give me accurate position, on small time scales, they give me good feedback to control speed). I could possibly even send a fairly complex series of instructions in one go, making the communications efficient enough to eliminate a local server and control a ton of robots from a cloud VPS or whatever.\n
      \n
      Anyone have some experience with encoders + mechanum wheels that can offer a few tips my way? At this stage the project doesn’t have clear engineering goals and this is mostly an academic exercise. I’ve read that using a rigid chassis and minimizing the need for lateral motion can reduce slippage, reading through a few papers didn’t get me any numerical indication of what to expect.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 10
    +favouriteCount: 14
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1694071771 {#2410
      date: 2023-09-07 09:29:31.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 2057
    -titleTs: "'autonom':5 'consid':1 'mechanum':7 'mechanum-wheel':6 'posit':2 'robot':9 'strategi':3 'wheel':8"
    -bodyTs: "'-8':101 '/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)':133 '12v':116 '2':180 '4':80,99 '5v':114 '90':295 '9110s':102 'academ':633 'accur':551 'activ':148 'ad':262 'add':161,474,489 'allow':88 'also':216 'anoth':475 'anyon':601 'anyway':483 'app':143 'approach':315,448,541 'around':94,166 'autonomi':163 'back':289,339,352 'basic':121 'board':68,200,209 'buck/boost':107 'build':268 'built':93 'bunch':45 'chassi':642 'cheap':126,279 'cheapli':257 'check':527 'clear':625 'cloud':338,597 'combin':153 'commerci':8,17,35 'communic':140,581 'complex':572 'connector':183 'continu':307 'control':74,424,563,590 'convert':108 'correct':530 'could':566 'countrysid':57 'current':348,443 'd':58,236 'decid':25 'defin':519 'degre':296 'design':14,66,472 'develop':232 'didn':658 'differ':152 'direct':359 'disclaim':1 'distanc':362 'doesn':622 'driver':83,104 'e.g':283,542 'easi':414 'easier':504 'effect':255 'effici':582 'either':263 'elimin':585 'encod':192,371,452,514,546,606 'end':468 'engin':626 'enough':230,463,583 'estim':344 'even':543,568 'exercis':634 'expect':668 'experi':604 'fair':571 'fast':305,439 'feedback':561 'fi':73 'fix':204 'foolish':178 'forward':286,386,400,511 'full':265 'generat':169 'get':16,50,660 'give':110,394,549,558 'go':373,578 'goal':627 'godot':146 'good':560 'ground':225 'hack':213 'hand':499 'handl':320,419 'heard':457 'hello':155 'high':462 'hurt':375 'inaccur':470 'independ':81 'indic':664 'instruct':354,396,575 'jst':182 'lack':368 'laser':280,387 'later':208,648 'latter':314 'lean':311 'let':247 'lidar':266,271,299,330,540 'limit':270 'line':117 'littl':41,142 'll':202 'local':587 'locat':349 'lower':533 'm':158,239,380,421,442 'made':123 'make':39,579 'map':170 'may':24,49 'maze':172 'mcu':417,508 'mechan':464 'mechanum':77,459,607 'mention':19 'minim':336,644 'money':42 'most':122,631 'motion':90,649 'motor':82,103,150,186,189,276 'move':165,356,399,510 'multipl':425 'neat':52 'need':302,435,450,646 'new':199 'numer':663 'offer':611 'often':473 'omnidirect':89 'one':84,284,577 'order':198 'pain':196 'paper':657 'per':523 'photo':130 'pi':96 'pico':97 'pin':181 'plan':159,381,422 'plane':226 'point':285,337,384 'posit':250,481,528,552 'possibl':567 'practic':454 'pre':168 'pre-gener':167 'pretti':413 'probabl':38,203,363,502 'process':318 'product':9 'program':54 'project':621 'puls':515,522 'pure':539 'read':408,637,653 'realli':449 'receiv':138 'reduc':651 'remot':321 'request':324 'revis':210 'right':134,242 'rigid':641 'robot':75,249,327,333,346,426,432,594 'room':254 'rotari':191,370,451,513,545 'rout':218 'scale':556 'second':524 'send':334,351,569 'sensor':282,389,407 'seri':573 'server':323,342,430,588 'servo':275 'set':476 'sinc':297 'slippag':465,652 'sloppi':220 'small':554 'soic':100 'solv':171 'sometim':15 'specif':5 'speed':403,534,564 'stage':619 'static':402 'stem':53 'student':48 'super':438 'sweep':293,308,331 'system':112 'target':392 'tell':506 'test':234 'thing':12 'think':240,260 'though':235,495 'time':555 'tip':614 'tof':281,388 'ton':592 'toward':312,390 'track':482 'turn':397 'two':278 'udp':139 'univers':47 'unpow':478 'use':179,188,537,639 'various':11 've':65,456,636 'veloc':518 'voltage.vn':132 'voltage.vn/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)':131 'vps':598 'w':98 'want':28,487 'way':63,494,616 'weigh':30 'well':229 'whatev':600 'wheel':78,87,460,479,491,608 'whether':26,446 'wi':72 'wi-fi':71 'without':197 'wonder':444 'work':228 'world':156 'would':193,501 'written':144 'x':404,512 'y':409,521"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1693616717
    +visibility: "visible             "
    +apId: "https://voltage.vn/post/18974"
    +editedAt: DateTimeImmutable @1693550651 {#1850
      date: 2023-09-01 08:44:11.0 +02:00
    }
    +createdAt: DateTimeImmutable @1693550217 {#2420
      date: 2023-09-01 08:36:57.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4064
    +user: App\Entity\User {#4012 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Assuming that there is at least some amount of slippage between the wheel and ground, it seems to me that you’ll need to regularly check the ToF sensors anyway. I’ve found that encoders are fantastic for a lot of things, but not so much for measuring distance because of the problems you’ve described. Perhaps a recurring local check on a reduced set of points to verify location then forward the full cloud less often for further remote processing? It really sounds like you have a tradeoff depending on whether you value accuracy of location or accuracy of wheel rpm (analogous to speed). Using both would give you a nice way to calculate the ideal motor rpm to minimize slippage in a surface agnostic way."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1693905135 {#4073
      date: 2023-09-05 11:12:15.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Saigonauticon@voltage.vn"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4062 …}
    +nested: Doctrine\ORM\PersistentCollection {#4060 …}
    +votes: Doctrine\ORM\PersistentCollection {#4058 …}
    +reports: Doctrine\ORM\PersistentCollection {#4056 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4024 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4028 …}
    -id: 27754
    -bodyTs: "'accuraci':95,99 'agnost':126 'amount':8 'analog':103 'anyway':30 'assum':1 'calcul':115 'check':26,61 'cloud':75 'depend':90 'describ':56 'distanc':49 'encod':35 'fantast':37 'forward':72 'found':33 'full':74 'give':109 'ground':15 'ideal':117 'least':6 'less':76 'like':85 'll':22 'local':60 'locat':70,97 'lot':40 'measur':48 'minim':121 'motor':118 'much':46 'need':23 'nice':112 'often':77 'perhap':57 'point':67 'problem':53 'process':81 'realli':83 'recur':59 'reduc':64 'regular':25 'remot':80 'rpm':102,119 'seem':17 'sensor':29 'set':65 'slippag':10,122 'sound':84 'speed':105 'surfac':125 'thing':42 'tof':28 'tradeoff':89 'use':106 'valu':94 've':32,55 'verifi':69 'way':113,127 'wheel':13,101 'whether':92 'would':108"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://infosec.pub/comment/2295613"
    +editedAt: null
    +createdAt: DateTimeImmutable @1693625485 {#4009
      date: 2023-09-02 05:31:25.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4064}
  +body: """
    Ok yeah – I’m leaning toward relying more on the laser ToF than the rotary encoders.\n
    \n
    A simple algorithm of ‘pick a lidar point and drive toward it’ does sound simplest. Thanks for weighing in!
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1693905129 {#4293
    date: 2023-09-05 11:12:09.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Saigonauticon@voltage.vn"
    "@BlueAure@infosec.pub"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4296 …}
  +nested: Doctrine\ORM\PersistentCollection {#4298 …}
  +votes: Doctrine\ORM\PersistentCollection {#4300 …}
  +reports: Doctrine\ORM\PersistentCollection {#4302 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4304 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4306 …}
  -id: 28062
  -bodyTs: "'algorithm':19 'drive':26 'encod':16 'laser':11 'lean':5 'lidar':23 'm':4 'ok':1 'pick':21 'point':24 'reli':7 'rotari':15 'simpl':18 'simplest':31 'sound':30 'thank':32 'tof':12 'toward':6,27 'weigh':34 'yeah':2"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://voltage.vn/comment/212501"
  +editedAt: null
  +createdAt: DateTimeImmutable @1693905129 {#4294
    date: 2023-09-05 11:12:09.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
13 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
14 DENIED moderate
App\Entity\EntryComment {#4101
  +user: App\Entity\User {#4084 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Considering-positioning-strategies-for-autonomous-mechanum-wheeled-robots"
    +title: "Considering positioning strategies for autonomous mechanum-wheeled robots"
    +url: null
    +body: """
      Disclaimer: this is not *specifically* for a commercial product, but various things I design sometimes get commercialized. I mention this so that you may decide whether you want to weigh in. If it’s commercialized, I will probably make very little money but a bunch of university students may get a neat STEM program in the countryside :D\n
      \n
      That out of the way, I’ve designed some boards for a Wi-Fi controlled robot with mechanum wheels. So 4 independent motor drivers, one for each wheel, allow omnidirectional motion. It’s built around a Pi Pico W, 4 SOIC-8 9110S motor drivers, and some buck/boost converters to give the system a 5V and 12V line. It’s very basic, mostly made to be cheap. Here’s a photo:\n
      \n
      ![](https://voltage.vn/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)\n
      \n
      Right now it just receives UDP communications (a little app written in Godot) and activates the motors in different combinations – very “hello world”. I’m planning to add some autonomy to move around pre-generated maps, solve mazes, and so on.\n
      \n
      I have foolishly used 2-pin JST connectors for the motors, so using motors with rotary encoders would be a pain without ordering new boards. I’ll probably fix that in a later board revision or just hack it in. Also the routing is sloppy and there’s no ground plane. It works well enough for development and testing though :D\n
      \n
      What I’m thinking about right now, is how to let the robot position itself in a room effectively and cheaply. I was thinking of adding either a full LiDAR or building a limited LiDAR out of a servo motor and two cheap laser ToF sensors – e.g. one pointed forward, the other back, and I can sweep it 90 degrees. Since the LiDAR does not need to be fast or continuously sweep, I am leaning toward the latter approach.\n
      \n
      Then the processing is handled remotely – a server requests that the robot do a LiDAR sweep, the robot sends a minimal point cloud back to the server, which estimates the robot’s current location and sends back some instructions to move in a direction for some distance – probably this is where the lack of rotary encoders is going to hurt, but for now I’m planning on just pointing the forward laser ToF sensor towards a target and give the instruction “turn or move forward at static speed X until the sensor reads Y”, which should be pretty easy for the MCU To handle.\n
      \n
      I’m planning to control multiple robots from the same server. The robots don’t need to be super fast.\n
      \n
      What I’m currently wondering is whether my approach really needs rotary encoders in practice – I’ve heard that mechanum wheels have high enough mechanical slippage that they end up inaccurate, and designers often add another set of unpowered wheels for position tracking anyway. I don’t want to add more wheels in this way though.\n
      \n
      On the other hand, it would probably be easier to tell the MCU to “move forward X rotary encoder pulses at a velocity defined by Y pulses per second, and then check position and correct at a lower speed” than to use a pure LiDAR approach (e.g. even if rotary encoders don’t give me accurate position, on small time scales, they give me good feedback to control speed). I could possibly even send a fairly complex series of instructions in one go, making the communications efficient enough to eliminate a local server and control a ton of robots from a cloud VPS or whatever.\n
      \n
      Anyone have some experience with encoders + mechanum wheels that can offer a few tips my way? At this stage the project doesn’t have clear engineering goals and this is mostly an academic exercise. I’ve read that using a rigid chassis and minimizing the need for lateral motion can reduce slippage, reading through a few papers didn’t get me any numerical indication of what to expect.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 10
    +favouriteCount: 14
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1694071771 {#2410
      date: 2023-09-07 09:29:31.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 2057
    -titleTs: "'autonom':5 'consid':1 'mechanum':7 'mechanum-wheel':6 'posit':2 'robot':9 'strategi':3 'wheel':8"
    -bodyTs: "'-8':101 '/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)':133 '12v':116 '2':180 '4':80,99 '5v':114 '90':295 '9110s':102 'academ':633 'accur':551 'activ':148 'ad':262 'add':161,474,489 'allow':88 'also':216 'anoth':475 'anyon':601 'anyway':483 'app':143 'approach':315,448,541 'around':94,166 'autonomi':163 'back':289,339,352 'basic':121 'board':68,200,209 'buck/boost':107 'build':268 'built':93 'bunch':45 'chassi':642 'cheap':126,279 'cheapli':257 'check':527 'clear':625 'cloud':338,597 'combin':153 'commerci':8,17,35 'communic':140,581 'complex':572 'connector':183 'continu':307 'control':74,424,563,590 'convert':108 'correct':530 'could':566 'countrysid':57 'current':348,443 'd':58,236 'decid':25 'defin':519 'degre':296 'design':14,66,472 'develop':232 'didn':658 'differ':152 'direct':359 'disclaim':1 'distanc':362 'doesn':622 'driver':83,104 'e.g':283,542 'easi':414 'easier':504 'effect':255 'effici':582 'either':263 'elimin':585 'encod':192,371,452,514,546,606 'end':468 'engin':626 'enough':230,463,583 'estim':344 'even':543,568 'exercis':634 'expect':668 'experi':604 'fair':571 'fast':305,439 'feedback':561 'fi':73 'fix':204 'foolish':178 'forward':286,386,400,511 'full':265 'generat':169 'get':16,50,660 'give':110,394,549,558 'go':373,578 'goal':627 'godot':146 'good':560 'ground':225 'hack':213 'hand':499 'handl':320,419 'heard':457 'hello':155 'high':462 'hurt':375 'inaccur':470 'independ':81 'indic':664 'instruct':354,396,575 'jst':182 'lack':368 'laser':280,387 'later':208,648 'latter':314 'lean':311 'let':247 'lidar':266,271,299,330,540 'limit':270 'line':117 'littl':41,142 'll':202 'local':587 'locat':349 'lower':533 'm':158,239,380,421,442 'made':123 'make':39,579 'map':170 'may':24,49 'maze':172 'mcu':417,508 'mechan':464 'mechanum':77,459,607 'mention':19 'minim':336,644 'money':42 'most':122,631 'motion':90,649 'motor':82,103,150,186,189,276 'move':165,356,399,510 'multipl':425 'neat':52 'need':302,435,450,646 'new':199 'numer':663 'offer':611 'often':473 'omnidirect':89 'one':84,284,577 'order':198 'pain':196 'paper':657 'per':523 'photo':130 'pi':96 'pico':97 'pin':181 'plan':159,381,422 'plane':226 'point':285,337,384 'posit':250,481,528,552 'possibl':567 'practic':454 'pre':168 'pre-gener':167 'pretti':413 'probabl':38,203,363,502 'process':318 'product':9 'program':54 'project':621 'puls':515,522 'pure':539 'read':408,637,653 'realli':449 'receiv':138 'reduc':651 'remot':321 'request':324 'revis':210 'right':134,242 'rigid':641 'robot':75,249,327,333,346,426,432,594 'room':254 'rotari':191,370,451,513,545 'rout':218 'scale':556 'second':524 'send':334,351,569 'sensor':282,389,407 'seri':573 'server':323,342,430,588 'servo':275 'set':476 'sinc':297 'slippag':465,652 'sloppi':220 'small':554 'soic':100 'solv':171 'sometim':15 'specif':5 'speed':403,534,564 'stage':619 'static':402 'stem':53 'student':48 'super':438 'sweep':293,308,331 'system':112 'target':392 'tell':506 'test':234 'thing':12 'think':240,260 'though':235,495 'time':555 'tip':614 'tof':281,388 'ton':592 'toward':312,390 'track':482 'turn':397 'two':278 'udp':139 'univers':47 'unpow':478 'use':179,188,537,639 'various':11 've':65,456,636 'veloc':518 'voltage.vn':132 'voltage.vn/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)':131 'vps':598 'w':98 'want':28,487 'way':63,494,616 'weigh':30 'well':229 'whatev':600 'wheel':78,87,460,479,491,608 'whether':26,446 'wi':72 'wi-fi':71 'without':197 'wonder':444 'work':228 'world':156 'would':193,501 'written':144 'x':404,512 'y':409,521"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1693616717
    +visibility: "visible             "
    +apId: "https://voltage.vn/post/18974"
    +editedAt: DateTimeImmutable @1693550651 {#1850
      date: 2023-09-01 08:44:11.0 +02:00
    }
    +createdAt: DateTimeImmutable @1693550217 {#2420
      date: 2023-09-01 08:36:57.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: null
  +root: null
  +body: """
    I think mecanum wheels slip quite a bit. So I’m not sure how effective those encoders are. But I’ve only ever tried 3d-printed ones. So I’m not super sure.\n
    \n
    You’re sure your STEM students are ready to handle the LiDAR? Manage point clouds, do the arithmetic, path planning etc? We had a practical course with little robots. But they had 3 of those sharp distance sensors at the front and a bumper with a switch. This was enough to teach many concepts and also enough to implement for the students for something that was just a project and not a full time job. But I’m sure that depends on what exactly you want to teach…\n
    \n
    And our robots hat the motor drivers (h-bridges) replaceable on socket terminals because every so often someone wasn’t very clever or didn’t listen in the lectures.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1694071778 {#4102
    date: 2023-09-07 09:29:38.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Saigonauticon@voltage.vn"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4099 …}
  +nested: Doctrine\ORM\PersistentCollection {#4097 …}
  +votes: Doctrine\ORM\PersistentCollection {#4095 …}
  +reports: Doctrine\ORM\PersistentCollection {#4092 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4088 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4086 …}
  -id: 27597
  -bodyTs: "'3':67 '3d':26 '3d-printed':25 'also':90 'arithmet':52 'bit':8 'bridg':132 'bumper':78 'clever':145 'cloud':49 'concept':88 'cours':60 'depend':115 'didn':147 'distanc':71 'driver':129 'effect':15 'encod':17 'enough':84,91 'etc':55 'ever':23 'everi':138 'exact':118 'front':75 'full':107 'h':131 'h-bridg':130 'handl':44 'hat':126 'implement':93 'job':109 'lectur':152 'lidar':46 'listen':149 'littl':62 'm':11,31,112 'manag':47 'mani':87 'mecanum':3 'motor':128 'often':140 'one':28 'path':53 'plan':54 'point':48 'practic':59 'print':27 'project':103 'quit':6 're':36 'readi':42 'replac':133 'robot':63,125 'sensor':72 'sharp':70 'slip':5 'socket':135 'someon':141 'someth':98 'stem':39 'student':40,96 'super':33 'sure':13,34,37,113 'switch':81 'teach':86,122 'termin':136 'think':2 'time':108 'tri':24 've':21 'want':120 'wasn':142 'wheel':4"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://discuss.tchncs.de/comment/2572674"
  +editedAt: DateTimeImmutable @1693564680 {#4107
    date: 2023-09-01 12:38:00.0 +02:00
  }
  +createdAt: DateTimeImmutable @1693564547 {#4105
    date: 2023-09-01 12:35:47.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
15 DENIED edit
App\Entity\EntryComment {#4101
  +user: App\Entity\User {#4084 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Considering-positioning-strategies-for-autonomous-mechanum-wheeled-robots"
    +title: "Considering positioning strategies for autonomous mechanum-wheeled robots"
    +url: null
    +body: """
      Disclaimer: this is not *specifically* for a commercial product, but various things I design sometimes get commercialized. I mention this so that you may decide whether you want to weigh in. If it’s commercialized, I will probably make very little money but a bunch of university students may get a neat STEM program in the countryside :D\n
      \n
      That out of the way, I’ve designed some boards for a Wi-Fi controlled robot with mechanum wheels. So 4 independent motor drivers, one for each wheel, allow omnidirectional motion. It’s built around a Pi Pico W, 4 SOIC-8 9110S motor drivers, and some buck/boost converters to give the system a 5V and 12V line. It’s very basic, mostly made to be cheap. Here’s a photo:\n
      \n
      ![](https://voltage.vn/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)\n
      \n
      Right now it just receives UDP communications (a little app written in Godot) and activates the motors in different combinations – very “hello world”. I’m planning to add some autonomy to move around pre-generated maps, solve mazes, and so on.\n
      \n
      I have foolishly used 2-pin JST connectors for the motors, so using motors with rotary encoders would be a pain without ordering new boards. I’ll probably fix that in a later board revision or just hack it in. Also the routing is sloppy and there’s no ground plane. It works well enough for development and testing though :D\n
      \n
      What I’m thinking about right now, is how to let the robot position itself in a room effectively and cheaply. I was thinking of adding either a full LiDAR or building a limited LiDAR out of a servo motor and two cheap laser ToF sensors – e.g. one pointed forward, the other back, and I can sweep it 90 degrees. Since the LiDAR does not need to be fast or continuously sweep, I am leaning toward the latter approach.\n
      \n
      Then the processing is handled remotely – a server requests that the robot do a LiDAR sweep, the robot sends a minimal point cloud back to the server, which estimates the robot’s current location and sends back some instructions to move in a direction for some distance – probably this is where the lack of rotary encoders is going to hurt, but for now I’m planning on just pointing the forward laser ToF sensor towards a target and give the instruction “turn or move forward at static speed X until the sensor reads Y”, which should be pretty easy for the MCU To handle.\n
      \n
      I’m planning to control multiple robots from the same server. The robots don’t need to be super fast.\n
      \n
      What I’m currently wondering is whether my approach really needs rotary encoders in practice – I’ve heard that mechanum wheels have high enough mechanical slippage that they end up inaccurate, and designers often add another set of unpowered wheels for position tracking anyway. I don’t want to add more wheels in this way though.\n
      \n
      On the other hand, it would probably be easier to tell the MCU to “move forward X rotary encoder pulses at a velocity defined by Y pulses per second, and then check position and correct at a lower speed” than to use a pure LiDAR approach (e.g. even if rotary encoders don’t give me accurate position, on small time scales, they give me good feedback to control speed). I could possibly even send a fairly complex series of instructions in one go, making the communications efficient enough to eliminate a local server and control a ton of robots from a cloud VPS or whatever.\n
      \n
      Anyone have some experience with encoders + mechanum wheels that can offer a few tips my way? At this stage the project doesn’t have clear engineering goals and this is mostly an academic exercise. I’ve read that using a rigid chassis and minimizing the need for lateral motion can reduce slippage, reading through a few papers didn’t get me any numerical indication of what to expect.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 10
    +favouriteCount: 14
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1694071771 {#2410
      date: 2023-09-07 09:29:31.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 2057
    -titleTs: "'autonom':5 'consid':1 'mechanum':7 'mechanum-wheel':6 'posit':2 'robot':9 'strategi':3 'wheel':8"
    -bodyTs: "'-8':101 '/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)':133 '12v':116 '2':180 '4':80,99 '5v':114 '90':295 '9110s':102 'academ':633 'accur':551 'activ':148 'ad':262 'add':161,474,489 'allow':88 'also':216 'anoth':475 'anyon':601 'anyway':483 'app':143 'approach':315,448,541 'around':94,166 'autonomi':163 'back':289,339,352 'basic':121 'board':68,200,209 'buck/boost':107 'build':268 'built':93 'bunch':45 'chassi':642 'cheap':126,279 'cheapli':257 'check':527 'clear':625 'cloud':338,597 'combin':153 'commerci':8,17,35 'communic':140,581 'complex':572 'connector':183 'continu':307 'control':74,424,563,590 'convert':108 'correct':530 'could':566 'countrysid':57 'current':348,443 'd':58,236 'decid':25 'defin':519 'degre':296 'design':14,66,472 'develop':232 'didn':658 'differ':152 'direct':359 'disclaim':1 'distanc':362 'doesn':622 'driver':83,104 'e.g':283,542 'easi':414 'easier':504 'effect':255 'effici':582 'either':263 'elimin':585 'encod':192,371,452,514,546,606 'end':468 'engin':626 'enough':230,463,583 'estim':344 'even':543,568 'exercis':634 'expect':668 'experi':604 'fair':571 'fast':305,439 'feedback':561 'fi':73 'fix':204 'foolish':178 'forward':286,386,400,511 'full':265 'generat':169 'get':16,50,660 'give':110,394,549,558 'go':373,578 'goal':627 'godot':146 'good':560 'ground':225 'hack':213 'hand':499 'handl':320,419 'heard':457 'hello':155 'high':462 'hurt':375 'inaccur':470 'independ':81 'indic':664 'instruct':354,396,575 'jst':182 'lack':368 'laser':280,387 'later':208,648 'latter':314 'lean':311 'let':247 'lidar':266,271,299,330,540 'limit':270 'line':117 'littl':41,142 'll':202 'local':587 'locat':349 'lower':533 'm':158,239,380,421,442 'made':123 'make':39,579 'map':170 'may':24,49 'maze':172 'mcu':417,508 'mechan':464 'mechanum':77,459,607 'mention':19 'minim':336,644 'money':42 'most':122,631 'motion':90,649 'motor':82,103,150,186,189,276 'move':165,356,399,510 'multipl':425 'neat':52 'need':302,435,450,646 'new':199 'numer':663 'offer':611 'often':473 'omnidirect':89 'one':84,284,577 'order':198 'pain':196 'paper':657 'per':523 'photo':130 'pi':96 'pico':97 'pin':181 'plan':159,381,422 'plane':226 'point':285,337,384 'posit':250,481,528,552 'possibl':567 'practic':454 'pre':168 'pre-gener':167 'pretti':413 'probabl':38,203,363,502 'process':318 'product':9 'program':54 'project':621 'puls':515,522 'pure':539 'read':408,637,653 'realli':449 'receiv':138 'reduc':651 'remot':321 'request':324 'revis':210 'right':134,242 'rigid':641 'robot':75,249,327,333,346,426,432,594 'room':254 'rotari':191,370,451,513,545 'rout':218 'scale':556 'second':524 'send':334,351,569 'sensor':282,389,407 'seri':573 'server':323,342,430,588 'servo':275 'set':476 'sinc':297 'slippag':465,652 'sloppi':220 'small':554 'soic':100 'solv':171 'sometim':15 'specif':5 'speed':403,534,564 'stage':619 'static':402 'stem':53 'student':48 'super':438 'sweep':293,308,331 'system':112 'target':392 'tell':506 'test':234 'thing':12 'think':240,260 'though':235,495 'time':555 'tip':614 'tof':281,388 'ton':592 'toward':312,390 'track':482 'turn':397 'two':278 'udp':139 'univers':47 'unpow':478 'use':179,188,537,639 'various':11 've':65,456,636 'veloc':518 'voltage.vn':132 'voltage.vn/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)':131 'vps':598 'w':98 'want':28,487 'way':63,494,616 'weigh':30 'well':229 'whatev':600 'wheel':78,87,460,479,491,608 'whether':26,446 'wi':72 'wi-fi':71 'without':197 'wonder':444 'work':228 'world':156 'would':193,501 'written':144 'x':404,512 'y':409,521"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1693616717
    +visibility: "visible             "
    +apId: "https://voltage.vn/post/18974"
    +editedAt: DateTimeImmutable @1693550651 {#1850
      date: 2023-09-01 08:44:11.0 +02:00
    }
    +createdAt: DateTimeImmutable @1693550217 {#2420
      date: 2023-09-01 08:36:57.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: null
  +root: null
  +body: """
    I think mecanum wheels slip quite a bit. So I’m not sure how effective those encoders are. But I’ve only ever tried 3d-printed ones. So I’m not super sure.\n
    \n
    You’re sure your STEM students are ready to handle the LiDAR? Manage point clouds, do the arithmetic, path planning etc? We had a practical course with little robots. But they had 3 of those sharp distance sensors at the front and a bumper with a switch. This was enough to teach many concepts and also enough to implement for the students for something that was just a project and not a full time job. But I’m sure that depends on what exactly you want to teach…\n
    \n
    And our robots hat the motor drivers (h-bridges) replaceable on socket terminals because every so often someone wasn’t very clever or didn’t listen in the lectures.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1694071778 {#4102
    date: 2023-09-07 09:29:38.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Saigonauticon@voltage.vn"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4099 …}
  +nested: Doctrine\ORM\PersistentCollection {#4097 …}
  +votes: Doctrine\ORM\PersistentCollection {#4095 …}
  +reports: Doctrine\ORM\PersistentCollection {#4092 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4088 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4086 …}
  -id: 27597
  -bodyTs: "'3':67 '3d':26 '3d-printed':25 'also':90 'arithmet':52 'bit':8 'bridg':132 'bumper':78 'clever':145 'cloud':49 'concept':88 'cours':60 'depend':115 'didn':147 'distanc':71 'driver':129 'effect':15 'encod':17 'enough':84,91 'etc':55 'ever':23 'everi':138 'exact':118 'front':75 'full':107 'h':131 'h-bridg':130 'handl':44 'hat':126 'implement':93 'job':109 'lectur':152 'lidar':46 'listen':149 'littl':62 'm':11,31,112 'manag':47 'mani':87 'mecanum':3 'motor':128 'often':140 'one':28 'path':53 'plan':54 'point':48 'practic':59 'print':27 'project':103 'quit':6 're':36 'readi':42 'replac':133 'robot':63,125 'sensor':72 'sharp':70 'slip':5 'socket':135 'someon':141 'someth':98 'stem':39 'student':40,96 'super':33 'sure':13,34,37,113 'switch':81 'teach':86,122 'termin':136 'think':2 'time':108 'tri':24 've':21 'want':120 'wasn':142 'wheel':4"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://discuss.tchncs.de/comment/2572674"
  +editedAt: DateTimeImmutable @1693564680 {#4107
    date: 2023-09-01 12:38:00.0 +02:00
  }
  +createdAt: DateTimeImmutable @1693564547 {#4105
    date: 2023-09-01 12:35:47.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
16 DENIED moderate
App\Entity\EntryComment {#4101
  +user: App\Entity\User {#4084 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Considering-positioning-strategies-for-autonomous-mechanum-wheeled-robots"
    +title: "Considering positioning strategies for autonomous mechanum-wheeled robots"
    +url: null
    +body: """
      Disclaimer: this is not *specifically* for a commercial product, but various things I design sometimes get commercialized. I mention this so that you may decide whether you want to weigh in. If it’s commercialized, I will probably make very little money but a bunch of university students may get a neat STEM program in the countryside :D\n
      \n
      That out of the way, I’ve designed some boards for a Wi-Fi controlled robot with mechanum wheels. So 4 independent motor drivers, one for each wheel, allow omnidirectional motion. It’s built around a Pi Pico W, 4 SOIC-8 9110S motor drivers, and some buck/boost converters to give the system a 5V and 12V line. It’s very basic, mostly made to be cheap. Here’s a photo:\n
      \n
      ![](https://voltage.vn/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)\n
      \n
      Right now it just receives UDP communications (a little app written in Godot) and activates the motors in different combinations – very “hello world”. I’m planning to add some autonomy to move around pre-generated maps, solve mazes, and so on.\n
      \n
      I have foolishly used 2-pin JST connectors for the motors, so using motors with rotary encoders would be a pain without ordering new boards. I’ll probably fix that in a later board revision or just hack it in. Also the routing is sloppy and there’s no ground plane. It works well enough for development and testing though :D\n
      \n
      What I’m thinking about right now, is how to let the robot position itself in a room effectively and cheaply. I was thinking of adding either a full LiDAR or building a limited LiDAR out of a servo motor and two cheap laser ToF sensors – e.g. one pointed forward, the other back, and I can sweep it 90 degrees. Since the LiDAR does not need to be fast or continuously sweep, I am leaning toward the latter approach.\n
      \n
      Then the processing is handled remotely – a server requests that the robot do a LiDAR sweep, the robot sends a minimal point cloud back to the server, which estimates the robot’s current location and sends back some instructions to move in a direction for some distance – probably this is where the lack of rotary encoders is going to hurt, but for now I’m planning on just pointing the forward laser ToF sensor towards a target and give the instruction “turn or move forward at static speed X until the sensor reads Y”, which should be pretty easy for the MCU To handle.\n
      \n
      I’m planning to control multiple robots from the same server. The robots don’t need to be super fast.\n
      \n
      What I’m currently wondering is whether my approach really needs rotary encoders in practice – I’ve heard that mechanum wheels have high enough mechanical slippage that they end up inaccurate, and designers often add another set of unpowered wheels for position tracking anyway. I don’t want to add more wheels in this way though.\n
      \n
      On the other hand, it would probably be easier to tell the MCU to “move forward X rotary encoder pulses at a velocity defined by Y pulses per second, and then check position and correct at a lower speed” than to use a pure LiDAR approach (e.g. even if rotary encoders don’t give me accurate position, on small time scales, they give me good feedback to control speed). I could possibly even send a fairly complex series of instructions in one go, making the communications efficient enough to eliminate a local server and control a ton of robots from a cloud VPS or whatever.\n
      \n
      Anyone have some experience with encoders + mechanum wheels that can offer a few tips my way? At this stage the project doesn’t have clear engineering goals and this is mostly an academic exercise. I’ve read that using a rigid chassis and minimizing the need for lateral motion can reduce slippage, reading through a few papers didn’t get me any numerical indication of what to expect.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 10
    +favouriteCount: 14
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1694071771 {#2410
      date: 2023-09-07 09:29:31.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 2057
    -titleTs: "'autonom':5 'consid':1 'mechanum':7 'mechanum-wheel':6 'posit':2 'robot':9 'strategi':3 'wheel':8"
    -bodyTs: "'-8':101 '/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)':133 '12v':116 '2':180 '4':80,99 '5v':114 '90':295 '9110s':102 'academ':633 'accur':551 'activ':148 'ad':262 'add':161,474,489 'allow':88 'also':216 'anoth':475 'anyon':601 'anyway':483 'app':143 'approach':315,448,541 'around':94,166 'autonomi':163 'back':289,339,352 'basic':121 'board':68,200,209 'buck/boost':107 'build':268 'built':93 'bunch':45 'chassi':642 'cheap':126,279 'cheapli':257 'check':527 'clear':625 'cloud':338,597 'combin':153 'commerci':8,17,35 'communic':140,581 'complex':572 'connector':183 'continu':307 'control':74,424,563,590 'convert':108 'correct':530 'could':566 'countrysid':57 'current':348,443 'd':58,236 'decid':25 'defin':519 'degre':296 'design':14,66,472 'develop':232 'didn':658 'differ':152 'direct':359 'disclaim':1 'distanc':362 'doesn':622 'driver':83,104 'e.g':283,542 'easi':414 'easier':504 'effect':255 'effici':582 'either':263 'elimin':585 'encod':192,371,452,514,546,606 'end':468 'engin':626 'enough':230,463,583 'estim':344 'even':543,568 'exercis':634 'expect':668 'experi':604 'fair':571 'fast':305,439 'feedback':561 'fi':73 'fix':204 'foolish':178 'forward':286,386,400,511 'full':265 'generat':169 'get':16,50,660 'give':110,394,549,558 'go':373,578 'goal':627 'godot':146 'good':560 'ground':225 'hack':213 'hand':499 'handl':320,419 'heard':457 'hello':155 'high':462 'hurt':375 'inaccur':470 'independ':81 'indic':664 'instruct':354,396,575 'jst':182 'lack':368 'laser':280,387 'later':208,648 'latter':314 'lean':311 'let':247 'lidar':266,271,299,330,540 'limit':270 'line':117 'littl':41,142 'll':202 'local':587 'locat':349 'lower':533 'm':158,239,380,421,442 'made':123 'make':39,579 'map':170 'may':24,49 'maze':172 'mcu':417,508 'mechan':464 'mechanum':77,459,607 'mention':19 'minim':336,644 'money':42 'most':122,631 'motion':90,649 'motor':82,103,150,186,189,276 'move':165,356,399,510 'multipl':425 'neat':52 'need':302,435,450,646 'new':199 'numer':663 'offer':611 'often':473 'omnidirect':89 'one':84,284,577 'order':198 'pain':196 'paper':657 'per':523 'photo':130 'pi':96 'pico':97 'pin':181 'plan':159,381,422 'plane':226 'point':285,337,384 'posit':250,481,528,552 'possibl':567 'practic':454 'pre':168 'pre-gener':167 'pretti':413 'probabl':38,203,363,502 'process':318 'product':9 'program':54 'project':621 'puls':515,522 'pure':539 'read':408,637,653 'realli':449 'receiv':138 'reduc':651 'remot':321 'request':324 'revis':210 'right':134,242 'rigid':641 'robot':75,249,327,333,346,426,432,594 'room':254 'rotari':191,370,451,513,545 'rout':218 'scale':556 'second':524 'send':334,351,569 'sensor':282,389,407 'seri':573 'server':323,342,430,588 'servo':275 'set':476 'sinc':297 'slippag':465,652 'sloppi':220 'small':554 'soic':100 'solv':171 'sometim':15 'specif':5 'speed':403,534,564 'stage':619 'static':402 'stem':53 'student':48 'super':438 'sweep':293,308,331 'system':112 'target':392 'tell':506 'test':234 'thing':12 'think':240,260 'though':235,495 'time':555 'tip':614 'tof':281,388 'ton':592 'toward':312,390 'track':482 'turn':397 'two':278 'udp':139 'univers':47 'unpow':478 'use':179,188,537,639 'various':11 've':65,456,636 'veloc':518 'voltage.vn':132 'voltage.vn/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)':131 'vps':598 'w':98 'want':28,487 'way':63,494,616 'weigh':30 'well':229 'whatev':600 'wheel':78,87,460,479,491,608 'whether':26,446 'wi':72 'wi-fi':71 'without':197 'wonder':444 'work':228 'world':156 'would':193,501 'written':144 'x':404,512 'y':409,521"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1693616717
    +visibility: "visible             "
    +apId: "https://voltage.vn/post/18974"
    +editedAt: DateTimeImmutable @1693550651 {#1850
      date: 2023-09-01 08:44:11.0 +02:00
    }
    +createdAt: DateTimeImmutable @1693550217 {#2420
      date: 2023-09-01 08:36:57.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: null
  +root: null
  +body: """
    I think mecanum wheels slip quite a bit. So I’m not sure how effective those encoders are. But I’ve only ever tried 3d-printed ones. So I’m not super sure.\n
    \n
    You’re sure your STEM students are ready to handle the LiDAR? Manage point clouds, do the arithmetic, path planning etc? We had a practical course with little robots. But they had 3 of those sharp distance sensors at the front and a bumper with a switch. This was enough to teach many concepts and also enough to implement for the students for something that was just a project and not a full time job. But I’m sure that depends on what exactly you want to teach…\n
    \n
    And our robots hat the motor drivers (h-bridges) replaceable on socket terminals because every so often someone wasn’t very clever or didn’t listen in the lectures.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1694071778 {#4102
    date: 2023-09-07 09:29:38.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Saigonauticon@voltage.vn"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4099 …}
  +nested: Doctrine\ORM\PersistentCollection {#4097 …}
  +votes: Doctrine\ORM\PersistentCollection {#4095 …}
  +reports: Doctrine\ORM\PersistentCollection {#4092 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4088 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4086 …}
  -id: 27597
  -bodyTs: "'3':67 '3d':26 '3d-printed':25 'also':90 'arithmet':52 'bit':8 'bridg':132 'bumper':78 'clever':145 'cloud':49 'concept':88 'cours':60 'depend':115 'didn':147 'distanc':71 'driver':129 'effect':15 'encod':17 'enough':84,91 'etc':55 'ever':23 'everi':138 'exact':118 'front':75 'full':107 'h':131 'h-bridg':130 'handl':44 'hat':126 'implement':93 'job':109 'lectur':152 'lidar':46 'listen':149 'littl':62 'm':11,31,112 'manag':47 'mani':87 'mecanum':3 'motor':128 'often':140 'one':28 'path':53 'plan':54 'point':48 'practic':59 'print':27 'project':103 'quit':6 're':36 'readi':42 'replac':133 'robot':63,125 'sensor':72 'sharp':70 'slip':5 'socket':135 'someon':141 'someth':98 'stem':39 'student':40,96 'super':33 'sure':13,34,37,113 'switch':81 'teach':86,122 'termin':136 'think':2 'time':108 'tri':24 've':21 'want':120 'wasn':142 'wheel':4"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://discuss.tchncs.de/comment/2572674"
  +editedAt: DateTimeImmutable @1693564680 {#4107
    date: 2023-09-01 12:38:00.0 +02:00
  }
  +createdAt: DateTimeImmutable @1693564547 {#4105
    date: 2023-09-01 12:35:47.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
17 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
18 DENIED moderate
App\Entity\EntryComment {#4280
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Considering-positioning-strategies-for-autonomous-mechanum-wheeled-robots"
    +title: "Considering positioning strategies for autonomous mechanum-wheeled robots"
    +url: null
    +body: """
      Disclaimer: this is not *specifically* for a commercial product, but various things I design sometimes get commercialized. I mention this so that you may decide whether you want to weigh in. If it’s commercialized, I will probably make very little money but a bunch of university students may get a neat STEM program in the countryside :D\n
      \n
      That out of the way, I’ve designed some boards for a Wi-Fi controlled robot with mechanum wheels. So 4 independent motor drivers, one for each wheel, allow omnidirectional motion. It’s built around a Pi Pico W, 4 SOIC-8 9110S motor drivers, and some buck/boost converters to give the system a 5V and 12V line. It’s very basic, mostly made to be cheap. Here’s a photo:\n
      \n
      ![](https://voltage.vn/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)\n
      \n
      Right now it just receives UDP communications (a little app written in Godot) and activates the motors in different combinations – very “hello world”. I’m planning to add some autonomy to move around pre-generated maps, solve mazes, and so on.\n
      \n
      I have foolishly used 2-pin JST connectors for the motors, so using motors with rotary encoders would be a pain without ordering new boards. I’ll probably fix that in a later board revision or just hack it in. Also the routing is sloppy and there’s no ground plane. It works well enough for development and testing though :D\n
      \n
      What I’m thinking about right now, is how to let the robot position itself in a room effectively and cheaply. I was thinking of adding either a full LiDAR or building a limited LiDAR out of a servo motor and two cheap laser ToF sensors – e.g. one pointed forward, the other back, and I can sweep it 90 degrees. Since the LiDAR does not need to be fast or continuously sweep, I am leaning toward the latter approach.\n
      \n
      Then the processing is handled remotely – a server requests that the robot do a LiDAR sweep, the robot sends a minimal point cloud back to the server, which estimates the robot’s current location and sends back some instructions to move in a direction for some distance – probably this is where the lack of rotary encoders is going to hurt, but for now I’m planning on just pointing the forward laser ToF sensor towards a target and give the instruction “turn or move forward at static speed X until the sensor reads Y”, which should be pretty easy for the MCU To handle.\n
      \n
      I’m planning to control multiple robots from the same server. The robots don’t need to be super fast.\n
      \n
      What I’m currently wondering is whether my approach really needs rotary encoders in practice – I’ve heard that mechanum wheels have high enough mechanical slippage that they end up inaccurate, and designers often add another set of unpowered wheels for position tracking anyway. I don’t want to add more wheels in this way though.\n
      \n
      On the other hand, it would probably be easier to tell the MCU to “move forward X rotary encoder pulses at a velocity defined by Y pulses per second, and then check position and correct at a lower speed” than to use a pure LiDAR approach (e.g. even if rotary encoders don’t give me accurate position, on small time scales, they give me good feedback to control speed). I could possibly even send a fairly complex series of instructions in one go, making the communications efficient enough to eliminate a local server and control a ton of robots from a cloud VPS or whatever.\n
      \n
      Anyone have some experience with encoders + mechanum wheels that can offer a few tips my way? At this stage the project doesn’t have clear engineering goals and this is mostly an academic exercise. I’ve read that using a rigid chassis and minimizing the need for lateral motion can reduce slippage, reading through a few papers didn’t get me any numerical indication of what to expect.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 10
    +favouriteCount: 14
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1694071771 {#2410
      date: 2023-09-07 09:29:31.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 2057
    -titleTs: "'autonom':5 'consid':1 'mechanum':7 'mechanum-wheel':6 'posit':2 'robot':9 'strategi':3 'wheel':8"
    -bodyTs: "'-8':101 '/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)':133 '12v':116 '2':180 '4':80,99 '5v':114 '90':295 '9110s':102 'academ':633 'accur':551 'activ':148 'ad':262 'add':161,474,489 'allow':88 'also':216 'anoth':475 'anyon':601 'anyway':483 'app':143 'approach':315,448,541 'around':94,166 'autonomi':163 'back':289,339,352 'basic':121 'board':68,200,209 'buck/boost':107 'build':268 'built':93 'bunch':45 'chassi':642 'cheap':126,279 'cheapli':257 'check':527 'clear':625 'cloud':338,597 'combin':153 'commerci':8,17,35 'communic':140,581 'complex':572 'connector':183 'continu':307 'control':74,424,563,590 'convert':108 'correct':530 'could':566 'countrysid':57 'current':348,443 'd':58,236 'decid':25 'defin':519 'degre':296 'design':14,66,472 'develop':232 'didn':658 'differ':152 'direct':359 'disclaim':1 'distanc':362 'doesn':622 'driver':83,104 'e.g':283,542 'easi':414 'easier':504 'effect':255 'effici':582 'either':263 'elimin':585 'encod':192,371,452,514,546,606 'end':468 'engin':626 'enough':230,463,583 'estim':344 'even':543,568 'exercis':634 'expect':668 'experi':604 'fair':571 'fast':305,439 'feedback':561 'fi':73 'fix':204 'foolish':178 'forward':286,386,400,511 'full':265 'generat':169 'get':16,50,660 'give':110,394,549,558 'go':373,578 'goal':627 'godot':146 'good':560 'ground':225 'hack':213 'hand':499 'handl':320,419 'heard':457 'hello':155 'high':462 'hurt':375 'inaccur':470 'independ':81 'indic':664 'instruct':354,396,575 'jst':182 'lack':368 'laser':280,387 'later':208,648 'latter':314 'lean':311 'let':247 'lidar':266,271,299,330,540 'limit':270 'line':117 'littl':41,142 'll':202 'local':587 'locat':349 'lower':533 'm':158,239,380,421,442 'made':123 'make':39,579 'map':170 'may':24,49 'maze':172 'mcu':417,508 'mechan':464 'mechanum':77,459,607 'mention':19 'minim':336,644 'money':42 'most':122,631 'motion':90,649 'motor':82,103,150,186,189,276 'move':165,356,399,510 'multipl':425 'neat':52 'need':302,435,450,646 'new':199 'numer':663 'offer':611 'often':473 'omnidirect':89 'one':84,284,577 'order':198 'pain':196 'paper':657 'per':523 'photo':130 'pi':96 'pico':97 'pin':181 'plan':159,381,422 'plane':226 'point':285,337,384 'posit':250,481,528,552 'possibl':567 'practic':454 'pre':168 'pre-gener':167 'pretti':413 'probabl':38,203,363,502 'process':318 'product':9 'program':54 'project':621 'puls':515,522 'pure':539 'read':408,637,653 'realli':449 'receiv':138 'reduc':651 'remot':321 'request':324 'revis':210 'right':134,242 'rigid':641 'robot':75,249,327,333,346,426,432,594 'room':254 'rotari':191,370,451,513,545 'rout':218 'scale':556 'second':524 'send':334,351,569 'sensor':282,389,407 'seri':573 'server':323,342,430,588 'servo':275 'set':476 'sinc':297 'slippag':465,652 'sloppi':220 'small':554 'soic':100 'solv':171 'sometim':15 'specif':5 'speed':403,534,564 'stage':619 'static':402 'stem':53 'student':48 'super':438 'sweep':293,308,331 'system':112 'target':392 'tell':506 'test':234 'thing':12 'think':240,260 'though':235,495 'time':555 'tip':614 'tof':281,388 'ton':592 'toward':312,390 'track':482 'turn':397 'two':278 'udp':139 'univers':47 'unpow':478 'use':179,188,537,639 'various':11 've':65,456,636 'veloc':518 'voltage.vn':132 'voltage.vn/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)':131 'vps':598 'w':98 'want':28,487 'way':63,494,616 'weigh':30 'well':229 'whatev':600 'wheel':78,87,460,479,491,608 'whether':26,446 'wi':72 'wi-fi':71 'without':197 'wonder':444 'work':228 'world':156 'would':193,501 'written':144 'x':404,512 'y':409,521"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1693616717
    +visibility: "visible             "
    +apId: "https://voltage.vn/post/18974"
    +editedAt: DateTimeImmutable @1693550651 {#1850
      date: 2023-09-01 08:44:11.0 +02:00
    }
    +createdAt: DateTimeImmutable @1693550217 {#2420
      date: 2023-09-01 08:36:57.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4101
    +user: App\Entity\User {#4084 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      I think mecanum wheels slip quite a bit. So I’m not sure how effective those encoders are. But I’ve only ever tried 3d-printed ones. So I’m not super sure.\n
      \n
      You’re sure your STEM students are ready to handle the LiDAR? Manage point clouds, do the arithmetic, path planning etc? We had a practical course with little robots. But they had 3 of those sharp distance sensors at the front and a bumper with a switch. This was enough to teach many concepts and also enough to implement for the students for something that was just a project and not a full time job. But I’m sure that depends on what exactly you want to teach…\n
      \n
      And our robots hat the motor drivers (h-bridges) replaceable on socket terminals because every so often someone wasn’t very clever or didn’t listen in the lectures.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1694071778 {#4102
      date: 2023-09-07 09:29:38.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Saigonauticon@voltage.vn"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4099 …}
    +nested: Doctrine\ORM\PersistentCollection {#4097 …}
    +votes: Doctrine\ORM\PersistentCollection {#4095 …}
    +reports: Doctrine\ORM\PersistentCollection {#4092 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4088 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4086 …}
    -id: 27597
    -bodyTs: "'3':67 '3d':26 '3d-printed':25 'also':90 'arithmet':52 'bit':8 'bridg':132 'bumper':78 'clever':145 'cloud':49 'concept':88 'cours':60 'depend':115 'didn':147 'distanc':71 'driver':129 'effect':15 'encod':17 'enough':84,91 'etc':55 'ever':23 'everi':138 'exact':118 'front':75 'full':107 'h':131 'h-bridg':130 'handl':44 'hat':126 'implement':93 'job':109 'lectur':152 'lidar':46 'listen':149 'littl':62 'm':11,31,112 'manag':47 'mani':87 'mecanum':3 'motor':128 'often':140 'one':28 'path':53 'plan':54 'point':48 'practic':59 'print':27 'project':103 'quit':6 're':36 'readi':42 'replac':133 'robot':63,125 'sensor':72 'sharp':70 'slip':5 'socket':135 'someon':141 'someth':98 'stem':39 'student':40,96 'super':33 'sure':13,34,37,113 'switch':81 'teach':86,122 'termin':136 'think':2 'time':108 'tri':24 've':21 'want':120 'wasn':142 'wheel':4"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/comment/2572674"
    +editedAt: DateTimeImmutable @1693564680 {#4107
      date: 2023-09-01 12:38:00.0 +02:00
    }
    +createdAt: DateTimeImmutable @1693564547 {#4105
      date: 2023-09-01 12:35:47.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4101}
  +body: """
    They’re university software engineering students, probably a year or two into their degrees. I’m hoping to provide the robots as completed units that are controlled via API, because we’re not likely to get many students with electrical, mechanical, or embedded backgrounds. You’re right about the complexity though, and that’s something I’ve been thinking about – I guess I’ll start out with a bit of optimism regarding their talents, and scale back if needed :D\n
    \n
    I don’t really have a scope, budget, timeline, or audience properly defined for this project – in short my client has a STEM program for building and interacting with digital maps, but it’s *way too boring* and I’m determined to breathe some life into it. So I’m going to have to play a lot of things by ear.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1693906684 {#4278
    date: 2023-09-05 11:38:04.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Saigonauticon@voltage.vn"
    "@rufus@discuss.tchncs.de"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4281 …}
  +nested: Doctrine\ORM\PersistentCollection {#4283 …}
  +votes: Doctrine\ORM\PersistentCollection {#4285 …}
  +reports: Doctrine\ORM\PersistentCollection {#4287 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4289 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4291 …}
  -id: 28063
  -bodyTs: "'api':29 'audienc':91 'back':77 'background':44 'bit':69 'bore':117 'breath':123 'budget':88 'build':106 'client':100 'complet':23 'complex':50 'control':27 'd':80 'defin':93 'degre':14 'determin':121 'digit':110 'ear':141 'electr':40 'embed':43 'engin':5 'get':36 'go':131 'guess':62 'hope':17 'interact':108 'life':125 'like':34 'll':64 'lot':137 'm':16,120,130 'mani':37 'map':111 'mechan':41 'need':79 'optim':71 'play':135 'probabl':7 'program':104 'project':96 'proper':92 'provid':19 're':2,32,46 'realli':84 'regard':72 'right':47 'robot':21 'scale':76 'scope':87 'short':98 'softwar':4 'someth':55 'start':65 'stem':103 'student':6,38 'talent':74 'thing':139 'think':59 'though':51 'timelin':89 'two':11 'unit':24 'univers':3 've':57 'via':28 'way':115 'year':9"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://voltage.vn/comment/212522"
  +editedAt: null
  +createdAt: DateTimeImmutable @1693906684 {#4279
    date: 2023-09-05 11:38:04.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
19 DENIED edit
App\Entity\EntryComment {#4280
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Considering-positioning-strategies-for-autonomous-mechanum-wheeled-robots"
    +title: "Considering positioning strategies for autonomous mechanum-wheeled robots"
    +url: null
    +body: """
      Disclaimer: this is not *specifically* for a commercial product, but various things I design sometimes get commercialized. I mention this so that you may decide whether you want to weigh in. If it’s commercialized, I will probably make very little money but a bunch of university students may get a neat STEM program in the countryside :D\n
      \n
      That out of the way, I’ve designed some boards for a Wi-Fi controlled robot with mechanum wheels. So 4 independent motor drivers, one for each wheel, allow omnidirectional motion. It’s built around a Pi Pico W, 4 SOIC-8 9110S motor drivers, and some buck/boost converters to give the system a 5V and 12V line. It’s very basic, mostly made to be cheap. Here’s a photo:\n
      \n
      ![](https://voltage.vn/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)\n
      \n
      Right now it just receives UDP communications (a little app written in Godot) and activates the motors in different combinations – very “hello world”. I’m planning to add some autonomy to move around pre-generated maps, solve mazes, and so on.\n
      \n
      I have foolishly used 2-pin JST connectors for the motors, so using motors with rotary encoders would be a pain without ordering new boards. I’ll probably fix that in a later board revision or just hack it in. Also the routing is sloppy and there’s no ground plane. It works well enough for development and testing though :D\n
      \n
      What I’m thinking about right now, is how to let the robot position itself in a room effectively and cheaply. I was thinking of adding either a full LiDAR or building a limited LiDAR out of a servo motor and two cheap laser ToF sensors – e.g. one pointed forward, the other back, and I can sweep it 90 degrees. Since the LiDAR does not need to be fast or continuously sweep, I am leaning toward the latter approach.\n
      \n
      Then the processing is handled remotely – a server requests that the robot do a LiDAR sweep, the robot sends a minimal point cloud back to the server, which estimates the robot’s current location and sends back some instructions to move in a direction for some distance – probably this is where the lack of rotary encoders is going to hurt, but for now I’m planning on just pointing the forward laser ToF sensor towards a target and give the instruction “turn or move forward at static speed X until the sensor reads Y”, which should be pretty easy for the MCU To handle.\n
      \n
      I’m planning to control multiple robots from the same server. The robots don’t need to be super fast.\n
      \n
      What I’m currently wondering is whether my approach really needs rotary encoders in practice – I’ve heard that mechanum wheels have high enough mechanical slippage that they end up inaccurate, and designers often add another set of unpowered wheels for position tracking anyway. I don’t want to add more wheels in this way though.\n
      \n
      On the other hand, it would probably be easier to tell the MCU to “move forward X rotary encoder pulses at a velocity defined by Y pulses per second, and then check position and correct at a lower speed” than to use a pure LiDAR approach (e.g. even if rotary encoders don’t give me accurate position, on small time scales, they give me good feedback to control speed). I could possibly even send a fairly complex series of instructions in one go, making the communications efficient enough to eliminate a local server and control a ton of robots from a cloud VPS or whatever.\n
      \n
      Anyone have some experience with encoders + mechanum wheels that can offer a few tips my way? At this stage the project doesn’t have clear engineering goals and this is mostly an academic exercise. I’ve read that using a rigid chassis and minimizing the need for lateral motion can reduce slippage, reading through a few papers didn’t get me any numerical indication of what to expect.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 10
    +favouriteCount: 14
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1694071771 {#2410
      date: 2023-09-07 09:29:31.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 2057
    -titleTs: "'autonom':5 'consid':1 'mechanum':7 'mechanum-wheel':6 'posit':2 'robot':9 'strategi':3 'wheel':8"
    -bodyTs: "'-8':101 '/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)':133 '12v':116 '2':180 '4':80,99 '5v':114 '90':295 '9110s':102 'academ':633 'accur':551 'activ':148 'ad':262 'add':161,474,489 'allow':88 'also':216 'anoth':475 'anyon':601 'anyway':483 'app':143 'approach':315,448,541 'around':94,166 'autonomi':163 'back':289,339,352 'basic':121 'board':68,200,209 'buck/boost':107 'build':268 'built':93 'bunch':45 'chassi':642 'cheap':126,279 'cheapli':257 'check':527 'clear':625 'cloud':338,597 'combin':153 'commerci':8,17,35 'communic':140,581 'complex':572 'connector':183 'continu':307 'control':74,424,563,590 'convert':108 'correct':530 'could':566 'countrysid':57 'current':348,443 'd':58,236 'decid':25 'defin':519 'degre':296 'design':14,66,472 'develop':232 'didn':658 'differ':152 'direct':359 'disclaim':1 'distanc':362 'doesn':622 'driver':83,104 'e.g':283,542 'easi':414 'easier':504 'effect':255 'effici':582 'either':263 'elimin':585 'encod':192,371,452,514,546,606 'end':468 'engin':626 'enough':230,463,583 'estim':344 'even':543,568 'exercis':634 'expect':668 'experi':604 'fair':571 'fast':305,439 'feedback':561 'fi':73 'fix':204 'foolish':178 'forward':286,386,400,511 'full':265 'generat':169 'get':16,50,660 'give':110,394,549,558 'go':373,578 'goal':627 'godot':146 'good':560 'ground':225 'hack':213 'hand':499 'handl':320,419 'heard':457 'hello':155 'high':462 'hurt':375 'inaccur':470 'independ':81 'indic':664 'instruct':354,396,575 'jst':182 'lack':368 'laser':280,387 'later':208,648 'latter':314 'lean':311 'let':247 'lidar':266,271,299,330,540 'limit':270 'line':117 'littl':41,142 'll':202 'local':587 'locat':349 'lower':533 'm':158,239,380,421,442 'made':123 'make':39,579 'map':170 'may':24,49 'maze':172 'mcu':417,508 'mechan':464 'mechanum':77,459,607 'mention':19 'minim':336,644 'money':42 'most':122,631 'motion':90,649 'motor':82,103,150,186,189,276 'move':165,356,399,510 'multipl':425 'neat':52 'need':302,435,450,646 'new':199 'numer':663 'offer':611 'often':473 'omnidirect':89 'one':84,284,577 'order':198 'pain':196 'paper':657 'per':523 'photo':130 'pi':96 'pico':97 'pin':181 'plan':159,381,422 'plane':226 'point':285,337,384 'posit':250,481,528,552 'possibl':567 'practic':454 'pre':168 'pre-gener':167 'pretti':413 'probabl':38,203,363,502 'process':318 'product':9 'program':54 'project':621 'puls':515,522 'pure':539 'read':408,637,653 'realli':449 'receiv':138 'reduc':651 'remot':321 'request':324 'revis':210 'right':134,242 'rigid':641 'robot':75,249,327,333,346,426,432,594 'room':254 'rotari':191,370,451,513,545 'rout':218 'scale':556 'second':524 'send':334,351,569 'sensor':282,389,407 'seri':573 'server':323,342,430,588 'servo':275 'set':476 'sinc':297 'slippag':465,652 'sloppi':220 'small':554 'soic':100 'solv':171 'sometim':15 'specif':5 'speed':403,534,564 'stage':619 'static':402 'stem':53 'student':48 'super':438 'sweep':293,308,331 'system':112 'target':392 'tell':506 'test':234 'thing':12 'think':240,260 'though':235,495 'time':555 'tip':614 'tof':281,388 'ton':592 'toward':312,390 'track':482 'turn':397 'two':278 'udp':139 'univers':47 'unpow':478 'use':179,188,537,639 'various':11 've':65,456,636 'veloc':518 'voltage.vn':132 'voltage.vn/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)':131 'vps':598 'w':98 'want':28,487 'way':63,494,616 'weigh':30 'well':229 'whatev':600 'wheel':78,87,460,479,491,608 'whether':26,446 'wi':72 'wi-fi':71 'without':197 'wonder':444 'work':228 'world':156 'would':193,501 'written':144 'x':404,512 'y':409,521"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1693616717
    +visibility: "visible             "
    +apId: "https://voltage.vn/post/18974"
    +editedAt: DateTimeImmutable @1693550651 {#1850
      date: 2023-09-01 08:44:11.0 +02:00
    }
    +createdAt: DateTimeImmutable @1693550217 {#2420
      date: 2023-09-01 08:36:57.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4101
    +user: App\Entity\User {#4084 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      I think mecanum wheels slip quite a bit. So I’m not sure how effective those encoders are. But I’ve only ever tried 3d-printed ones. So I’m not super sure.\n
      \n
      You’re sure your STEM students are ready to handle the LiDAR? Manage point clouds, do the arithmetic, path planning etc? We had a practical course with little robots. But they had 3 of those sharp distance sensors at the front and a bumper with a switch. This was enough to teach many concepts and also enough to implement for the students for something that was just a project and not a full time job. But I’m sure that depends on what exactly you want to teach…\n
      \n
      And our robots hat the motor drivers (h-bridges) replaceable on socket terminals because every so often someone wasn’t very clever or didn’t listen in the lectures.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1694071778 {#4102
      date: 2023-09-07 09:29:38.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Saigonauticon@voltage.vn"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4099 …}
    +nested: Doctrine\ORM\PersistentCollection {#4097 …}
    +votes: Doctrine\ORM\PersistentCollection {#4095 …}
    +reports: Doctrine\ORM\PersistentCollection {#4092 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4088 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4086 …}
    -id: 27597
    -bodyTs: "'3':67 '3d':26 '3d-printed':25 'also':90 'arithmet':52 'bit':8 'bridg':132 'bumper':78 'clever':145 'cloud':49 'concept':88 'cours':60 'depend':115 'didn':147 'distanc':71 'driver':129 'effect':15 'encod':17 'enough':84,91 'etc':55 'ever':23 'everi':138 'exact':118 'front':75 'full':107 'h':131 'h-bridg':130 'handl':44 'hat':126 'implement':93 'job':109 'lectur':152 'lidar':46 'listen':149 'littl':62 'm':11,31,112 'manag':47 'mani':87 'mecanum':3 'motor':128 'often':140 'one':28 'path':53 'plan':54 'point':48 'practic':59 'print':27 'project':103 'quit':6 're':36 'readi':42 'replac':133 'robot':63,125 'sensor':72 'sharp':70 'slip':5 'socket':135 'someon':141 'someth':98 'stem':39 'student':40,96 'super':33 'sure':13,34,37,113 'switch':81 'teach':86,122 'termin':136 'think':2 'time':108 'tri':24 've':21 'want':120 'wasn':142 'wheel':4"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/comment/2572674"
    +editedAt: DateTimeImmutable @1693564680 {#4107
      date: 2023-09-01 12:38:00.0 +02:00
    }
    +createdAt: DateTimeImmutable @1693564547 {#4105
      date: 2023-09-01 12:35:47.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4101}
  +body: """
    They’re university software engineering students, probably a year or two into their degrees. I’m hoping to provide the robots as completed units that are controlled via API, because we’re not likely to get many students with electrical, mechanical, or embedded backgrounds. You’re right about the complexity though, and that’s something I’ve been thinking about – I guess I’ll start out with a bit of optimism regarding their talents, and scale back if needed :D\n
    \n
    I don’t really have a scope, budget, timeline, or audience properly defined for this project – in short my client has a STEM program for building and interacting with digital maps, but it’s *way too boring* and I’m determined to breathe some life into it. So I’m going to have to play a lot of things by ear.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1693906684 {#4278
    date: 2023-09-05 11:38:04.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Saigonauticon@voltage.vn"
    "@rufus@discuss.tchncs.de"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4281 …}
  +nested: Doctrine\ORM\PersistentCollection {#4283 …}
  +votes: Doctrine\ORM\PersistentCollection {#4285 …}
  +reports: Doctrine\ORM\PersistentCollection {#4287 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4289 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4291 …}
  -id: 28063
  -bodyTs: "'api':29 'audienc':91 'back':77 'background':44 'bit':69 'bore':117 'breath':123 'budget':88 'build':106 'client':100 'complet':23 'complex':50 'control':27 'd':80 'defin':93 'degre':14 'determin':121 'digit':110 'ear':141 'electr':40 'embed':43 'engin':5 'get':36 'go':131 'guess':62 'hope':17 'interact':108 'life':125 'like':34 'll':64 'lot':137 'm':16,120,130 'mani':37 'map':111 'mechan':41 'need':79 'optim':71 'play':135 'probabl':7 'program':104 'project':96 'proper':92 'provid':19 're':2,32,46 'realli':84 'regard':72 'right':47 'robot':21 'scale':76 'scope':87 'short':98 'softwar':4 'someth':55 'start':65 'stem':103 'student':6,38 'talent':74 'thing':139 'think':59 'though':51 'timelin':89 'two':11 'unit':24 'univers':3 've':57 'via':28 'way':115 'year':9"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://voltage.vn/comment/212522"
  +editedAt: null
  +createdAt: DateTimeImmutable @1693906684 {#4279
    date: 2023-09-05 11:38:04.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
20 DENIED moderate
App\Entity\EntryComment {#4280
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Considering-positioning-strategies-for-autonomous-mechanum-wheeled-robots"
    +title: "Considering positioning strategies for autonomous mechanum-wheeled robots"
    +url: null
    +body: """
      Disclaimer: this is not *specifically* for a commercial product, but various things I design sometimes get commercialized. I mention this so that you may decide whether you want to weigh in. If it’s commercialized, I will probably make very little money but a bunch of university students may get a neat STEM program in the countryside :D\n
      \n
      That out of the way, I’ve designed some boards for a Wi-Fi controlled robot with mechanum wheels. So 4 independent motor drivers, one for each wheel, allow omnidirectional motion. It’s built around a Pi Pico W, 4 SOIC-8 9110S motor drivers, and some buck/boost converters to give the system a 5V and 12V line. It’s very basic, mostly made to be cheap. Here’s a photo:\n
      \n
      ![](https://voltage.vn/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)\n
      \n
      Right now it just receives UDP communications (a little app written in Godot) and activates the motors in different combinations – very “hello world”. I’m planning to add some autonomy to move around pre-generated maps, solve mazes, and so on.\n
      \n
      I have foolishly used 2-pin JST connectors for the motors, so using motors with rotary encoders would be a pain without ordering new boards. I’ll probably fix that in a later board revision or just hack it in. Also the routing is sloppy and there’s no ground plane. It works well enough for development and testing though :D\n
      \n
      What I’m thinking about right now, is how to let the robot position itself in a room effectively and cheaply. I was thinking of adding either a full LiDAR or building a limited LiDAR out of a servo motor and two cheap laser ToF sensors – e.g. one pointed forward, the other back, and I can sweep it 90 degrees. Since the LiDAR does not need to be fast or continuously sweep, I am leaning toward the latter approach.\n
      \n
      Then the processing is handled remotely – a server requests that the robot do a LiDAR sweep, the robot sends a minimal point cloud back to the server, which estimates the robot’s current location and sends back some instructions to move in a direction for some distance – probably this is where the lack of rotary encoders is going to hurt, but for now I’m planning on just pointing the forward laser ToF sensor towards a target and give the instruction “turn or move forward at static speed X until the sensor reads Y”, which should be pretty easy for the MCU To handle.\n
      \n
      I’m planning to control multiple robots from the same server. The robots don’t need to be super fast.\n
      \n
      What I’m currently wondering is whether my approach really needs rotary encoders in practice – I’ve heard that mechanum wheels have high enough mechanical slippage that they end up inaccurate, and designers often add another set of unpowered wheels for position tracking anyway. I don’t want to add more wheels in this way though.\n
      \n
      On the other hand, it would probably be easier to tell the MCU to “move forward X rotary encoder pulses at a velocity defined by Y pulses per second, and then check position and correct at a lower speed” than to use a pure LiDAR approach (e.g. even if rotary encoders don’t give me accurate position, on small time scales, they give me good feedback to control speed). I could possibly even send a fairly complex series of instructions in one go, making the communications efficient enough to eliminate a local server and control a ton of robots from a cloud VPS or whatever.\n
      \n
      Anyone have some experience with encoders + mechanum wheels that can offer a few tips my way? At this stage the project doesn’t have clear engineering goals and this is mostly an academic exercise. I’ve read that using a rigid chassis and minimizing the need for lateral motion can reduce slippage, reading through a few papers didn’t get me any numerical indication of what to expect.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 10
    +favouriteCount: 14
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1694071771 {#2410
      date: 2023-09-07 09:29:31.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 2057
    -titleTs: "'autonom':5 'consid':1 'mechanum':7 'mechanum-wheel':6 'posit':2 'robot':9 'strategi':3 'wheel':8"
    -bodyTs: "'-8':101 '/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)':133 '12v':116 '2':180 '4':80,99 '5v':114 '90':295 '9110s':102 'academ':633 'accur':551 'activ':148 'ad':262 'add':161,474,489 'allow':88 'also':216 'anoth':475 'anyon':601 'anyway':483 'app':143 'approach':315,448,541 'around':94,166 'autonomi':163 'back':289,339,352 'basic':121 'board':68,200,209 'buck/boost':107 'build':268 'built':93 'bunch':45 'chassi':642 'cheap':126,279 'cheapli':257 'check':527 'clear':625 'cloud':338,597 'combin':153 'commerci':8,17,35 'communic':140,581 'complex':572 'connector':183 'continu':307 'control':74,424,563,590 'convert':108 'correct':530 'could':566 'countrysid':57 'current':348,443 'd':58,236 'decid':25 'defin':519 'degre':296 'design':14,66,472 'develop':232 'didn':658 'differ':152 'direct':359 'disclaim':1 'distanc':362 'doesn':622 'driver':83,104 'e.g':283,542 'easi':414 'easier':504 'effect':255 'effici':582 'either':263 'elimin':585 'encod':192,371,452,514,546,606 'end':468 'engin':626 'enough':230,463,583 'estim':344 'even':543,568 'exercis':634 'expect':668 'experi':604 'fair':571 'fast':305,439 'feedback':561 'fi':73 'fix':204 'foolish':178 'forward':286,386,400,511 'full':265 'generat':169 'get':16,50,660 'give':110,394,549,558 'go':373,578 'goal':627 'godot':146 'good':560 'ground':225 'hack':213 'hand':499 'handl':320,419 'heard':457 'hello':155 'high':462 'hurt':375 'inaccur':470 'independ':81 'indic':664 'instruct':354,396,575 'jst':182 'lack':368 'laser':280,387 'later':208,648 'latter':314 'lean':311 'let':247 'lidar':266,271,299,330,540 'limit':270 'line':117 'littl':41,142 'll':202 'local':587 'locat':349 'lower':533 'm':158,239,380,421,442 'made':123 'make':39,579 'map':170 'may':24,49 'maze':172 'mcu':417,508 'mechan':464 'mechanum':77,459,607 'mention':19 'minim':336,644 'money':42 'most':122,631 'motion':90,649 'motor':82,103,150,186,189,276 'move':165,356,399,510 'multipl':425 'neat':52 'need':302,435,450,646 'new':199 'numer':663 'offer':611 'often':473 'omnidirect':89 'one':84,284,577 'order':198 'pain':196 'paper':657 'per':523 'photo':130 'pi':96 'pico':97 'pin':181 'plan':159,381,422 'plane':226 'point':285,337,384 'posit':250,481,528,552 'possibl':567 'practic':454 'pre':168 'pre-gener':167 'pretti':413 'probabl':38,203,363,502 'process':318 'product':9 'program':54 'project':621 'puls':515,522 'pure':539 'read':408,637,653 'realli':449 'receiv':138 'reduc':651 'remot':321 'request':324 'revis':210 'right':134,242 'rigid':641 'robot':75,249,327,333,346,426,432,594 'room':254 'rotari':191,370,451,513,545 'rout':218 'scale':556 'second':524 'send':334,351,569 'sensor':282,389,407 'seri':573 'server':323,342,430,588 'servo':275 'set':476 'sinc':297 'slippag':465,652 'sloppi':220 'small':554 'soic':100 'solv':171 'sometim':15 'specif':5 'speed':403,534,564 'stage':619 'static':402 'stem':53 'student':48 'super':438 'sweep':293,308,331 'system':112 'target':392 'tell':506 'test':234 'thing':12 'think':240,260 'though':235,495 'time':555 'tip':614 'tof':281,388 'ton':592 'toward':312,390 'track':482 'turn':397 'two':278 'udp':139 'univers':47 'unpow':478 'use':179,188,537,639 'various':11 've':65,456,636 'veloc':518 'voltage.vn':132 'voltage.vn/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)':131 'vps':598 'w':98 'want':28,487 'way':63,494,616 'weigh':30 'well':229 'whatev':600 'wheel':78,87,460,479,491,608 'whether':26,446 'wi':72 'wi-fi':71 'without':197 'wonder':444 'work':228 'world':156 'would':193,501 'written':144 'x':404,512 'y':409,521"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1693616717
    +visibility: "visible             "
    +apId: "https://voltage.vn/post/18974"
    +editedAt: DateTimeImmutable @1693550651 {#1850
      date: 2023-09-01 08:44:11.0 +02:00
    }
    +createdAt: DateTimeImmutable @1693550217 {#2420
      date: 2023-09-01 08:36:57.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4101
    +user: App\Entity\User {#4084 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: """
      I think mecanum wheels slip quite a bit. So I’m not sure how effective those encoders are. But I’ve only ever tried 3d-printed ones. So I’m not super sure.\n
      \n
      You’re sure your STEM students are ready to handle the LiDAR? Manage point clouds, do the arithmetic, path planning etc? We had a practical course with little robots. But they had 3 of those sharp distance sensors at the front and a bumper with a switch. This was enough to teach many concepts and also enough to implement for the students for something that was just a project and not a full time job. But I’m sure that depends on what exactly you want to teach…\n
      \n
      And our robots hat the motor drivers (h-bridges) replaceable on socket terminals because every so often someone wasn’t very clever or didn’t listen in the lectures.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1694071778 {#4102
      date: 2023-09-07 09:29:38.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Saigonauticon@voltage.vn"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4099 …}
    +nested: Doctrine\ORM\PersistentCollection {#4097 …}
    +votes: Doctrine\ORM\PersistentCollection {#4095 …}
    +reports: Doctrine\ORM\PersistentCollection {#4092 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4088 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4086 …}
    -id: 27597
    -bodyTs: "'3':67 '3d':26 '3d-printed':25 'also':90 'arithmet':52 'bit':8 'bridg':132 'bumper':78 'clever':145 'cloud':49 'concept':88 'cours':60 'depend':115 'didn':147 'distanc':71 'driver':129 'effect':15 'encod':17 'enough':84,91 'etc':55 'ever':23 'everi':138 'exact':118 'front':75 'full':107 'h':131 'h-bridg':130 'handl':44 'hat':126 'implement':93 'job':109 'lectur':152 'lidar':46 'listen':149 'littl':62 'm':11,31,112 'manag':47 'mani':87 'mecanum':3 'motor':128 'often':140 'one':28 'path':53 'plan':54 'point':48 'practic':59 'print':27 'project':103 'quit':6 're':36 'readi':42 'replac':133 'robot':63,125 'sensor':72 'sharp':70 'slip':5 'socket':135 'someon':141 'someth':98 'stem':39 'student':40,96 'super':33 'sure':13,34,37,113 'switch':81 'teach':86,122 'termin':136 'think':2 'time':108 'tri':24 've':21 'want':120 'wasn':142 'wheel':4"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/comment/2572674"
    +editedAt: DateTimeImmutable @1693564680 {#4107
      date: 2023-09-01 12:38:00.0 +02:00
    }
    +createdAt: DateTimeImmutable @1693564547 {#4105
      date: 2023-09-01 12:35:47.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4101}
  +body: """
    They’re university software engineering students, probably a year or two into their degrees. I’m hoping to provide the robots as completed units that are controlled via API, because we’re not likely to get many students with electrical, mechanical, or embedded backgrounds. You’re right about the complexity though, and that’s something I’ve been thinking about – I guess I’ll start out with a bit of optimism regarding their talents, and scale back if needed :D\n
    \n
    I don’t really have a scope, budget, timeline, or audience properly defined for this project – in short my client has a STEM program for building and interacting with digital maps, but it’s *way too boring* and I’m determined to breathe some life into it. So I’m going to have to play a lot of things by ear.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1693906684 {#4278
    date: 2023-09-05 11:38:04.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Saigonauticon@voltage.vn"
    "@rufus@discuss.tchncs.de"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4281 …}
  +nested: Doctrine\ORM\PersistentCollection {#4283 …}
  +votes: Doctrine\ORM\PersistentCollection {#4285 …}
  +reports: Doctrine\ORM\PersistentCollection {#4287 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4289 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4291 …}
  -id: 28063
  -bodyTs: "'api':29 'audienc':91 'back':77 'background':44 'bit':69 'bore':117 'breath':123 'budget':88 'build':106 'client':100 'complet':23 'complex':50 'control':27 'd':80 'defin':93 'degre':14 'determin':121 'digit':110 'ear':141 'electr':40 'embed':43 'engin':5 'get':36 'go':131 'guess':62 'hope':17 'interact':108 'life':125 'like':34 'll':64 'lot':137 'm':16,120,130 'mani':37 'map':111 'mechan':41 'need':79 'optim':71 'play':135 'probabl':7 'program':104 'project':96 'proper':92 'provid':19 're':2,32,46 'realli':84 'regard':72 'right':47 'robot':21 'scale':76 'scope':87 'short':98 'softwar':4 'someth':55 'start':65 'stem':103 'student':6,38 'talent':74 'thing':139 'think':59 'though':51 'timelin':89 'two':11 'unit':24 'univers':3 've':57 'via':28 'way':115 'year':9"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://voltage.vn/comment/212522"
  +editedAt: null
  +createdAt: DateTimeImmutable @1693906684 {#4279
    date: 2023-09-05 11:38:04.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
21 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
22 DENIED moderate
App\Entity\EntryComment {#4315
  +user: App\Entity\User {#4084 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Considering-positioning-strategies-for-autonomous-mechanum-wheeled-robots"
    +title: "Considering positioning strategies for autonomous mechanum-wheeled robots"
    +url: null
    +body: """
      Disclaimer: this is not *specifically* for a commercial product, but various things I design sometimes get commercialized. I mention this so that you may decide whether you want to weigh in. If it’s commercialized, I will probably make very little money but a bunch of university students may get a neat STEM program in the countryside :D\n
      \n
      That out of the way, I’ve designed some boards for a Wi-Fi controlled robot with mechanum wheels. So 4 independent motor drivers, one for each wheel, allow omnidirectional motion. It’s built around a Pi Pico W, 4 SOIC-8 9110S motor drivers, and some buck/boost converters to give the system a 5V and 12V line. It’s very basic, mostly made to be cheap. Here’s a photo:\n
      \n
      ![](https://voltage.vn/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)\n
      \n
      Right now it just receives UDP communications (a little app written in Godot) and activates the motors in different combinations – very “hello world”. I’m planning to add some autonomy to move around pre-generated maps, solve mazes, and so on.\n
      \n
      I have foolishly used 2-pin JST connectors for the motors, so using motors with rotary encoders would be a pain without ordering new boards. I’ll probably fix that in a later board revision or just hack it in. Also the routing is sloppy and there’s no ground plane. It works well enough for development and testing though :D\n
      \n
      What I’m thinking about right now, is how to let the robot position itself in a room effectively and cheaply. I was thinking of adding either a full LiDAR or building a limited LiDAR out of a servo motor and two cheap laser ToF sensors – e.g. one pointed forward, the other back, and I can sweep it 90 degrees. Since the LiDAR does not need to be fast or continuously sweep, I am leaning toward the latter approach.\n
      \n
      Then the processing is handled remotely – a server requests that the robot do a LiDAR sweep, the robot sends a minimal point cloud back to the server, which estimates the robot’s current location and sends back some instructions to move in a direction for some distance – probably this is where the lack of rotary encoders is going to hurt, but for now I’m planning on just pointing the forward laser ToF sensor towards a target and give the instruction “turn or move forward at static speed X until the sensor reads Y”, which should be pretty easy for the MCU To handle.\n
      \n
      I’m planning to control multiple robots from the same server. The robots don’t need to be super fast.\n
      \n
      What I’m currently wondering is whether my approach really needs rotary encoders in practice – I’ve heard that mechanum wheels have high enough mechanical slippage that they end up inaccurate, and designers often add another set of unpowered wheels for position tracking anyway. I don’t want to add more wheels in this way though.\n
      \n
      On the other hand, it would probably be easier to tell the MCU to “move forward X rotary encoder pulses at a velocity defined by Y pulses per second, and then check position and correct at a lower speed” than to use a pure LiDAR approach (e.g. even if rotary encoders don’t give me accurate position, on small time scales, they give me good feedback to control speed). I could possibly even send a fairly complex series of instructions in one go, making the communications efficient enough to eliminate a local server and control a ton of robots from a cloud VPS or whatever.\n
      \n
      Anyone have some experience with encoders + mechanum wheels that can offer a few tips my way? At this stage the project doesn’t have clear engineering goals and this is mostly an academic exercise. I’ve read that using a rigid chassis and minimizing the need for lateral motion can reduce slippage, reading through a few papers didn’t get me any numerical indication of what to expect.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 10
    +favouriteCount: 14
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1694071771 {#2410
      date: 2023-09-07 09:29:31.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 2057
    -titleTs: "'autonom':5 'consid':1 'mechanum':7 'mechanum-wheel':6 'posit':2 'robot':9 'strategi':3 'wheel':8"
    -bodyTs: "'-8':101 '/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)':133 '12v':116 '2':180 '4':80,99 '5v':114 '90':295 '9110s':102 'academ':633 'accur':551 'activ':148 'ad':262 'add':161,474,489 'allow':88 'also':216 'anoth':475 'anyon':601 'anyway':483 'app':143 'approach':315,448,541 'around':94,166 'autonomi':163 'back':289,339,352 'basic':121 'board':68,200,209 'buck/boost':107 'build':268 'built':93 'bunch':45 'chassi':642 'cheap':126,279 'cheapli':257 'check':527 'clear':625 'cloud':338,597 'combin':153 'commerci':8,17,35 'communic':140,581 'complex':572 'connector':183 'continu':307 'control':74,424,563,590 'convert':108 'correct':530 'could':566 'countrysid':57 'current':348,443 'd':58,236 'decid':25 'defin':519 'degre':296 'design':14,66,472 'develop':232 'didn':658 'differ':152 'direct':359 'disclaim':1 'distanc':362 'doesn':622 'driver':83,104 'e.g':283,542 'easi':414 'easier':504 'effect':255 'effici':582 'either':263 'elimin':585 'encod':192,371,452,514,546,606 'end':468 'engin':626 'enough':230,463,583 'estim':344 'even':543,568 'exercis':634 'expect':668 'experi':604 'fair':571 'fast':305,439 'feedback':561 'fi':73 'fix':204 'foolish':178 'forward':286,386,400,511 'full':265 'generat':169 'get':16,50,660 'give':110,394,549,558 'go':373,578 'goal':627 'godot':146 'good':560 'ground':225 'hack':213 'hand':499 'handl':320,419 'heard':457 'hello':155 'high':462 'hurt':375 'inaccur':470 'independ':81 'indic':664 'instruct':354,396,575 'jst':182 'lack':368 'laser':280,387 'later':208,648 'latter':314 'lean':311 'let':247 'lidar':266,271,299,330,540 'limit':270 'line':117 'littl':41,142 'll':202 'local':587 'locat':349 'lower':533 'm':158,239,380,421,442 'made':123 'make':39,579 'map':170 'may':24,49 'maze':172 'mcu':417,508 'mechan':464 'mechanum':77,459,607 'mention':19 'minim':336,644 'money':42 'most':122,631 'motion':90,649 'motor':82,103,150,186,189,276 'move':165,356,399,510 'multipl':425 'neat':52 'need':302,435,450,646 'new':199 'numer':663 'offer':611 'often':473 'omnidirect':89 'one':84,284,577 'order':198 'pain':196 'paper':657 'per':523 'photo':130 'pi':96 'pico':97 'pin':181 'plan':159,381,422 'plane':226 'point':285,337,384 'posit':250,481,528,552 'possibl':567 'practic':454 'pre':168 'pre-gener':167 'pretti':413 'probabl':38,203,363,502 'process':318 'product':9 'program':54 'project':621 'puls':515,522 'pure':539 'read':408,637,653 'realli':449 'receiv':138 'reduc':651 'remot':321 'request':324 'revis':210 'right':134,242 'rigid':641 'robot':75,249,327,333,346,426,432,594 'room':254 'rotari':191,370,451,513,545 'rout':218 'scale':556 'second':524 'send':334,351,569 'sensor':282,389,407 'seri':573 'server':323,342,430,588 'servo':275 'set':476 'sinc':297 'slippag':465,652 'sloppi':220 'small':554 'soic':100 'solv':171 'sometim':15 'specif':5 'speed':403,534,564 'stage':619 'static':402 'stem':53 'student':48 'super':438 'sweep':293,308,331 'system':112 'target':392 'tell':506 'test':234 'thing':12 'think':240,260 'though':235,495 'time':555 'tip':614 'tof':281,388 'ton':592 'toward':312,390 'track':482 'turn':397 'two':278 'udp':139 'univers':47 'unpow':478 'use':179,188,537,639 'various':11 've':65,456,636 'veloc':518 'voltage.vn':132 'voltage.vn/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)':131 'vps':598 'w':98 'want':28,487 'way':63,494,616 'weigh':30 'well':229 'whatev':600 'wheel':78,87,460,479,491,608 'whether':26,446 'wi':72 'wi-fi':71 'without':197 'wonder':444 'work':228 'world':156 'would':193,501 'written':144 'x':404,512 'y':409,521"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1693616717
    +visibility: "visible             "
    +apId: "https://voltage.vn/post/18974"
    +editedAt: DateTimeImmutable @1693550651 {#1850
      date: 2023-09-01 08:44:11.0 +02:00
    }
    +createdAt: DateTimeImmutable @1693550217 {#2420
      date: 2023-09-01 08:36:57.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4280
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4101
      +user: App\Entity\User {#4084 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: """
        I think mecanum wheels slip quite a bit. So I’m not sure how effective those encoders are. But I’ve only ever tried 3d-printed ones. So I’m not super sure.\n
        \n
        You’re sure your STEM students are ready to handle the LiDAR? Manage point clouds, do the arithmetic, path planning etc? We had a practical course with little robots. But they had 3 of those sharp distance sensors at the front and a bumper with a switch. This was enough to teach many concepts and also enough to implement for the students for something that was just a project and not a full time job. But I’m sure that depends on what exactly you want to teach…\n
        \n
        And our robots hat the motor drivers (h-bridges) replaceable on socket terminals because every so often someone wasn’t very clever or didn’t listen in the lectures.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1694071778 {#4102
        date: 2023-09-07 09:29:38.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@Saigonauticon@voltage.vn"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4099 …}
      +nested: Doctrine\ORM\PersistentCollection {#4097 …}
      +votes: Doctrine\ORM\PersistentCollection {#4095 …}
      +reports: Doctrine\ORM\PersistentCollection {#4092 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4088 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4086 …}
      -id: 27597
      -bodyTs: "'3':67 '3d':26 '3d-printed':25 'also':90 'arithmet':52 'bit':8 'bridg':132 'bumper':78 'clever':145 'cloud':49 'concept':88 'cours':60 'depend':115 'didn':147 'distanc':71 'driver':129 'effect':15 'encod':17 'enough':84,91 'etc':55 'ever':23 'everi':138 'exact':118 'front':75 'full':107 'h':131 'h-bridg':130 'handl':44 'hat':126 'implement':93 'job':109 'lectur':152 'lidar':46 'listen':149 'littl':62 'm':11,31,112 'manag':47 'mani':87 'mecanum':3 'motor':128 'often':140 'one':28 'path':53 'plan':54 'point':48 'practic':59 'print':27 'project':103 'quit':6 're':36 'readi':42 'replac':133 'robot':63,125 'sensor':72 'sharp':70 'slip':5 'socket':135 'someon':141 'someth':98 'stem':39 'student':40,96 'super':33 'sure':13,34,37,113 'switch':81 'teach':86,122 'termin':136 'think':2 'time':108 'tri':24 've':21 'want':120 'wasn':142 'wheel':4"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/comment/2572674"
      +editedAt: DateTimeImmutable @1693564680 {#4107
        date: 2023-09-01 12:38:00.0 +02:00
      }
      +createdAt: DateTimeImmutable @1693564547 {#4105
        date: 2023-09-01 12:35:47.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4101}
    +body: """
      They’re university software engineering students, probably a year or two into their degrees. I’m hoping to provide the robots as completed units that are controlled via API, because we’re not likely to get many students with electrical, mechanical, or embedded backgrounds. You’re right about the complexity though, and that’s something I’ve been thinking about – I guess I’ll start out with a bit of optimism regarding their talents, and scale back if needed :D\n
      \n
      I don’t really have a scope, budget, timeline, or audience properly defined for this project – in short my client has a STEM program for building and interacting with digital maps, but it’s *way too boring* and I’m determined to breathe some life into it. So I’m going to have to play a lot of things by ear.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1693906684 {#4278
      date: 2023-09-05 11:38:04.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Saigonauticon@voltage.vn"
      "@rufus@discuss.tchncs.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4281 …}
    +nested: Doctrine\ORM\PersistentCollection {#4283 …}
    +votes: Doctrine\ORM\PersistentCollection {#4285 …}
    +reports: Doctrine\ORM\PersistentCollection {#4287 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4289 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4291 …}
    -id: 28063
    -bodyTs: "'api':29 'audienc':91 'back':77 'background':44 'bit':69 'bore':117 'breath':123 'budget':88 'build':106 'client':100 'complet':23 'complex':50 'control':27 'd':80 'defin':93 'degre':14 'determin':121 'digit':110 'ear':141 'electr':40 'embed':43 'engin':5 'get':36 'go':131 'guess':62 'hope':17 'interact':108 'life':125 'like':34 'll':64 'lot':137 'm':16,120,130 'mani':37 'map':111 'mechan':41 'need':79 'optim':71 'play':135 'probabl':7 'program':104 'project':96 'proper':92 'provid':19 're':2,32,46 'realli':84 'regard':72 'right':47 'robot':21 'scale':76 'scope':87 'short':98 'softwar':4 'someth':55 'start':65 'stem':103 'student':6,38 'talent':74 'thing':139 'think':59 'though':51 'timelin':89 'two':11 'unit':24 'univers':3 've':57 'via':28 'way':115 'year':9"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://voltage.vn/comment/212522"
    +editedAt: null
    +createdAt: DateTimeImmutable @1693906684 {#4279
      date: 2023-09-05 11:38:04.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4101}
  +body: """
    Well, kids / young people / students will surprise you anyways. No matter what you planned ahead. I think teaching this way just requires you to stay flexible and try things with the students and see what works. University students will benefit from a little challenge, but it shouldn’t be impossible and get them frustrated. I’ve never taught myself, but I bet it’s difficult to hit that balance.\n
    \n
    Programming little robots is awesome, though. I think it’s on a whole other level to see robots move and do tasks, than to look at your screen and program something that changes a few pixels there. My university course was more related to embedded devices and closer to the electronics. It teaches you valuable lessons when forced to interact with some electronics, real-world physics, constrained resources and you need to get your maths right. Usually students are concerned with something like Java, learning object-oriented programming or handling some big frameworks. Or learning maths. And robotics teaches you to really pay attention, combine different skill-sets and do things without an easy route available.\n
    \n
    Maybe it’s just me who likes electronics too much. But I’m sure the kind of motivation you get by watching a real robot move and it runs your code, is unique. And kind of universal. You can do this in pre-school or in university to spark their imagination and motivation.\n
    \n
    Your task is a bit different. If you’re teaching something like simultaneous localization and mapping and the students also have to deal with all the robotics, sensors and real-word problems, this might be more of an ordeal for them than fun. Even dealing with noisy sensor values is a hassle until you get to grasp the bigger picture.\n
    \n
    If you’re giving them access to an API, you can choose and adjust what kind of abstraction you’re providing them. Give them something high-level or have them do more work. You could prepare most of the implementation and adjust the level of detail while teaching. Maybe skip something and give them working code via your API so they can focus on the problem they’re actually supposed to learn. You can also do it the other way round. Let them start with all low level stuff handled for them and learn the big concepts. Then let them dig down and see what your API functions have abstracted away until then. This way around you won’t run out of time.\n
    \n
    I’m sure including actual robotics is going to get them more motivated in contrast to running a simulation.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1693914344 {#4319
    date: 2023-09-05 13:45:44.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Saigonauticon@voltage.vn"
    "@rufus@discuss.tchncs.de"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4312 …}
  +nested: Doctrine\ORM\PersistentCollection {#4310 …}
  +votes: Doctrine\ORM\PersistentCollection {#4314 …}
  +reports: Doctrine\ORM\PersistentCollection {#4325 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4327 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4329 …}
  -id: 28065
  -bodyTs: "'abstract':321,414 'access':309 'actual':373,432 'adjust':317,346 'ahead':15 'also':262,379 'anyway':9 'api':312,363,411 'around':420 'attent':175 'avail':188 'away':415 'awesom':74 'balanc':69 'benefit':40 'bet':62 'big':163,400 'bigger':302 'bit':247 'challeng':44 'chang':102 'choos':315 'closer':117 'code':219,360 'combin':176 'concept':401 'concern':150 'constrain':137 'contrast':442 'could':339 'cours':109 'deal':265,288 'detail':350 'devic':115 'differ':177,248 'difficult':65 'dig':405 'easi':186 'electron':120,132,196 'embed':114 'even':287 'flexibl':26 'focus':367 'forc':127 'framework':164 'frustrat':54 'fun':286 'function':412 'get':52,143,208,298,437 'give':307,326,357 'go':435 'grasp':300 'handl':161,394 'hassl':295 'high':330 'high-level':329 'hit':67 'imagin':240 'implement':344 'imposs':50 'includ':431 'interact':129 'java':154 'kid':2 'kind':204,223,319 'learn':155,166,376,398 'lesson':125 'let':386,403 'level':84,331,348,392 'like':153,195,254 'littl':43,71 'local':256 'look':94 'low':391 'm':201,429 'map':258 'math':145,167 'matter':11 'mayb':189,353 'might':277 'motiv':206,242,440 'move':88,214 'much':198 'need':141 'never':57 'noisi':290 'object':157 'object-ori':156 'ordeal':282 'orient':158 'pay':174 'peopl':4 'physic':136 'pictur':303 'pixel':105 'plan':14 'pre':232 'pre-school':231 'prepar':340 'problem':275,370 'program':70,99,159 'provid':324 're':251,306,323,372 'real':134,212,273 'real-word':272 'real-world':133 'realli':173 'relat':112 'requir':22 'resourc':138 'right':146 'robot':72,87,169,213,269,433 'round':385 'rout':187 'run':217,424,444 'school':233 'screen':97 'see':34,86,408 'sensor':270,291 'set':180 'shouldn':47 'simul':446 'simultan':255 'skill':179 'skill-set':178 'skip':354 'someth':100,152,253,328,355 'spark':238 'start':388 'stay':25 'student':5,32,38,148,261 'stuff':393 'suppos':374 'sure':202,430 'surpris':7 'task':91,244 'taught':58 'teach':18,122,170,252,352 'thing':29,183 'think':17,77 'though':75 'time':427 'tri':28 'uniqu':221 'univers':37,108,225,236 'usual':147 'valu':292 'valuabl':124 've':56 'via':361 'watch':210 'way':20,384,419 'well':1 'whole':82 'without':184 'won':422 'word':274 'work':36,337,359 'world':135 'young':3"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://discuss.tchncs.de/comment/2687935"
  +editedAt: DateTimeImmutable @1693914611 {#4322
    date: 2023-09-05 13:50:11.0 +02:00
  }
  +createdAt: DateTimeImmutable @1693914344 {#4318
    date: 2023-09-05 13:45:44.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
23 DENIED edit
App\Entity\EntryComment {#4315
  +user: App\Entity\User {#4084 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Considering-positioning-strategies-for-autonomous-mechanum-wheeled-robots"
    +title: "Considering positioning strategies for autonomous mechanum-wheeled robots"
    +url: null
    +body: """
      Disclaimer: this is not *specifically* for a commercial product, but various things I design sometimes get commercialized. I mention this so that you may decide whether you want to weigh in. If it’s commercialized, I will probably make very little money but a bunch of university students may get a neat STEM program in the countryside :D\n
      \n
      That out of the way, I’ve designed some boards for a Wi-Fi controlled robot with mechanum wheels. So 4 independent motor drivers, one for each wheel, allow omnidirectional motion. It’s built around a Pi Pico W, 4 SOIC-8 9110S motor drivers, and some buck/boost converters to give the system a 5V and 12V line. It’s very basic, mostly made to be cheap. Here’s a photo:\n
      \n
      ![](https://voltage.vn/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)\n
      \n
      Right now it just receives UDP communications (a little app written in Godot) and activates the motors in different combinations – very “hello world”. I’m planning to add some autonomy to move around pre-generated maps, solve mazes, and so on.\n
      \n
      I have foolishly used 2-pin JST connectors for the motors, so using motors with rotary encoders would be a pain without ordering new boards. I’ll probably fix that in a later board revision or just hack it in. Also the routing is sloppy and there’s no ground plane. It works well enough for development and testing though :D\n
      \n
      What I’m thinking about right now, is how to let the robot position itself in a room effectively and cheaply. I was thinking of adding either a full LiDAR or building a limited LiDAR out of a servo motor and two cheap laser ToF sensors – e.g. one pointed forward, the other back, and I can sweep it 90 degrees. Since the LiDAR does not need to be fast or continuously sweep, I am leaning toward the latter approach.\n
      \n
      Then the processing is handled remotely – a server requests that the robot do a LiDAR sweep, the robot sends a minimal point cloud back to the server, which estimates the robot’s current location and sends back some instructions to move in a direction for some distance – probably this is where the lack of rotary encoders is going to hurt, but for now I’m planning on just pointing the forward laser ToF sensor towards a target and give the instruction “turn or move forward at static speed X until the sensor reads Y”, which should be pretty easy for the MCU To handle.\n
      \n
      I’m planning to control multiple robots from the same server. The robots don’t need to be super fast.\n
      \n
      What I’m currently wondering is whether my approach really needs rotary encoders in practice – I’ve heard that mechanum wheels have high enough mechanical slippage that they end up inaccurate, and designers often add another set of unpowered wheels for position tracking anyway. I don’t want to add more wheels in this way though.\n
      \n
      On the other hand, it would probably be easier to tell the MCU to “move forward X rotary encoder pulses at a velocity defined by Y pulses per second, and then check position and correct at a lower speed” than to use a pure LiDAR approach (e.g. even if rotary encoders don’t give me accurate position, on small time scales, they give me good feedback to control speed). I could possibly even send a fairly complex series of instructions in one go, making the communications efficient enough to eliminate a local server and control a ton of robots from a cloud VPS or whatever.\n
      \n
      Anyone have some experience with encoders + mechanum wheels that can offer a few tips my way? At this stage the project doesn’t have clear engineering goals and this is mostly an academic exercise. I’ve read that using a rigid chassis and minimizing the need for lateral motion can reduce slippage, reading through a few papers didn’t get me any numerical indication of what to expect.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 10
    +favouriteCount: 14
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1694071771 {#2410
      date: 2023-09-07 09:29:31.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 2057
    -titleTs: "'autonom':5 'consid':1 'mechanum':7 'mechanum-wheel':6 'posit':2 'robot':9 'strategi':3 'wheel':8"
    -bodyTs: "'-8':101 '/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)':133 '12v':116 '2':180 '4':80,99 '5v':114 '90':295 '9110s':102 'academ':633 'accur':551 'activ':148 'ad':262 'add':161,474,489 'allow':88 'also':216 'anoth':475 'anyon':601 'anyway':483 'app':143 'approach':315,448,541 'around':94,166 'autonomi':163 'back':289,339,352 'basic':121 'board':68,200,209 'buck/boost':107 'build':268 'built':93 'bunch':45 'chassi':642 'cheap':126,279 'cheapli':257 'check':527 'clear':625 'cloud':338,597 'combin':153 'commerci':8,17,35 'communic':140,581 'complex':572 'connector':183 'continu':307 'control':74,424,563,590 'convert':108 'correct':530 'could':566 'countrysid':57 'current':348,443 'd':58,236 'decid':25 'defin':519 'degre':296 'design':14,66,472 'develop':232 'didn':658 'differ':152 'direct':359 'disclaim':1 'distanc':362 'doesn':622 'driver':83,104 'e.g':283,542 'easi':414 'easier':504 'effect':255 'effici':582 'either':263 'elimin':585 'encod':192,371,452,514,546,606 'end':468 'engin':626 'enough':230,463,583 'estim':344 'even':543,568 'exercis':634 'expect':668 'experi':604 'fair':571 'fast':305,439 'feedback':561 'fi':73 'fix':204 'foolish':178 'forward':286,386,400,511 'full':265 'generat':169 'get':16,50,660 'give':110,394,549,558 'go':373,578 'goal':627 'godot':146 'good':560 'ground':225 'hack':213 'hand':499 'handl':320,419 'heard':457 'hello':155 'high':462 'hurt':375 'inaccur':470 'independ':81 'indic':664 'instruct':354,396,575 'jst':182 'lack':368 'laser':280,387 'later':208,648 'latter':314 'lean':311 'let':247 'lidar':266,271,299,330,540 'limit':270 'line':117 'littl':41,142 'll':202 'local':587 'locat':349 'lower':533 'm':158,239,380,421,442 'made':123 'make':39,579 'map':170 'may':24,49 'maze':172 'mcu':417,508 'mechan':464 'mechanum':77,459,607 'mention':19 'minim':336,644 'money':42 'most':122,631 'motion':90,649 'motor':82,103,150,186,189,276 'move':165,356,399,510 'multipl':425 'neat':52 'need':302,435,450,646 'new':199 'numer':663 'offer':611 'often':473 'omnidirect':89 'one':84,284,577 'order':198 'pain':196 'paper':657 'per':523 'photo':130 'pi':96 'pico':97 'pin':181 'plan':159,381,422 'plane':226 'point':285,337,384 'posit':250,481,528,552 'possibl':567 'practic':454 'pre':168 'pre-gener':167 'pretti':413 'probabl':38,203,363,502 'process':318 'product':9 'program':54 'project':621 'puls':515,522 'pure':539 'read':408,637,653 'realli':449 'receiv':138 'reduc':651 'remot':321 'request':324 'revis':210 'right':134,242 'rigid':641 'robot':75,249,327,333,346,426,432,594 'room':254 'rotari':191,370,451,513,545 'rout':218 'scale':556 'second':524 'send':334,351,569 'sensor':282,389,407 'seri':573 'server':323,342,430,588 'servo':275 'set':476 'sinc':297 'slippag':465,652 'sloppi':220 'small':554 'soic':100 'solv':171 'sometim':15 'specif':5 'speed':403,534,564 'stage':619 'static':402 'stem':53 'student':48 'super':438 'sweep':293,308,331 'system':112 'target':392 'tell':506 'test':234 'thing':12 'think':240,260 'though':235,495 'time':555 'tip':614 'tof':281,388 'ton':592 'toward':312,390 'track':482 'turn':397 'two':278 'udp':139 'univers':47 'unpow':478 'use':179,188,537,639 'various':11 've':65,456,636 'veloc':518 'voltage.vn':132 'voltage.vn/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)':131 'vps':598 'w':98 'want':28,487 'way':63,494,616 'weigh':30 'well':229 'whatev':600 'wheel':78,87,460,479,491,608 'whether':26,446 'wi':72 'wi-fi':71 'without':197 'wonder':444 'work':228 'world':156 'would':193,501 'written':144 'x':404,512 'y':409,521"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1693616717
    +visibility: "visible             "
    +apId: "https://voltage.vn/post/18974"
    +editedAt: DateTimeImmutable @1693550651 {#1850
      date: 2023-09-01 08:44:11.0 +02:00
    }
    +createdAt: DateTimeImmutable @1693550217 {#2420
      date: 2023-09-01 08:36:57.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4280
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4101
      +user: App\Entity\User {#4084 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: """
        I think mecanum wheels slip quite a bit. So I’m not sure how effective those encoders are. But I’ve only ever tried 3d-printed ones. So I’m not super sure.\n
        \n
        You’re sure your STEM students are ready to handle the LiDAR? Manage point clouds, do the arithmetic, path planning etc? We had a practical course with little robots. But they had 3 of those sharp distance sensors at the front and a bumper with a switch. This was enough to teach many concepts and also enough to implement for the students for something that was just a project and not a full time job. But I’m sure that depends on what exactly you want to teach…\n
        \n
        And our robots hat the motor drivers (h-bridges) replaceable on socket terminals because every so often someone wasn’t very clever or didn’t listen in the lectures.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1694071778 {#4102
        date: 2023-09-07 09:29:38.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@Saigonauticon@voltage.vn"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4099 …}
      +nested: Doctrine\ORM\PersistentCollection {#4097 …}
      +votes: Doctrine\ORM\PersistentCollection {#4095 …}
      +reports: Doctrine\ORM\PersistentCollection {#4092 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4088 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4086 …}
      -id: 27597
      -bodyTs: "'3':67 '3d':26 '3d-printed':25 'also':90 'arithmet':52 'bit':8 'bridg':132 'bumper':78 'clever':145 'cloud':49 'concept':88 'cours':60 'depend':115 'didn':147 'distanc':71 'driver':129 'effect':15 'encod':17 'enough':84,91 'etc':55 'ever':23 'everi':138 'exact':118 'front':75 'full':107 'h':131 'h-bridg':130 'handl':44 'hat':126 'implement':93 'job':109 'lectur':152 'lidar':46 'listen':149 'littl':62 'm':11,31,112 'manag':47 'mani':87 'mecanum':3 'motor':128 'often':140 'one':28 'path':53 'plan':54 'point':48 'practic':59 'print':27 'project':103 'quit':6 're':36 'readi':42 'replac':133 'robot':63,125 'sensor':72 'sharp':70 'slip':5 'socket':135 'someon':141 'someth':98 'stem':39 'student':40,96 'super':33 'sure':13,34,37,113 'switch':81 'teach':86,122 'termin':136 'think':2 'time':108 'tri':24 've':21 'want':120 'wasn':142 'wheel':4"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/comment/2572674"
      +editedAt: DateTimeImmutable @1693564680 {#4107
        date: 2023-09-01 12:38:00.0 +02:00
      }
      +createdAt: DateTimeImmutable @1693564547 {#4105
        date: 2023-09-01 12:35:47.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4101}
    +body: """
      They’re university software engineering students, probably a year or two into their degrees. I’m hoping to provide the robots as completed units that are controlled via API, because we’re not likely to get many students with electrical, mechanical, or embedded backgrounds. You’re right about the complexity though, and that’s something I’ve been thinking about – I guess I’ll start out with a bit of optimism regarding their talents, and scale back if needed :D\n
      \n
      I don’t really have a scope, budget, timeline, or audience properly defined for this project – in short my client has a STEM program for building and interacting with digital maps, but it’s *way too boring* and I’m determined to breathe some life into it. So I’m going to have to play a lot of things by ear.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1693906684 {#4278
      date: 2023-09-05 11:38:04.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Saigonauticon@voltage.vn"
      "@rufus@discuss.tchncs.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4281 …}
    +nested: Doctrine\ORM\PersistentCollection {#4283 …}
    +votes: Doctrine\ORM\PersistentCollection {#4285 …}
    +reports: Doctrine\ORM\PersistentCollection {#4287 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4289 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4291 …}
    -id: 28063
    -bodyTs: "'api':29 'audienc':91 'back':77 'background':44 'bit':69 'bore':117 'breath':123 'budget':88 'build':106 'client':100 'complet':23 'complex':50 'control':27 'd':80 'defin':93 'degre':14 'determin':121 'digit':110 'ear':141 'electr':40 'embed':43 'engin':5 'get':36 'go':131 'guess':62 'hope':17 'interact':108 'life':125 'like':34 'll':64 'lot':137 'm':16,120,130 'mani':37 'map':111 'mechan':41 'need':79 'optim':71 'play':135 'probabl':7 'program':104 'project':96 'proper':92 'provid':19 're':2,32,46 'realli':84 'regard':72 'right':47 'robot':21 'scale':76 'scope':87 'short':98 'softwar':4 'someth':55 'start':65 'stem':103 'student':6,38 'talent':74 'thing':139 'think':59 'though':51 'timelin':89 'two':11 'unit':24 'univers':3 've':57 'via':28 'way':115 'year':9"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://voltage.vn/comment/212522"
    +editedAt: null
    +createdAt: DateTimeImmutable @1693906684 {#4279
      date: 2023-09-05 11:38:04.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4101}
  +body: """
    Well, kids / young people / students will surprise you anyways. No matter what you planned ahead. I think teaching this way just requires you to stay flexible and try things with the students and see what works. University students will benefit from a little challenge, but it shouldn’t be impossible and get them frustrated. I’ve never taught myself, but I bet it’s difficult to hit that balance.\n
    \n
    Programming little robots is awesome, though. I think it’s on a whole other level to see robots move and do tasks, than to look at your screen and program something that changes a few pixels there. My university course was more related to embedded devices and closer to the electronics. It teaches you valuable lessons when forced to interact with some electronics, real-world physics, constrained resources and you need to get your maths right. Usually students are concerned with something like Java, learning object-oriented programming or handling some big frameworks. Or learning maths. And robotics teaches you to really pay attention, combine different skill-sets and do things without an easy route available.\n
    \n
    Maybe it’s just me who likes electronics too much. But I’m sure the kind of motivation you get by watching a real robot move and it runs your code, is unique. And kind of universal. You can do this in pre-school or in university to spark their imagination and motivation.\n
    \n
    Your task is a bit different. If you’re teaching something like simultaneous localization and mapping and the students also have to deal with all the robotics, sensors and real-word problems, this might be more of an ordeal for them than fun. Even dealing with noisy sensor values is a hassle until you get to grasp the bigger picture.\n
    \n
    If you’re giving them access to an API, you can choose and adjust what kind of abstraction you’re providing them. Give them something high-level or have them do more work. You could prepare most of the implementation and adjust the level of detail while teaching. Maybe skip something and give them working code via your API so they can focus on the problem they’re actually supposed to learn. You can also do it the other way round. Let them start with all low level stuff handled for them and learn the big concepts. Then let them dig down and see what your API functions have abstracted away until then. This way around you won’t run out of time.\n
    \n
    I’m sure including actual robotics is going to get them more motivated in contrast to running a simulation.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1693914344 {#4319
    date: 2023-09-05 13:45:44.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Saigonauticon@voltage.vn"
    "@rufus@discuss.tchncs.de"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4312 …}
  +nested: Doctrine\ORM\PersistentCollection {#4310 …}
  +votes: Doctrine\ORM\PersistentCollection {#4314 …}
  +reports: Doctrine\ORM\PersistentCollection {#4325 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4327 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4329 …}
  -id: 28065
  -bodyTs: "'abstract':321,414 'access':309 'actual':373,432 'adjust':317,346 'ahead':15 'also':262,379 'anyway':9 'api':312,363,411 'around':420 'attent':175 'avail':188 'away':415 'awesom':74 'balanc':69 'benefit':40 'bet':62 'big':163,400 'bigger':302 'bit':247 'challeng':44 'chang':102 'choos':315 'closer':117 'code':219,360 'combin':176 'concept':401 'concern':150 'constrain':137 'contrast':442 'could':339 'cours':109 'deal':265,288 'detail':350 'devic':115 'differ':177,248 'difficult':65 'dig':405 'easi':186 'electron':120,132,196 'embed':114 'even':287 'flexibl':26 'focus':367 'forc':127 'framework':164 'frustrat':54 'fun':286 'function':412 'get':52,143,208,298,437 'give':307,326,357 'go':435 'grasp':300 'handl':161,394 'hassl':295 'high':330 'high-level':329 'hit':67 'imagin':240 'implement':344 'imposs':50 'includ':431 'interact':129 'java':154 'kid':2 'kind':204,223,319 'learn':155,166,376,398 'lesson':125 'let':386,403 'level':84,331,348,392 'like':153,195,254 'littl':43,71 'local':256 'look':94 'low':391 'm':201,429 'map':258 'math':145,167 'matter':11 'mayb':189,353 'might':277 'motiv':206,242,440 'move':88,214 'much':198 'need':141 'never':57 'noisi':290 'object':157 'object-ori':156 'ordeal':282 'orient':158 'pay':174 'peopl':4 'physic':136 'pictur':303 'pixel':105 'plan':14 'pre':232 'pre-school':231 'prepar':340 'problem':275,370 'program':70,99,159 'provid':324 're':251,306,323,372 'real':134,212,273 'real-word':272 'real-world':133 'realli':173 'relat':112 'requir':22 'resourc':138 'right':146 'robot':72,87,169,213,269,433 'round':385 'rout':187 'run':217,424,444 'school':233 'screen':97 'see':34,86,408 'sensor':270,291 'set':180 'shouldn':47 'simul':446 'simultan':255 'skill':179 'skill-set':178 'skip':354 'someth':100,152,253,328,355 'spark':238 'start':388 'stay':25 'student':5,32,38,148,261 'stuff':393 'suppos':374 'sure':202,430 'surpris':7 'task':91,244 'taught':58 'teach':18,122,170,252,352 'thing':29,183 'think':17,77 'though':75 'time':427 'tri':28 'uniqu':221 'univers':37,108,225,236 'usual':147 'valu':292 'valuabl':124 've':56 'via':361 'watch':210 'way':20,384,419 'well':1 'whole':82 'without':184 'won':422 'word':274 'work':36,337,359 'world':135 'young':3"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://discuss.tchncs.de/comment/2687935"
  +editedAt: DateTimeImmutable @1693914611 {#4322
    date: 2023-09-05 13:50:11.0 +02:00
  }
  +createdAt: DateTimeImmutable @1693914344 {#4318
    date: 2023-09-05 13:45:44.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
24 DENIED moderate
App\Entity\EntryComment {#4315
  +user: App\Entity\User {#4084 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Considering-positioning-strategies-for-autonomous-mechanum-wheeled-robots"
    +title: "Considering positioning strategies for autonomous mechanum-wheeled robots"
    +url: null
    +body: """
      Disclaimer: this is not *specifically* for a commercial product, but various things I design sometimes get commercialized. I mention this so that you may decide whether you want to weigh in. If it’s commercialized, I will probably make very little money but a bunch of university students may get a neat STEM program in the countryside :D\n
      \n
      That out of the way, I’ve designed some boards for a Wi-Fi controlled robot with mechanum wheels. So 4 independent motor drivers, one for each wheel, allow omnidirectional motion. It’s built around a Pi Pico W, 4 SOIC-8 9110S motor drivers, and some buck/boost converters to give the system a 5V and 12V line. It’s very basic, mostly made to be cheap. Here’s a photo:\n
      \n
      ![](https://voltage.vn/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)\n
      \n
      Right now it just receives UDP communications (a little app written in Godot) and activates the motors in different combinations – very “hello world”. I’m planning to add some autonomy to move around pre-generated maps, solve mazes, and so on.\n
      \n
      I have foolishly used 2-pin JST connectors for the motors, so using motors with rotary encoders would be a pain without ordering new boards. I’ll probably fix that in a later board revision or just hack it in. Also the routing is sloppy and there’s no ground plane. It works well enough for development and testing though :D\n
      \n
      What I’m thinking about right now, is how to let the robot position itself in a room effectively and cheaply. I was thinking of adding either a full LiDAR or building a limited LiDAR out of a servo motor and two cheap laser ToF sensors – e.g. one pointed forward, the other back, and I can sweep it 90 degrees. Since the LiDAR does not need to be fast or continuously sweep, I am leaning toward the latter approach.\n
      \n
      Then the processing is handled remotely – a server requests that the robot do a LiDAR sweep, the robot sends a minimal point cloud back to the server, which estimates the robot’s current location and sends back some instructions to move in a direction for some distance – probably this is where the lack of rotary encoders is going to hurt, but for now I’m planning on just pointing the forward laser ToF sensor towards a target and give the instruction “turn or move forward at static speed X until the sensor reads Y”, which should be pretty easy for the MCU To handle.\n
      \n
      I’m planning to control multiple robots from the same server. The robots don’t need to be super fast.\n
      \n
      What I’m currently wondering is whether my approach really needs rotary encoders in practice – I’ve heard that mechanum wheels have high enough mechanical slippage that they end up inaccurate, and designers often add another set of unpowered wheels for position tracking anyway. I don’t want to add more wheels in this way though.\n
      \n
      On the other hand, it would probably be easier to tell the MCU to “move forward X rotary encoder pulses at a velocity defined by Y pulses per second, and then check position and correct at a lower speed” than to use a pure LiDAR approach (e.g. even if rotary encoders don’t give me accurate position, on small time scales, they give me good feedback to control speed). I could possibly even send a fairly complex series of instructions in one go, making the communications efficient enough to eliminate a local server and control a ton of robots from a cloud VPS or whatever.\n
      \n
      Anyone have some experience with encoders + mechanum wheels that can offer a few tips my way? At this stage the project doesn’t have clear engineering goals and this is mostly an academic exercise. I’ve read that using a rigid chassis and minimizing the need for lateral motion can reduce slippage, reading through a few papers didn’t get me any numerical indication of what to expect.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 10
    +favouriteCount: 14
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1694071771 {#2410
      date: 2023-09-07 09:29:31.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 2057
    -titleTs: "'autonom':5 'consid':1 'mechanum':7 'mechanum-wheel':6 'posit':2 'robot':9 'strategi':3 'wheel':8"
    -bodyTs: "'-8':101 '/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)':133 '12v':116 '2':180 '4':80,99 '5v':114 '90':295 '9110s':102 'academ':633 'accur':551 'activ':148 'ad':262 'add':161,474,489 'allow':88 'also':216 'anoth':475 'anyon':601 'anyway':483 'app':143 'approach':315,448,541 'around':94,166 'autonomi':163 'back':289,339,352 'basic':121 'board':68,200,209 'buck/boost':107 'build':268 'built':93 'bunch':45 'chassi':642 'cheap':126,279 'cheapli':257 'check':527 'clear':625 'cloud':338,597 'combin':153 'commerci':8,17,35 'communic':140,581 'complex':572 'connector':183 'continu':307 'control':74,424,563,590 'convert':108 'correct':530 'could':566 'countrysid':57 'current':348,443 'd':58,236 'decid':25 'defin':519 'degre':296 'design':14,66,472 'develop':232 'didn':658 'differ':152 'direct':359 'disclaim':1 'distanc':362 'doesn':622 'driver':83,104 'e.g':283,542 'easi':414 'easier':504 'effect':255 'effici':582 'either':263 'elimin':585 'encod':192,371,452,514,546,606 'end':468 'engin':626 'enough':230,463,583 'estim':344 'even':543,568 'exercis':634 'expect':668 'experi':604 'fair':571 'fast':305,439 'feedback':561 'fi':73 'fix':204 'foolish':178 'forward':286,386,400,511 'full':265 'generat':169 'get':16,50,660 'give':110,394,549,558 'go':373,578 'goal':627 'godot':146 'good':560 'ground':225 'hack':213 'hand':499 'handl':320,419 'heard':457 'hello':155 'high':462 'hurt':375 'inaccur':470 'independ':81 'indic':664 'instruct':354,396,575 'jst':182 'lack':368 'laser':280,387 'later':208,648 'latter':314 'lean':311 'let':247 'lidar':266,271,299,330,540 'limit':270 'line':117 'littl':41,142 'll':202 'local':587 'locat':349 'lower':533 'm':158,239,380,421,442 'made':123 'make':39,579 'map':170 'may':24,49 'maze':172 'mcu':417,508 'mechan':464 'mechanum':77,459,607 'mention':19 'minim':336,644 'money':42 'most':122,631 'motion':90,649 'motor':82,103,150,186,189,276 'move':165,356,399,510 'multipl':425 'neat':52 'need':302,435,450,646 'new':199 'numer':663 'offer':611 'often':473 'omnidirect':89 'one':84,284,577 'order':198 'pain':196 'paper':657 'per':523 'photo':130 'pi':96 'pico':97 'pin':181 'plan':159,381,422 'plane':226 'point':285,337,384 'posit':250,481,528,552 'possibl':567 'practic':454 'pre':168 'pre-gener':167 'pretti':413 'probabl':38,203,363,502 'process':318 'product':9 'program':54 'project':621 'puls':515,522 'pure':539 'read':408,637,653 'realli':449 'receiv':138 'reduc':651 'remot':321 'request':324 'revis':210 'right':134,242 'rigid':641 'robot':75,249,327,333,346,426,432,594 'room':254 'rotari':191,370,451,513,545 'rout':218 'scale':556 'second':524 'send':334,351,569 'sensor':282,389,407 'seri':573 'server':323,342,430,588 'servo':275 'set':476 'sinc':297 'slippag':465,652 'sloppi':220 'small':554 'soic':100 'solv':171 'sometim':15 'specif':5 'speed':403,534,564 'stage':619 'static':402 'stem':53 'student':48 'super':438 'sweep':293,308,331 'system':112 'target':392 'tell':506 'test':234 'thing':12 'think':240,260 'though':235,495 'time':555 'tip':614 'tof':281,388 'ton':592 'toward':312,390 'track':482 'turn':397 'two':278 'udp':139 'univers':47 'unpow':478 'use':179,188,537,639 'various':11 've':65,456,636 'veloc':518 'voltage.vn':132 'voltage.vn/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)':131 'vps':598 'w':98 'want':28,487 'way':63,494,616 'weigh':30 'well':229 'whatev':600 'wheel':78,87,460,479,491,608 'whether':26,446 'wi':72 'wi-fi':71 'without':197 'wonder':444 'work':228 'world':156 'would':193,501 'written':144 'x':404,512 'y':409,521"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1693616717
    +visibility: "visible             "
    +apId: "https://voltage.vn/post/18974"
    +editedAt: DateTimeImmutable @1693550651 {#1850
      date: 2023-09-01 08:44:11.0 +02:00
    }
    +createdAt: DateTimeImmutable @1693550217 {#2420
      date: 2023-09-01 08:36:57.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4280
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4101
      +user: App\Entity\User {#4084 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: """
        I think mecanum wheels slip quite a bit. So I’m not sure how effective those encoders are. But I’ve only ever tried 3d-printed ones. So I’m not super sure.\n
        \n
        You’re sure your STEM students are ready to handle the LiDAR? Manage point clouds, do the arithmetic, path planning etc? We had a practical course with little robots. But they had 3 of those sharp distance sensors at the front and a bumper with a switch. This was enough to teach many concepts and also enough to implement for the students for something that was just a project and not a full time job. But I’m sure that depends on what exactly you want to teach…\n
        \n
        And our robots hat the motor drivers (h-bridges) replaceable on socket terminals because every so often someone wasn’t very clever or didn’t listen in the lectures.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1694071778 {#4102
        date: 2023-09-07 09:29:38.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@Saigonauticon@voltage.vn"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4099 …}
      +nested: Doctrine\ORM\PersistentCollection {#4097 …}
      +votes: Doctrine\ORM\PersistentCollection {#4095 …}
      +reports: Doctrine\ORM\PersistentCollection {#4092 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4088 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4086 …}
      -id: 27597
      -bodyTs: "'3':67 '3d':26 '3d-printed':25 'also':90 'arithmet':52 'bit':8 'bridg':132 'bumper':78 'clever':145 'cloud':49 'concept':88 'cours':60 'depend':115 'didn':147 'distanc':71 'driver':129 'effect':15 'encod':17 'enough':84,91 'etc':55 'ever':23 'everi':138 'exact':118 'front':75 'full':107 'h':131 'h-bridg':130 'handl':44 'hat':126 'implement':93 'job':109 'lectur':152 'lidar':46 'listen':149 'littl':62 'm':11,31,112 'manag':47 'mani':87 'mecanum':3 'motor':128 'often':140 'one':28 'path':53 'plan':54 'point':48 'practic':59 'print':27 'project':103 'quit':6 're':36 'readi':42 'replac':133 'robot':63,125 'sensor':72 'sharp':70 'slip':5 'socket':135 'someon':141 'someth':98 'stem':39 'student':40,96 'super':33 'sure':13,34,37,113 'switch':81 'teach':86,122 'termin':136 'think':2 'time':108 'tri':24 've':21 'want':120 'wasn':142 'wheel':4"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/comment/2572674"
      +editedAt: DateTimeImmutable @1693564680 {#4107
        date: 2023-09-01 12:38:00.0 +02:00
      }
      +createdAt: DateTimeImmutable @1693564547 {#4105
        date: 2023-09-01 12:35:47.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4101}
    +body: """
      They’re university software engineering students, probably a year or two into their degrees. I’m hoping to provide the robots as completed units that are controlled via API, because we’re not likely to get many students with electrical, mechanical, or embedded backgrounds. You’re right about the complexity though, and that’s something I’ve been thinking about – I guess I’ll start out with a bit of optimism regarding their talents, and scale back if needed :D\n
      \n
      I don’t really have a scope, budget, timeline, or audience properly defined for this project – in short my client has a STEM program for building and interacting with digital maps, but it’s *way too boring* and I’m determined to breathe some life into it. So I’m going to have to play a lot of things by ear.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1693906684 {#4278
      date: 2023-09-05 11:38:04.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Saigonauticon@voltage.vn"
      "@rufus@discuss.tchncs.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4281 …}
    +nested: Doctrine\ORM\PersistentCollection {#4283 …}
    +votes: Doctrine\ORM\PersistentCollection {#4285 …}
    +reports: Doctrine\ORM\PersistentCollection {#4287 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4289 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4291 …}
    -id: 28063
    -bodyTs: "'api':29 'audienc':91 'back':77 'background':44 'bit':69 'bore':117 'breath':123 'budget':88 'build':106 'client':100 'complet':23 'complex':50 'control':27 'd':80 'defin':93 'degre':14 'determin':121 'digit':110 'ear':141 'electr':40 'embed':43 'engin':5 'get':36 'go':131 'guess':62 'hope':17 'interact':108 'life':125 'like':34 'll':64 'lot':137 'm':16,120,130 'mani':37 'map':111 'mechan':41 'need':79 'optim':71 'play':135 'probabl':7 'program':104 'project':96 'proper':92 'provid':19 're':2,32,46 'realli':84 'regard':72 'right':47 'robot':21 'scale':76 'scope':87 'short':98 'softwar':4 'someth':55 'start':65 'stem':103 'student':6,38 'talent':74 'thing':139 'think':59 'though':51 'timelin':89 'two':11 'unit':24 'univers':3 've':57 'via':28 'way':115 'year':9"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://voltage.vn/comment/212522"
    +editedAt: null
    +createdAt: DateTimeImmutable @1693906684 {#4279
      date: 2023-09-05 11:38:04.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4101}
  +body: """
    Well, kids / young people / students will surprise you anyways. No matter what you planned ahead. I think teaching this way just requires you to stay flexible and try things with the students and see what works. University students will benefit from a little challenge, but it shouldn’t be impossible and get them frustrated. I’ve never taught myself, but I bet it’s difficult to hit that balance.\n
    \n
    Programming little robots is awesome, though. I think it’s on a whole other level to see robots move and do tasks, than to look at your screen and program something that changes a few pixels there. My university course was more related to embedded devices and closer to the electronics. It teaches you valuable lessons when forced to interact with some electronics, real-world physics, constrained resources and you need to get your maths right. Usually students are concerned with something like Java, learning object-oriented programming or handling some big frameworks. Or learning maths. And robotics teaches you to really pay attention, combine different skill-sets and do things without an easy route available.\n
    \n
    Maybe it’s just me who likes electronics too much. But I’m sure the kind of motivation you get by watching a real robot move and it runs your code, is unique. And kind of universal. You can do this in pre-school or in university to spark their imagination and motivation.\n
    \n
    Your task is a bit different. If you’re teaching something like simultaneous localization and mapping and the students also have to deal with all the robotics, sensors and real-word problems, this might be more of an ordeal for them than fun. Even dealing with noisy sensor values is a hassle until you get to grasp the bigger picture.\n
    \n
    If you’re giving them access to an API, you can choose and adjust what kind of abstraction you’re providing them. Give them something high-level or have them do more work. You could prepare most of the implementation and adjust the level of detail while teaching. Maybe skip something and give them working code via your API so they can focus on the problem they’re actually supposed to learn. You can also do it the other way round. Let them start with all low level stuff handled for them and learn the big concepts. Then let them dig down and see what your API functions have abstracted away until then. This way around you won’t run out of time.\n
    \n
    I’m sure including actual robotics is going to get them more motivated in contrast to running a simulation.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1693914344 {#4319
    date: 2023-09-05 13:45:44.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Saigonauticon@voltage.vn"
    "@rufus@discuss.tchncs.de"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4312 …}
  +nested: Doctrine\ORM\PersistentCollection {#4310 …}
  +votes: Doctrine\ORM\PersistentCollection {#4314 …}
  +reports: Doctrine\ORM\PersistentCollection {#4325 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4327 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4329 …}
  -id: 28065
  -bodyTs: "'abstract':321,414 'access':309 'actual':373,432 'adjust':317,346 'ahead':15 'also':262,379 'anyway':9 'api':312,363,411 'around':420 'attent':175 'avail':188 'away':415 'awesom':74 'balanc':69 'benefit':40 'bet':62 'big':163,400 'bigger':302 'bit':247 'challeng':44 'chang':102 'choos':315 'closer':117 'code':219,360 'combin':176 'concept':401 'concern':150 'constrain':137 'contrast':442 'could':339 'cours':109 'deal':265,288 'detail':350 'devic':115 'differ':177,248 'difficult':65 'dig':405 'easi':186 'electron':120,132,196 'embed':114 'even':287 'flexibl':26 'focus':367 'forc':127 'framework':164 'frustrat':54 'fun':286 'function':412 'get':52,143,208,298,437 'give':307,326,357 'go':435 'grasp':300 'handl':161,394 'hassl':295 'high':330 'high-level':329 'hit':67 'imagin':240 'implement':344 'imposs':50 'includ':431 'interact':129 'java':154 'kid':2 'kind':204,223,319 'learn':155,166,376,398 'lesson':125 'let':386,403 'level':84,331,348,392 'like':153,195,254 'littl':43,71 'local':256 'look':94 'low':391 'm':201,429 'map':258 'math':145,167 'matter':11 'mayb':189,353 'might':277 'motiv':206,242,440 'move':88,214 'much':198 'need':141 'never':57 'noisi':290 'object':157 'object-ori':156 'ordeal':282 'orient':158 'pay':174 'peopl':4 'physic':136 'pictur':303 'pixel':105 'plan':14 'pre':232 'pre-school':231 'prepar':340 'problem':275,370 'program':70,99,159 'provid':324 're':251,306,323,372 'real':134,212,273 'real-word':272 'real-world':133 'realli':173 'relat':112 'requir':22 'resourc':138 'right':146 'robot':72,87,169,213,269,433 'round':385 'rout':187 'run':217,424,444 'school':233 'screen':97 'see':34,86,408 'sensor':270,291 'set':180 'shouldn':47 'simul':446 'simultan':255 'skill':179 'skill-set':178 'skip':354 'someth':100,152,253,328,355 'spark':238 'start':388 'stay':25 'student':5,32,38,148,261 'stuff':393 'suppos':374 'sure':202,430 'surpris':7 'task':91,244 'taught':58 'teach':18,122,170,252,352 'thing':29,183 'think':17,77 'though':75 'time':427 'tri':28 'uniqu':221 'univers':37,108,225,236 'usual':147 'valu':292 'valuabl':124 've':56 'via':361 'watch':210 'way':20,384,419 'well':1 'whole':82 'without':184 'won':422 'word':274 'work':36,337,359 'world':135 'young':3"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://discuss.tchncs.de/comment/2687935"
  +editedAt: DateTimeImmutable @1693914611 {#4322
    date: 2023-09-05 13:50:11.0 +02:00
  }
  +createdAt: DateTimeImmutable @1693914344 {#4318
    date: 2023-09-05 13:45:44.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
25 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
26 DENIED moderate
App\Entity\EntryComment {#4346
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Considering-positioning-strategies-for-autonomous-mechanum-wheeled-robots"
    +title: "Considering positioning strategies for autonomous mechanum-wheeled robots"
    +url: null
    +body: """
      Disclaimer: this is not *specifically* for a commercial product, but various things I design sometimes get commercialized. I mention this so that you may decide whether you want to weigh in. If it’s commercialized, I will probably make very little money but a bunch of university students may get a neat STEM program in the countryside :D\n
      \n
      That out of the way, I’ve designed some boards for a Wi-Fi controlled robot with mechanum wheels. So 4 independent motor drivers, one for each wheel, allow omnidirectional motion. It’s built around a Pi Pico W, 4 SOIC-8 9110S motor drivers, and some buck/boost converters to give the system a 5V and 12V line. It’s very basic, mostly made to be cheap. Here’s a photo:\n
      \n
      ![](https://voltage.vn/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)\n
      \n
      Right now it just receives UDP communications (a little app written in Godot) and activates the motors in different combinations – very “hello world”. I’m planning to add some autonomy to move around pre-generated maps, solve mazes, and so on.\n
      \n
      I have foolishly used 2-pin JST connectors for the motors, so using motors with rotary encoders would be a pain without ordering new boards. I’ll probably fix that in a later board revision or just hack it in. Also the routing is sloppy and there’s no ground plane. It works well enough for development and testing though :D\n
      \n
      What I’m thinking about right now, is how to let the robot position itself in a room effectively and cheaply. I was thinking of adding either a full LiDAR or building a limited LiDAR out of a servo motor and two cheap laser ToF sensors – e.g. one pointed forward, the other back, and I can sweep it 90 degrees. Since the LiDAR does not need to be fast or continuously sweep, I am leaning toward the latter approach.\n
      \n
      Then the processing is handled remotely – a server requests that the robot do a LiDAR sweep, the robot sends a minimal point cloud back to the server, which estimates the robot’s current location and sends back some instructions to move in a direction for some distance – probably this is where the lack of rotary encoders is going to hurt, but for now I’m planning on just pointing the forward laser ToF sensor towards a target and give the instruction “turn or move forward at static speed X until the sensor reads Y”, which should be pretty easy for the MCU To handle.\n
      \n
      I’m planning to control multiple robots from the same server. The robots don’t need to be super fast.\n
      \n
      What I’m currently wondering is whether my approach really needs rotary encoders in practice – I’ve heard that mechanum wheels have high enough mechanical slippage that they end up inaccurate, and designers often add another set of unpowered wheels for position tracking anyway. I don’t want to add more wheels in this way though.\n
      \n
      On the other hand, it would probably be easier to tell the MCU to “move forward X rotary encoder pulses at a velocity defined by Y pulses per second, and then check position and correct at a lower speed” than to use a pure LiDAR approach (e.g. even if rotary encoders don’t give me accurate position, on small time scales, they give me good feedback to control speed). I could possibly even send a fairly complex series of instructions in one go, making the communications efficient enough to eliminate a local server and control a ton of robots from a cloud VPS or whatever.\n
      \n
      Anyone have some experience with encoders + mechanum wheels that can offer a few tips my way? At this stage the project doesn’t have clear engineering goals and this is mostly an academic exercise. I’ve read that using a rigid chassis and minimizing the need for lateral motion can reduce slippage, reading through a few papers didn’t get me any numerical indication of what to expect.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 10
    +favouriteCount: 14
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1694071771 {#2410
      date: 2023-09-07 09:29:31.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 2057
    -titleTs: "'autonom':5 'consid':1 'mechanum':7 'mechanum-wheel':6 'posit':2 'robot':9 'strategi':3 'wheel':8"
    -bodyTs: "'-8':101 '/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)':133 '12v':116 '2':180 '4':80,99 '5v':114 '90':295 '9110s':102 'academ':633 'accur':551 'activ':148 'ad':262 'add':161,474,489 'allow':88 'also':216 'anoth':475 'anyon':601 'anyway':483 'app':143 'approach':315,448,541 'around':94,166 'autonomi':163 'back':289,339,352 'basic':121 'board':68,200,209 'buck/boost':107 'build':268 'built':93 'bunch':45 'chassi':642 'cheap':126,279 'cheapli':257 'check':527 'clear':625 'cloud':338,597 'combin':153 'commerci':8,17,35 'communic':140,581 'complex':572 'connector':183 'continu':307 'control':74,424,563,590 'convert':108 'correct':530 'could':566 'countrysid':57 'current':348,443 'd':58,236 'decid':25 'defin':519 'degre':296 'design':14,66,472 'develop':232 'didn':658 'differ':152 'direct':359 'disclaim':1 'distanc':362 'doesn':622 'driver':83,104 'e.g':283,542 'easi':414 'easier':504 'effect':255 'effici':582 'either':263 'elimin':585 'encod':192,371,452,514,546,606 'end':468 'engin':626 'enough':230,463,583 'estim':344 'even':543,568 'exercis':634 'expect':668 'experi':604 'fair':571 'fast':305,439 'feedback':561 'fi':73 'fix':204 'foolish':178 'forward':286,386,400,511 'full':265 'generat':169 'get':16,50,660 'give':110,394,549,558 'go':373,578 'goal':627 'godot':146 'good':560 'ground':225 'hack':213 'hand':499 'handl':320,419 'heard':457 'hello':155 'high':462 'hurt':375 'inaccur':470 'independ':81 'indic':664 'instruct':354,396,575 'jst':182 'lack':368 'laser':280,387 'later':208,648 'latter':314 'lean':311 'let':247 'lidar':266,271,299,330,540 'limit':270 'line':117 'littl':41,142 'll':202 'local':587 'locat':349 'lower':533 'm':158,239,380,421,442 'made':123 'make':39,579 'map':170 'may':24,49 'maze':172 'mcu':417,508 'mechan':464 'mechanum':77,459,607 'mention':19 'minim':336,644 'money':42 'most':122,631 'motion':90,649 'motor':82,103,150,186,189,276 'move':165,356,399,510 'multipl':425 'neat':52 'need':302,435,450,646 'new':199 'numer':663 'offer':611 'often':473 'omnidirect':89 'one':84,284,577 'order':198 'pain':196 'paper':657 'per':523 'photo':130 'pi':96 'pico':97 'pin':181 'plan':159,381,422 'plane':226 'point':285,337,384 'posit':250,481,528,552 'possibl':567 'practic':454 'pre':168 'pre-gener':167 'pretti':413 'probabl':38,203,363,502 'process':318 'product':9 'program':54 'project':621 'puls':515,522 'pure':539 'read':408,637,653 'realli':449 'receiv':138 'reduc':651 'remot':321 'request':324 'revis':210 'right':134,242 'rigid':641 'robot':75,249,327,333,346,426,432,594 'room':254 'rotari':191,370,451,513,545 'rout':218 'scale':556 'second':524 'send':334,351,569 'sensor':282,389,407 'seri':573 'server':323,342,430,588 'servo':275 'set':476 'sinc':297 'slippag':465,652 'sloppi':220 'small':554 'soic':100 'solv':171 'sometim':15 'specif':5 'speed':403,534,564 'stage':619 'static':402 'stem':53 'student':48 'super':438 'sweep':293,308,331 'system':112 'target':392 'tell':506 'test':234 'thing':12 'think':240,260 'though':235,495 'time':555 'tip':614 'tof':281,388 'ton':592 'toward':312,390 'track':482 'turn':397 'two':278 'udp':139 'univers':47 'unpow':478 'use':179,188,537,639 'various':11 've':65,456,636 'veloc':518 'voltage.vn':132 'voltage.vn/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)':131 'vps':598 'w':98 'want':28,487 'way':63,494,616 'weigh':30 'well':229 'whatev':600 'wheel':78,87,460,479,491,608 'whether':26,446 'wi':72 'wi-fi':71 'without':197 'wonder':444 'work':228 'world':156 'would':193,501 'written':144 'x':404,512 'y':409,521"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1693616717
    +visibility: "visible             "
    +apId: "https://voltage.vn/post/18974"
    +editedAt: DateTimeImmutable @1693550651 {#1850
      date: 2023-09-01 08:44:11.0 +02:00
    }
    +createdAt: DateTimeImmutable @1693550217 {#2420
      date: 2023-09-01 08:36:57.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4315
    +user: App\Entity\User {#4084 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4280
      +user: Proxies\__CG__\App\Entity\User {#1970 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4101
        +user: App\Entity\User {#4084 …}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: null
        +root: null
        +body: """
          I think mecanum wheels slip quite a bit. So I’m not sure how effective those encoders are. But I’ve only ever tried 3d-printed ones. So I’m not super sure.\n
          \n
          You’re sure your STEM students are ready to handle the LiDAR? Manage point clouds, do the arithmetic, path planning etc? We had a practical course with little robots. But they had 3 of those sharp distance sensors at the front and a bumper with a switch. This was enough to teach many concepts and also enough to implement for the students for something that was just a project and not a full time job. But I’m sure that depends on what exactly you want to teach…\n
          \n
          And our robots hat the motor drivers (h-bridges) replaceable on socket terminals because every so often someone wasn’t very clever or didn’t listen in the lectures.
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 0
        +score: 0
        +lastActive: DateTime @1694071778 {#4102
          date: 2023-09-07 09:29:38.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@Saigonauticon@voltage.vn"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4099 …}
        +nested: Doctrine\ORM\PersistentCollection {#4097 …}
        +votes: Doctrine\ORM\PersistentCollection {#4095 …}
        +reports: Doctrine\ORM\PersistentCollection {#4092 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4088 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4086 …}
        -id: 27597
        -bodyTs: "'3':67 '3d':26 '3d-printed':25 'also':90 'arithmet':52 'bit':8 'bridg':132 'bumper':78 'clever':145 'cloud':49 'concept':88 'cours':60 'depend':115 'didn':147 'distanc':71 'driver':129 'effect':15 'encod':17 'enough':84,91 'etc':55 'ever':23 'everi':138 'exact':118 'front':75 'full':107 'h':131 'h-bridg':130 'handl':44 'hat':126 'implement':93 'job':109 'lectur':152 'lidar':46 'listen':149 'littl':62 'm':11,31,112 'manag':47 'mani':87 'mecanum':3 'motor':128 'often':140 'one':28 'path':53 'plan':54 'point':48 'practic':59 'print':27 'project':103 'quit':6 're':36 'readi':42 'replac':133 'robot':63,125 'sensor':72 'sharp':70 'slip':5 'socket':135 'someon':141 'someth':98 'stem':39 'student':40,96 'super':33 'sure':13,34,37,113 'switch':81 'teach':86,122 'termin':136 'think':2 'time':108 'tri':24 've':21 'want':120 'wasn':142 'wheel':4"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://discuss.tchncs.de/comment/2572674"
        +editedAt: DateTimeImmutable @1693564680 {#4107
          date: 2023-09-01 12:38:00.0 +02:00
        }
        +createdAt: DateTimeImmutable @1693564547 {#4105
          date: 2023-09-01 12:35:47.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4101}
      +body: """
        They’re university software engineering students, probably a year or two into their degrees. I’m hoping to provide the robots as completed units that are controlled via API, because we’re not likely to get many students with electrical, mechanical, or embedded backgrounds. You’re right about the complexity though, and that’s something I’ve been thinking about – I guess I’ll start out with a bit of optimism regarding their talents, and scale back if needed :D\n
        \n
        I don’t really have a scope, budget, timeline, or audience properly defined for this project – in short my client has a STEM program for building and interacting with digital maps, but it’s *way too boring* and I’m determined to breathe some life into it. So I’m going to have to play a lot of things by ear.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1693906684 {#4278
        date: 2023-09-05 11:38:04.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@Saigonauticon@voltage.vn"
        "@rufus@discuss.tchncs.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4281 …}
      +nested: Doctrine\ORM\PersistentCollection {#4283 …}
      +votes: Doctrine\ORM\PersistentCollection {#4285 …}
      +reports: Doctrine\ORM\PersistentCollection {#4287 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4289 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4291 …}
      -id: 28063
      -bodyTs: "'api':29 'audienc':91 'back':77 'background':44 'bit':69 'bore':117 'breath':123 'budget':88 'build':106 'client':100 'complet':23 'complex':50 'control':27 'd':80 'defin':93 'degre':14 'determin':121 'digit':110 'ear':141 'electr':40 'embed':43 'engin':5 'get':36 'go':131 'guess':62 'hope':17 'interact':108 'life':125 'like':34 'll':64 'lot':137 'm':16,120,130 'mani':37 'map':111 'mechan':41 'need':79 'optim':71 'play':135 'probabl':7 'program':104 'project':96 'proper':92 'provid':19 're':2,32,46 'realli':84 'regard':72 'right':47 'robot':21 'scale':76 'scope':87 'short':98 'softwar':4 'someth':55 'start':65 'stem':103 'student':6,38 'talent':74 'thing':139 'think':59 'though':51 'timelin':89 'two':11 'unit':24 'univers':3 've':57 'via':28 'way':115 'year':9"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://voltage.vn/comment/212522"
      +editedAt: null
      +createdAt: DateTimeImmutable @1693906684 {#4279
        date: 2023-09-05 11:38:04.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4101}
    +body: """
      Well, kids / young people / students will surprise you anyways. No matter what you planned ahead. I think teaching this way just requires you to stay flexible and try things with the students and see what works. University students will benefit from a little challenge, but it shouldn’t be impossible and get them frustrated. I’ve never taught myself, but I bet it’s difficult to hit that balance.\n
      \n
      Programming little robots is awesome, though. I think it’s on a whole other level to see robots move and do tasks, than to look at your screen and program something that changes a few pixels there. My university course was more related to embedded devices and closer to the electronics. It teaches you valuable lessons when forced to interact with some electronics, real-world physics, constrained resources and you need to get your maths right. Usually students are concerned with something like Java, learning object-oriented programming or handling some big frameworks. Or learning maths. And robotics teaches you to really pay attention, combine different skill-sets and do things without an easy route available.\n
      \n
      Maybe it’s just me who likes electronics too much. But I’m sure the kind of motivation you get by watching a real robot move and it runs your code, is unique. And kind of universal. You can do this in pre-school or in university to spark their imagination and motivation.\n
      \n
      Your task is a bit different. If you’re teaching something like simultaneous localization and mapping and the students also have to deal with all the robotics, sensors and real-word problems, this might be more of an ordeal for them than fun. Even dealing with noisy sensor values is a hassle until you get to grasp the bigger picture.\n
      \n
      If you’re giving them access to an API, you can choose and adjust what kind of abstraction you’re providing them. Give them something high-level or have them do more work. You could prepare most of the implementation and adjust the level of detail while teaching. Maybe skip something and give them working code via your API so they can focus on the problem they’re actually supposed to learn. You can also do it the other way round. Let them start with all low level stuff handled for them and learn the big concepts. Then let them dig down and see what your API functions have abstracted away until then. This way around you won’t run out of time.\n
      \n
      I’m sure including actual robotics is going to get them more motivated in contrast to running a simulation.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1693914344 {#4319
      date: 2023-09-05 13:45:44.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Saigonauticon@voltage.vn"
      "@rufus@discuss.tchncs.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4312 …}
    +nested: Doctrine\ORM\PersistentCollection {#4310 …}
    +votes: Doctrine\ORM\PersistentCollection {#4314 …}
    +reports: Doctrine\ORM\PersistentCollection {#4325 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4327 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4329 …}
    -id: 28065
    -bodyTs: "'abstract':321,414 'access':309 'actual':373,432 'adjust':317,346 'ahead':15 'also':262,379 'anyway':9 'api':312,363,411 'around':420 'attent':175 'avail':188 'away':415 'awesom':74 'balanc':69 'benefit':40 'bet':62 'big':163,400 'bigger':302 'bit':247 'challeng':44 'chang':102 'choos':315 'closer':117 'code':219,360 'combin':176 'concept':401 'concern':150 'constrain':137 'contrast':442 'could':339 'cours':109 'deal':265,288 'detail':350 'devic':115 'differ':177,248 'difficult':65 'dig':405 'easi':186 'electron':120,132,196 'embed':114 'even':287 'flexibl':26 'focus':367 'forc':127 'framework':164 'frustrat':54 'fun':286 'function':412 'get':52,143,208,298,437 'give':307,326,357 'go':435 'grasp':300 'handl':161,394 'hassl':295 'high':330 'high-level':329 'hit':67 'imagin':240 'implement':344 'imposs':50 'includ':431 'interact':129 'java':154 'kid':2 'kind':204,223,319 'learn':155,166,376,398 'lesson':125 'let':386,403 'level':84,331,348,392 'like':153,195,254 'littl':43,71 'local':256 'look':94 'low':391 'm':201,429 'map':258 'math':145,167 'matter':11 'mayb':189,353 'might':277 'motiv':206,242,440 'move':88,214 'much':198 'need':141 'never':57 'noisi':290 'object':157 'object-ori':156 'ordeal':282 'orient':158 'pay':174 'peopl':4 'physic':136 'pictur':303 'pixel':105 'plan':14 'pre':232 'pre-school':231 'prepar':340 'problem':275,370 'program':70,99,159 'provid':324 're':251,306,323,372 'real':134,212,273 'real-word':272 'real-world':133 'realli':173 'relat':112 'requir':22 'resourc':138 'right':146 'robot':72,87,169,213,269,433 'round':385 'rout':187 'run':217,424,444 'school':233 'screen':97 'see':34,86,408 'sensor':270,291 'set':180 'shouldn':47 'simul':446 'simultan':255 'skill':179 'skill-set':178 'skip':354 'someth':100,152,253,328,355 'spark':238 'start':388 'stay':25 'student':5,32,38,148,261 'stuff':393 'suppos':374 'sure':202,430 'surpris':7 'task':91,244 'taught':58 'teach':18,122,170,252,352 'thing':29,183 'think':17,77 'though':75 'time':427 'tri':28 'uniqu':221 'univers':37,108,225,236 'usual':147 'valu':292 'valuabl':124 've':56 'via':361 'watch':210 'way':20,384,419 'well':1 'whole':82 'without':184 'won':422 'word':274 'work':36,337,359 'world':135 'young':3"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/comment/2687935"
    +editedAt: DateTimeImmutable @1693914611 {#4322
      date: 2023-09-05 13:50:11.0 +02:00
    }
    +createdAt: DateTimeImmutable @1693914344 {#4318
      date: 2023-09-05 13:45:44.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4101}
  +body: """
    Haha, I know exactly what you mean – I’m most interested in resource-constrained embedded systems. I like the attiny10 a lot. At work I mostly write Python, but in my own time it’s mostly assembly language. It feels more concrete, every decision matters, and anything that goes wrong is 100% your fault as there are relatively few bugs at that level. It’s a lot of fun. Also the datasheet is very good.\n
    \n
    I’m self-taught with all the electronics stuff, I paid for it by teaching a course on whatever thing I did most recently. Then I’d use the proceeds to buy tools and parts for the next big (often dumb) idea. I’d also ask for the software engineering assignments from colleagues in those programs, and complete them in my spare time. It was puzzling to a few people why I would *want to do assignments*, and indeed some were very boring (oh god Java + Spring framework) but others were quite interesting (formal study of algorithms). Sadly, economic reality kicked in and I had to run a company instead of pursuing my education further (I still try to do one ridiculous engineering thing per year though).\n
    \n
    I guess there’s a real risk (…like 100%) that I overestimate the motivation students have – so I think I’m going to take your advice and set the level of abstraction with something API-like to abstract away the low-level components (this is closer to my client’s domain). I’m imagining a robot that acts as a WiFi access point, and having something “like an API” that works over UDP packets that describe high-level functions. Then start with something simple – like a digital map with known starting location, and a small obstacle course that can be completed with simple distance measurement, no point clouds. If that goes well, I can develop towards more complex material – probably not full SLAM, but maybe localization on a pre-mapped surface. I have plenty of my own code as examples of how to do simple UDP communications in Python, I could expand it into a custom library.\n
    \n
    Sort of like Logo from 1983, but with a physical robot and sensors. I’m a little to young to have used Logo, but the computer lab in my school was really outdated so I got to try it once :D
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1693974973 {#4341
    date: 2023-09-06 06:36:13.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Saigonauticon@voltage.vn"
    "@rufus@discuss.tchncs.de"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4338 …}
  +nested: Doctrine\ORM\PersistentCollection {#4335 …}
  +votes: Doctrine\ORM\PersistentCollection {#4333 …}
  +reports: Doctrine\ORM\PersistentCollection {#4347 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4349 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4351 …}
  -id: 28109
  -bodyTs: "'100':53,213 '1983':371 'abstract':236,243 'access':268 'act':264 'advic':230 'algorithm':174 'also':71,122 'anyth':48 'api':240,275 'api-lik':239 'ask':123 'assembl':38 'assign':128,154 'attiny10':21 'away':244 'big':116 'bore':160 'bug':61 'buy':109 'client':255 'closer':252 'cloud':315 'code':346 'colleagu':130 'communic':355 'compani':186 'complet':135,308 'complex':325 'compon':249 'comput':391 'concret':43 'constrain':15 'could':359 'cours':94,304 'custom':364 'd':104,121,406 'datasheet':73 'decis':45 'describ':282 'develop':322 'digit':294 'distanc':311 'domain':257 'dumb':118 'econom':176 'educ':191 'electron':85 'embed':16 'engin':127,200 'everi':44 'exact':4 'exampl':348 'expand':360 'fault':55 'feel':41 'formal':171 'framework':165 'full':329 'fun':70 'function':286 'go':226 'god':162 'goe':50,318 'good':76 'got':401 'guess':206 'haha':1 'high':284 'high-level':283 'idea':119 'imagin':260 'inde':156 'instead':187 'interest':11,170 'java':163 'kick':178 'know':3 'known':297 'lab':392 'languag':39 'level':64,234,248,285 'librari':365 'like':19,212,241,273,292,368 'littl':382 'local':333 'locat':299 'logo':369,388 'lot':23,68 'low':247 'low-level':246 'm':9,78,225,259,380 'map':295,338 'materi':326 'matter':46 'mayb':332 'mean':7 'measur':312 'most':27,37 'motiv':218 'next':115 'obstacl':303 'often':117 'oh':161 'one':198 'other':167 'outdat':398 'overestim':216 'packet':280 'paid':88 'part':112 'peopl':147 'per':202 'physic':375 'plenti':342 'point':269,314 'pre':337 'pre-map':336 'probabl':327 'proceed':107 'program':133 'pursu':189 'puzzl':143 'python':29,357 'quit':169 'real':210 'realiti':177 'realli':397 'recent':101 'relat':59 'resourc':14 'resource-constrain':13 'ridicul':199 'risk':211 'robot':262,376 'run':184 'sad':175 'school':395 'self':80 'self-taught':79 'sensor':378 'set':232 'simpl':291,310,353 'slam':330 'small':302 'softwar':126 'someth':238,272,290 'sort':366 'spare':139 'spring':164 'start':288,298 'still':194 'student':219 'studi':172 'stuff':86 'surfac':339 'system':17 'take':228 'taught':81 'teach':92 'thing':97,201 'think':223 'though':204 'time':34,140 'tool':110 'toward':323 'tri':195,403 'udp':279,354 'use':105,387 'want':151 'well':319 'whatev':96 'wifi':267 'work':25,277 'would':150 'write':28 'wrong':51 'year':203 'young':384"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://voltage.vn/comment/213919"
  +editedAt: null
  +createdAt: DateTimeImmutable @1693974973 {#4344
    date: 2023-09-06 06:36:13.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
27 DENIED edit
App\Entity\EntryComment {#4346
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Considering-positioning-strategies-for-autonomous-mechanum-wheeled-robots"
    +title: "Considering positioning strategies for autonomous mechanum-wheeled robots"
    +url: null
    +body: """
      Disclaimer: this is not *specifically* for a commercial product, but various things I design sometimes get commercialized. I mention this so that you may decide whether you want to weigh in. If it’s commercialized, I will probably make very little money but a bunch of university students may get a neat STEM program in the countryside :D\n
      \n
      That out of the way, I’ve designed some boards for a Wi-Fi controlled robot with mechanum wheels. So 4 independent motor drivers, one for each wheel, allow omnidirectional motion. It’s built around a Pi Pico W, 4 SOIC-8 9110S motor drivers, and some buck/boost converters to give the system a 5V and 12V line. It’s very basic, mostly made to be cheap. Here’s a photo:\n
      \n
      ![](https://voltage.vn/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)\n
      \n
      Right now it just receives UDP communications (a little app written in Godot) and activates the motors in different combinations – very “hello world”. I’m planning to add some autonomy to move around pre-generated maps, solve mazes, and so on.\n
      \n
      I have foolishly used 2-pin JST connectors for the motors, so using motors with rotary encoders would be a pain without ordering new boards. I’ll probably fix that in a later board revision or just hack it in. Also the routing is sloppy and there’s no ground plane. It works well enough for development and testing though :D\n
      \n
      What I’m thinking about right now, is how to let the robot position itself in a room effectively and cheaply. I was thinking of adding either a full LiDAR or building a limited LiDAR out of a servo motor and two cheap laser ToF sensors – e.g. one pointed forward, the other back, and I can sweep it 90 degrees. Since the LiDAR does not need to be fast or continuously sweep, I am leaning toward the latter approach.\n
      \n
      Then the processing is handled remotely – a server requests that the robot do a LiDAR sweep, the robot sends a minimal point cloud back to the server, which estimates the robot’s current location and sends back some instructions to move in a direction for some distance – probably this is where the lack of rotary encoders is going to hurt, but for now I’m planning on just pointing the forward laser ToF sensor towards a target and give the instruction “turn or move forward at static speed X until the sensor reads Y”, which should be pretty easy for the MCU To handle.\n
      \n
      I’m planning to control multiple robots from the same server. The robots don’t need to be super fast.\n
      \n
      What I’m currently wondering is whether my approach really needs rotary encoders in practice – I’ve heard that mechanum wheels have high enough mechanical slippage that they end up inaccurate, and designers often add another set of unpowered wheels for position tracking anyway. I don’t want to add more wheels in this way though.\n
      \n
      On the other hand, it would probably be easier to tell the MCU to “move forward X rotary encoder pulses at a velocity defined by Y pulses per second, and then check position and correct at a lower speed” than to use a pure LiDAR approach (e.g. even if rotary encoders don’t give me accurate position, on small time scales, they give me good feedback to control speed). I could possibly even send a fairly complex series of instructions in one go, making the communications efficient enough to eliminate a local server and control a ton of robots from a cloud VPS or whatever.\n
      \n
      Anyone have some experience with encoders + mechanum wheels that can offer a few tips my way? At this stage the project doesn’t have clear engineering goals and this is mostly an academic exercise. I’ve read that using a rigid chassis and minimizing the need for lateral motion can reduce slippage, reading through a few papers didn’t get me any numerical indication of what to expect.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 10
    +favouriteCount: 14
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1694071771 {#2410
      date: 2023-09-07 09:29:31.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 2057
    -titleTs: "'autonom':5 'consid':1 'mechanum':7 'mechanum-wheel':6 'posit':2 'robot':9 'strategi':3 'wheel':8"
    -bodyTs: "'-8':101 '/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)':133 '12v':116 '2':180 '4':80,99 '5v':114 '90':295 '9110s':102 'academ':633 'accur':551 'activ':148 'ad':262 'add':161,474,489 'allow':88 'also':216 'anoth':475 'anyon':601 'anyway':483 'app':143 'approach':315,448,541 'around':94,166 'autonomi':163 'back':289,339,352 'basic':121 'board':68,200,209 'buck/boost':107 'build':268 'built':93 'bunch':45 'chassi':642 'cheap':126,279 'cheapli':257 'check':527 'clear':625 'cloud':338,597 'combin':153 'commerci':8,17,35 'communic':140,581 'complex':572 'connector':183 'continu':307 'control':74,424,563,590 'convert':108 'correct':530 'could':566 'countrysid':57 'current':348,443 'd':58,236 'decid':25 'defin':519 'degre':296 'design':14,66,472 'develop':232 'didn':658 'differ':152 'direct':359 'disclaim':1 'distanc':362 'doesn':622 'driver':83,104 'e.g':283,542 'easi':414 'easier':504 'effect':255 'effici':582 'either':263 'elimin':585 'encod':192,371,452,514,546,606 'end':468 'engin':626 'enough':230,463,583 'estim':344 'even':543,568 'exercis':634 'expect':668 'experi':604 'fair':571 'fast':305,439 'feedback':561 'fi':73 'fix':204 'foolish':178 'forward':286,386,400,511 'full':265 'generat':169 'get':16,50,660 'give':110,394,549,558 'go':373,578 'goal':627 'godot':146 'good':560 'ground':225 'hack':213 'hand':499 'handl':320,419 'heard':457 'hello':155 'high':462 'hurt':375 'inaccur':470 'independ':81 'indic':664 'instruct':354,396,575 'jst':182 'lack':368 'laser':280,387 'later':208,648 'latter':314 'lean':311 'let':247 'lidar':266,271,299,330,540 'limit':270 'line':117 'littl':41,142 'll':202 'local':587 'locat':349 'lower':533 'm':158,239,380,421,442 'made':123 'make':39,579 'map':170 'may':24,49 'maze':172 'mcu':417,508 'mechan':464 'mechanum':77,459,607 'mention':19 'minim':336,644 'money':42 'most':122,631 'motion':90,649 'motor':82,103,150,186,189,276 'move':165,356,399,510 'multipl':425 'neat':52 'need':302,435,450,646 'new':199 'numer':663 'offer':611 'often':473 'omnidirect':89 'one':84,284,577 'order':198 'pain':196 'paper':657 'per':523 'photo':130 'pi':96 'pico':97 'pin':181 'plan':159,381,422 'plane':226 'point':285,337,384 'posit':250,481,528,552 'possibl':567 'practic':454 'pre':168 'pre-gener':167 'pretti':413 'probabl':38,203,363,502 'process':318 'product':9 'program':54 'project':621 'puls':515,522 'pure':539 'read':408,637,653 'realli':449 'receiv':138 'reduc':651 'remot':321 'request':324 'revis':210 'right':134,242 'rigid':641 'robot':75,249,327,333,346,426,432,594 'room':254 'rotari':191,370,451,513,545 'rout':218 'scale':556 'second':524 'send':334,351,569 'sensor':282,389,407 'seri':573 'server':323,342,430,588 'servo':275 'set':476 'sinc':297 'slippag':465,652 'sloppi':220 'small':554 'soic':100 'solv':171 'sometim':15 'specif':5 'speed':403,534,564 'stage':619 'static':402 'stem':53 'student':48 'super':438 'sweep':293,308,331 'system':112 'target':392 'tell':506 'test':234 'thing':12 'think':240,260 'though':235,495 'time':555 'tip':614 'tof':281,388 'ton':592 'toward':312,390 'track':482 'turn':397 'two':278 'udp':139 'univers':47 'unpow':478 'use':179,188,537,639 'various':11 've':65,456,636 'veloc':518 'voltage.vn':132 'voltage.vn/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)':131 'vps':598 'w':98 'want':28,487 'way':63,494,616 'weigh':30 'well':229 'whatev':600 'wheel':78,87,460,479,491,608 'whether':26,446 'wi':72 'wi-fi':71 'without':197 'wonder':444 'work':228 'world':156 'would':193,501 'written':144 'x':404,512 'y':409,521"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1693616717
    +visibility: "visible             "
    +apId: "https://voltage.vn/post/18974"
    +editedAt: DateTimeImmutable @1693550651 {#1850
      date: 2023-09-01 08:44:11.0 +02:00
    }
    +createdAt: DateTimeImmutable @1693550217 {#2420
      date: 2023-09-01 08:36:57.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4315
    +user: App\Entity\User {#4084 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4280
      +user: Proxies\__CG__\App\Entity\User {#1970 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4101
        +user: App\Entity\User {#4084 …}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: null
        +root: null
        +body: """
          I think mecanum wheels slip quite a bit. So I’m not sure how effective those encoders are. But I’ve only ever tried 3d-printed ones. So I’m not super sure.\n
          \n
          You’re sure your STEM students are ready to handle the LiDAR? Manage point clouds, do the arithmetic, path planning etc? We had a practical course with little robots. But they had 3 of those sharp distance sensors at the front and a bumper with a switch. This was enough to teach many concepts and also enough to implement for the students for something that was just a project and not a full time job. But I’m sure that depends on what exactly you want to teach…\n
          \n
          And our robots hat the motor drivers (h-bridges) replaceable on socket terminals because every so often someone wasn’t very clever or didn’t listen in the lectures.
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 0
        +score: 0
        +lastActive: DateTime @1694071778 {#4102
          date: 2023-09-07 09:29:38.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@Saigonauticon@voltage.vn"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4099 …}
        +nested: Doctrine\ORM\PersistentCollection {#4097 …}
        +votes: Doctrine\ORM\PersistentCollection {#4095 …}
        +reports: Doctrine\ORM\PersistentCollection {#4092 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4088 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4086 …}
        -id: 27597
        -bodyTs: "'3':67 '3d':26 '3d-printed':25 'also':90 'arithmet':52 'bit':8 'bridg':132 'bumper':78 'clever':145 'cloud':49 'concept':88 'cours':60 'depend':115 'didn':147 'distanc':71 'driver':129 'effect':15 'encod':17 'enough':84,91 'etc':55 'ever':23 'everi':138 'exact':118 'front':75 'full':107 'h':131 'h-bridg':130 'handl':44 'hat':126 'implement':93 'job':109 'lectur':152 'lidar':46 'listen':149 'littl':62 'm':11,31,112 'manag':47 'mani':87 'mecanum':3 'motor':128 'often':140 'one':28 'path':53 'plan':54 'point':48 'practic':59 'print':27 'project':103 'quit':6 're':36 'readi':42 'replac':133 'robot':63,125 'sensor':72 'sharp':70 'slip':5 'socket':135 'someon':141 'someth':98 'stem':39 'student':40,96 'super':33 'sure':13,34,37,113 'switch':81 'teach':86,122 'termin':136 'think':2 'time':108 'tri':24 've':21 'want':120 'wasn':142 'wheel':4"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://discuss.tchncs.de/comment/2572674"
        +editedAt: DateTimeImmutable @1693564680 {#4107
          date: 2023-09-01 12:38:00.0 +02:00
        }
        +createdAt: DateTimeImmutable @1693564547 {#4105
          date: 2023-09-01 12:35:47.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4101}
      +body: """
        They’re university software engineering students, probably a year or two into their degrees. I’m hoping to provide the robots as completed units that are controlled via API, because we’re not likely to get many students with electrical, mechanical, or embedded backgrounds. You’re right about the complexity though, and that’s something I’ve been thinking about – I guess I’ll start out with a bit of optimism regarding their talents, and scale back if needed :D\n
        \n
        I don’t really have a scope, budget, timeline, or audience properly defined for this project – in short my client has a STEM program for building and interacting with digital maps, but it’s *way too boring* and I’m determined to breathe some life into it. So I’m going to have to play a lot of things by ear.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1693906684 {#4278
        date: 2023-09-05 11:38:04.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@Saigonauticon@voltage.vn"
        "@rufus@discuss.tchncs.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4281 …}
      +nested: Doctrine\ORM\PersistentCollection {#4283 …}
      +votes: Doctrine\ORM\PersistentCollection {#4285 …}
      +reports: Doctrine\ORM\PersistentCollection {#4287 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4289 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4291 …}
      -id: 28063
      -bodyTs: "'api':29 'audienc':91 'back':77 'background':44 'bit':69 'bore':117 'breath':123 'budget':88 'build':106 'client':100 'complet':23 'complex':50 'control':27 'd':80 'defin':93 'degre':14 'determin':121 'digit':110 'ear':141 'electr':40 'embed':43 'engin':5 'get':36 'go':131 'guess':62 'hope':17 'interact':108 'life':125 'like':34 'll':64 'lot':137 'm':16,120,130 'mani':37 'map':111 'mechan':41 'need':79 'optim':71 'play':135 'probabl':7 'program':104 'project':96 'proper':92 'provid':19 're':2,32,46 'realli':84 'regard':72 'right':47 'robot':21 'scale':76 'scope':87 'short':98 'softwar':4 'someth':55 'start':65 'stem':103 'student':6,38 'talent':74 'thing':139 'think':59 'though':51 'timelin':89 'two':11 'unit':24 'univers':3 've':57 'via':28 'way':115 'year':9"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://voltage.vn/comment/212522"
      +editedAt: null
      +createdAt: DateTimeImmutable @1693906684 {#4279
        date: 2023-09-05 11:38:04.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4101}
    +body: """
      Well, kids / young people / students will surprise you anyways. No matter what you planned ahead. I think teaching this way just requires you to stay flexible and try things with the students and see what works. University students will benefit from a little challenge, but it shouldn’t be impossible and get them frustrated. I’ve never taught myself, but I bet it’s difficult to hit that balance.\n
      \n
      Programming little robots is awesome, though. I think it’s on a whole other level to see robots move and do tasks, than to look at your screen and program something that changes a few pixels there. My university course was more related to embedded devices and closer to the electronics. It teaches you valuable lessons when forced to interact with some electronics, real-world physics, constrained resources and you need to get your maths right. Usually students are concerned with something like Java, learning object-oriented programming or handling some big frameworks. Or learning maths. And robotics teaches you to really pay attention, combine different skill-sets and do things without an easy route available.\n
      \n
      Maybe it’s just me who likes electronics too much. But I’m sure the kind of motivation you get by watching a real robot move and it runs your code, is unique. And kind of universal. You can do this in pre-school or in university to spark their imagination and motivation.\n
      \n
      Your task is a bit different. If you’re teaching something like simultaneous localization and mapping and the students also have to deal with all the robotics, sensors and real-word problems, this might be more of an ordeal for them than fun. Even dealing with noisy sensor values is a hassle until you get to grasp the bigger picture.\n
      \n
      If you’re giving them access to an API, you can choose and adjust what kind of abstraction you’re providing them. Give them something high-level or have them do more work. You could prepare most of the implementation and adjust the level of detail while teaching. Maybe skip something and give them working code via your API so they can focus on the problem they’re actually supposed to learn. You can also do it the other way round. Let them start with all low level stuff handled for them and learn the big concepts. Then let them dig down and see what your API functions have abstracted away until then. This way around you won’t run out of time.\n
      \n
      I’m sure including actual robotics is going to get them more motivated in contrast to running a simulation.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1693914344 {#4319
      date: 2023-09-05 13:45:44.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Saigonauticon@voltage.vn"
      "@rufus@discuss.tchncs.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4312 …}
    +nested: Doctrine\ORM\PersistentCollection {#4310 …}
    +votes: Doctrine\ORM\PersistentCollection {#4314 …}
    +reports: Doctrine\ORM\PersistentCollection {#4325 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4327 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4329 …}
    -id: 28065
    -bodyTs: "'abstract':321,414 'access':309 'actual':373,432 'adjust':317,346 'ahead':15 'also':262,379 'anyway':9 'api':312,363,411 'around':420 'attent':175 'avail':188 'away':415 'awesom':74 'balanc':69 'benefit':40 'bet':62 'big':163,400 'bigger':302 'bit':247 'challeng':44 'chang':102 'choos':315 'closer':117 'code':219,360 'combin':176 'concept':401 'concern':150 'constrain':137 'contrast':442 'could':339 'cours':109 'deal':265,288 'detail':350 'devic':115 'differ':177,248 'difficult':65 'dig':405 'easi':186 'electron':120,132,196 'embed':114 'even':287 'flexibl':26 'focus':367 'forc':127 'framework':164 'frustrat':54 'fun':286 'function':412 'get':52,143,208,298,437 'give':307,326,357 'go':435 'grasp':300 'handl':161,394 'hassl':295 'high':330 'high-level':329 'hit':67 'imagin':240 'implement':344 'imposs':50 'includ':431 'interact':129 'java':154 'kid':2 'kind':204,223,319 'learn':155,166,376,398 'lesson':125 'let':386,403 'level':84,331,348,392 'like':153,195,254 'littl':43,71 'local':256 'look':94 'low':391 'm':201,429 'map':258 'math':145,167 'matter':11 'mayb':189,353 'might':277 'motiv':206,242,440 'move':88,214 'much':198 'need':141 'never':57 'noisi':290 'object':157 'object-ori':156 'ordeal':282 'orient':158 'pay':174 'peopl':4 'physic':136 'pictur':303 'pixel':105 'plan':14 'pre':232 'pre-school':231 'prepar':340 'problem':275,370 'program':70,99,159 'provid':324 're':251,306,323,372 'real':134,212,273 'real-word':272 'real-world':133 'realli':173 'relat':112 'requir':22 'resourc':138 'right':146 'robot':72,87,169,213,269,433 'round':385 'rout':187 'run':217,424,444 'school':233 'screen':97 'see':34,86,408 'sensor':270,291 'set':180 'shouldn':47 'simul':446 'simultan':255 'skill':179 'skill-set':178 'skip':354 'someth':100,152,253,328,355 'spark':238 'start':388 'stay':25 'student':5,32,38,148,261 'stuff':393 'suppos':374 'sure':202,430 'surpris':7 'task':91,244 'taught':58 'teach':18,122,170,252,352 'thing':29,183 'think':17,77 'though':75 'time':427 'tri':28 'uniqu':221 'univers':37,108,225,236 'usual':147 'valu':292 'valuabl':124 've':56 'via':361 'watch':210 'way':20,384,419 'well':1 'whole':82 'without':184 'won':422 'word':274 'work':36,337,359 'world':135 'young':3"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/comment/2687935"
    +editedAt: DateTimeImmutable @1693914611 {#4322
      date: 2023-09-05 13:50:11.0 +02:00
    }
    +createdAt: DateTimeImmutable @1693914344 {#4318
      date: 2023-09-05 13:45:44.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4101}
  +body: """
    Haha, I know exactly what you mean – I’m most interested in resource-constrained embedded systems. I like the attiny10 a lot. At work I mostly write Python, but in my own time it’s mostly assembly language. It feels more concrete, every decision matters, and anything that goes wrong is 100% your fault as there are relatively few bugs at that level. It’s a lot of fun. Also the datasheet is very good.\n
    \n
    I’m self-taught with all the electronics stuff, I paid for it by teaching a course on whatever thing I did most recently. Then I’d use the proceeds to buy tools and parts for the next big (often dumb) idea. I’d also ask for the software engineering assignments from colleagues in those programs, and complete them in my spare time. It was puzzling to a few people why I would *want to do assignments*, and indeed some were very boring (oh god Java + Spring framework) but others were quite interesting (formal study of algorithms). Sadly, economic reality kicked in and I had to run a company instead of pursuing my education further (I still try to do one ridiculous engineering thing per year though).\n
    \n
    I guess there’s a real risk (…like 100%) that I overestimate the motivation students have – so I think I’m going to take your advice and set the level of abstraction with something API-like to abstract away the low-level components (this is closer to my client’s domain). I’m imagining a robot that acts as a WiFi access point, and having something “like an API” that works over UDP packets that describe high-level functions. Then start with something simple – like a digital map with known starting location, and a small obstacle course that can be completed with simple distance measurement, no point clouds. If that goes well, I can develop towards more complex material – probably not full SLAM, but maybe localization on a pre-mapped surface. I have plenty of my own code as examples of how to do simple UDP communications in Python, I could expand it into a custom library.\n
    \n
    Sort of like Logo from 1983, but with a physical robot and sensors. I’m a little to young to have used Logo, but the computer lab in my school was really outdated so I got to try it once :D
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1693974973 {#4341
    date: 2023-09-06 06:36:13.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Saigonauticon@voltage.vn"
    "@rufus@discuss.tchncs.de"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4338 …}
  +nested: Doctrine\ORM\PersistentCollection {#4335 …}
  +votes: Doctrine\ORM\PersistentCollection {#4333 …}
  +reports: Doctrine\ORM\PersistentCollection {#4347 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4349 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4351 …}
  -id: 28109
  -bodyTs: "'100':53,213 '1983':371 'abstract':236,243 'access':268 'act':264 'advic':230 'algorithm':174 'also':71,122 'anyth':48 'api':240,275 'api-lik':239 'ask':123 'assembl':38 'assign':128,154 'attiny10':21 'away':244 'big':116 'bore':160 'bug':61 'buy':109 'client':255 'closer':252 'cloud':315 'code':346 'colleagu':130 'communic':355 'compani':186 'complet':135,308 'complex':325 'compon':249 'comput':391 'concret':43 'constrain':15 'could':359 'cours':94,304 'custom':364 'd':104,121,406 'datasheet':73 'decis':45 'describ':282 'develop':322 'digit':294 'distanc':311 'domain':257 'dumb':118 'econom':176 'educ':191 'electron':85 'embed':16 'engin':127,200 'everi':44 'exact':4 'exampl':348 'expand':360 'fault':55 'feel':41 'formal':171 'framework':165 'full':329 'fun':70 'function':286 'go':226 'god':162 'goe':50,318 'good':76 'got':401 'guess':206 'haha':1 'high':284 'high-level':283 'idea':119 'imagin':260 'inde':156 'instead':187 'interest':11,170 'java':163 'kick':178 'know':3 'known':297 'lab':392 'languag':39 'level':64,234,248,285 'librari':365 'like':19,212,241,273,292,368 'littl':382 'local':333 'locat':299 'logo':369,388 'lot':23,68 'low':247 'low-level':246 'm':9,78,225,259,380 'map':295,338 'materi':326 'matter':46 'mayb':332 'mean':7 'measur':312 'most':27,37 'motiv':218 'next':115 'obstacl':303 'often':117 'oh':161 'one':198 'other':167 'outdat':398 'overestim':216 'packet':280 'paid':88 'part':112 'peopl':147 'per':202 'physic':375 'plenti':342 'point':269,314 'pre':337 'pre-map':336 'probabl':327 'proceed':107 'program':133 'pursu':189 'puzzl':143 'python':29,357 'quit':169 'real':210 'realiti':177 'realli':397 'recent':101 'relat':59 'resourc':14 'resource-constrain':13 'ridicul':199 'risk':211 'robot':262,376 'run':184 'sad':175 'school':395 'self':80 'self-taught':79 'sensor':378 'set':232 'simpl':291,310,353 'slam':330 'small':302 'softwar':126 'someth':238,272,290 'sort':366 'spare':139 'spring':164 'start':288,298 'still':194 'student':219 'studi':172 'stuff':86 'surfac':339 'system':17 'take':228 'taught':81 'teach':92 'thing':97,201 'think':223 'though':204 'time':34,140 'tool':110 'toward':323 'tri':195,403 'udp':279,354 'use':105,387 'want':151 'well':319 'whatev':96 'wifi':267 'work':25,277 'would':150 'write':28 'wrong':51 'year':203 'young':384"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://voltage.vn/comment/213919"
  +editedAt: null
  +createdAt: DateTimeImmutable @1693974973 {#4344
    date: 2023-09-06 06:36:13.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
28 DENIED moderate
App\Entity\EntryComment {#4346
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Considering-positioning-strategies-for-autonomous-mechanum-wheeled-robots"
    +title: "Considering positioning strategies for autonomous mechanum-wheeled robots"
    +url: null
    +body: """
      Disclaimer: this is not *specifically* for a commercial product, but various things I design sometimes get commercialized. I mention this so that you may decide whether you want to weigh in. If it’s commercialized, I will probably make very little money but a bunch of university students may get a neat STEM program in the countryside :D\n
      \n
      That out of the way, I’ve designed some boards for a Wi-Fi controlled robot with mechanum wheels. So 4 independent motor drivers, one for each wheel, allow omnidirectional motion. It’s built around a Pi Pico W, 4 SOIC-8 9110S motor drivers, and some buck/boost converters to give the system a 5V and 12V line. It’s very basic, mostly made to be cheap. Here’s a photo:\n
      \n
      ![](https://voltage.vn/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)\n
      \n
      Right now it just receives UDP communications (a little app written in Godot) and activates the motors in different combinations – very “hello world”. I’m planning to add some autonomy to move around pre-generated maps, solve mazes, and so on.\n
      \n
      I have foolishly used 2-pin JST connectors for the motors, so using motors with rotary encoders would be a pain without ordering new boards. I’ll probably fix that in a later board revision or just hack it in. Also the routing is sloppy and there’s no ground plane. It works well enough for development and testing though :D\n
      \n
      What I’m thinking about right now, is how to let the robot position itself in a room effectively and cheaply. I was thinking of adding either a full LiDAR or building a limited LiDAR out of a servo motor and two cheap laser ToF sensors – e.g. one pointed forward, the other back, and I can sweep it 90 degrees. Since the LiDAR does not need to be fast or continuously sweep, I am leaning toward the latter approach.\n
      \n
      Then the processing is handled remotely – a server requests that the robot do a LiDAR sweep, the robot sends a minimal point cloud back to the server, which estimates the robot’s current location and sends back some instructions to move in a direction for some distance – probably this is where the lack of rotary encoders is going to hurt, but for now I’m planning on just pointing the forward laser ToF sensor towards a target and give the instruction “turn or move forward at static speed X until the sensor reads Y”, which should be pretty easy for the MCU To handle.\n
      \n
      I’m planning to control multiple robots from the same server. The robots don’t need to be super fast.\n
      \n
      What I’m currently wondering is whether my approach really needs rotary encoders in practice – I’ve heard that mechanum wheels have high enough mechanical slippage that they end up inaccurate, and designers often add another set of unpowered wheels for position tracking anyway. I don’t want to add more wheels in this way though.\n
      \n
      On the other hand, it would probably be easier to tell the MCU to “move forward X rotary encoder pulses at a velocity defined by Y pulses per second, and then check position and correct at a lower speed” than to use a pure LiDAR approach (e.g. even if rotary encoders don’t give me accurate position, on small time scales, they give me good feedback to control speed). I could possibly even send a fairly complex series of instructions in one go, making the communications efficient enough to eliminate a local server and control a ton of robots from a cloud VPS or whatever.\n
      \n
      Anyone have some experience with encoders + mechanum wheels that can offer a few tips my way? At this stage the project doesn’t have clear engineering goals and this is mostly an academic exercise. I’ve read that using a rigid chassis and minimizing the need for lateral motion can reduce slippage, reading through a few papers didn’t get me any numerical indication of what to expect.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 10
    +favouriteCount: 14
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1694071771 {#2410
      date: 2023-09-07 09:29:31.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 2057
    -titleTs: "'autonom':5 'consid':1 'mechanum':7 'mechanum-wheel':6 'posit':2 'robot':9 'strategi':3 'wheel':8"
    -bodyTs: "'-8':101 '/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)':133 '12v':116 '2':180 '4':80,99 '5v':114 '90':295 '9110s':102 'academ':633 'accur':551 'activ':148 'ad':262 'add':161,474,489 'allow':88 'also':216 'anoth':475 'anyon':601 'anyway':483 'app':143 'approach':315,448,541 'around':94,166 'autonomi':163 'back':289,339,352 'basic':121 'board':68,200,209 'buck/boost':107 'build':268 'built':93 'bunch':45 'chassi':642 'cheap':126,279 'cheapli':257 'check':527 'clear':625 'cloud':338,597 'combin':153 'commerci':8,17,35 'communic':140,581 'complex':572 'connector':183 'continu':307 'control':74,424,563,590 'convert':108 'correct':530 'could':566 'countrysid':57 'current':348,443 'd':58,236 'decid':25 'defin':519 'degre':296 'design':14,66,472 'develop':232 'didn':658 'differ':152 'direct':359 'disclaim':1 'distanc':362 'doesn':622 'driver':83,104 'e.g':283,542 'easi':414 'easier':504 'effect':255 'effici':582 'either':263 'elimin':585 'encod':192,371,452,514,546,606 'end':468 'engin':626 'enough':230,463,583 'estim':344 'even':543,568 'exercis':634 'expect':668 'experi':604 'fair':571 'fast':305,439 'feedback':561 'fi':73 'fix':204 'foolish':178 'forward':286,386,400,511 'full':265 'generat':169 'get':16,50,660 'give':110,394,549,558 'go':373,578 'goal':627 'godot':146 'good':560 'ground':225 'hack':213 'hand':499 'handl':320,419 'heard':457 'hello':155 'high':462 'hurt':375 'inaccur':470 'independ':81 'indic':664 'instruct':354,396,575 'jst':182 'lack':368 'laser':280,387 'later':208,648 'latter':314 'lean':311 'let':247 'lidar':266,271,299,330,540 'limit':270 'line':117 'littl':41,142 'll':202 'local':587 'locat':349 'lower':533 'm':158,239,380,421,442 'made':123 'make':39,579 'map':170 'may':24,49 'maze':172 'mcu':417,508 'mechan':464 'mechanum':77,459,607 'mention':19 'minim':336,644 'money':42 'most':122,631 'motion':90,649 'motor':82,103,150,186,189,276 'move':165,356,399,510 'multipl':425 'neat':52 'need':302,435,450,646 'new':199 'numer':663 'offer':611 'often':473 'omnidirect':89 'one':84,284,577 'order':198 'pain':196 'paper':657 'per':523 'photo':130 'pi':96 'pico':97 'pin':181 'plan':159,381,422 'plane':226 'point':285,337,384 'posit':250,481,528,552 'possibl':567 'practic':454 'pre':168 'pre-gener':167 'pretti':413 'probabl':38,203,363,502 'process':318 'product':9 'program':54 'project':621 'puls':515,522 'pure':539 'read':408,637,653 'realli':449 'receiv':138 'reduc':651 'remot':321 'request':324 'revis':210 'right':134,242 'rigid':641 'robot':75,249,327,333,346,426,432,594 'room':254 'rotari':191,370,451,513,545 'rout':218 'scale':556 'second':524 'send':334,351,569 'sensor':282,389,407 'seri':573 'server':323,342,430,588 'servo':275 'set':476 'sinc':297 'slippag':465,652 'sloppi':220 'small':554 'soic':100 'solv':171 'sometim':15 'specif':5 'speed':403,534,564 'stage':619 'static':402 'stem':53 'student':48 'super':438 'sweep':293,308,331 'system':112 'target':392 'tell':506 'test':234 'thing':12 'think':240,260 'though':235,495 'time':555 'tip':614 'tof':281,388 'ton':592 'toward':312,390 'track':482 'turn':397 'two':278 'udp':139 'univers':47 'unpow':478 'use':179,188,537,639 'various':11 've':65,456,636 'veloc':518 'voltage.vn':132 'voltage.vn/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)':131 'vps':598 'w':98 'want':28,487 'way':63,494,616 'weigh':30 'well':229 'whatev':600 'wheel':78,87,460,479,491,608 'whether':26,446 'wi':72 'wi-fi':71 'without':197 'wonder':444 'work':228 'world':156 'would':193,501 'written':144 'x':404,512 'y':409,521"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1693616717
    +visibility: "visible             "
    +apId: "https://voltage.vn/post/18974"
    +editedAt: DateTimeImmutable @1693550651 {#1850
      date: 2023-09-01 08:44:11.0 +02:00
    }
    +createdAt: DateTimeImmutable @1693550217 {#2420
      date: 2023-09-01 08:36:57.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4315
    +user: App\Entity\User {#4084 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4280
      +user: Proxies\__CG__\App\Entity\User {#1970 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4101
        +user: App\Entity\User {#4084 …}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: null
        +root: null
        +body: """
          I think mecanum wheels slip quite a bit. So I’m not sure how effective those encoders are. But I’ve only ever tried 3d-printed ones. So I’m not super sure.\n
          \n
          You’re sure your STEM students are ready to handle the LiDAR? Manage point clouds, do the arithmetic, path planning etc? We had a practical course with little robots. But they had 3 of those sharp distance sensors at the front and a bumper with a switch. This was enough to teach many concepts and also enough to implement for the students for something that was just a project and not a full time job. But I’m sure that depends on what exactly you want to teach…\n
          \n
          And our robots hat the motor drivers (h-bridges) replaceable on socket terminals because every so often someone wasn’t very clever or didn’t listen in the lectures.
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 0
        +score: 0
        +lastActive: DateTime @1694071778 {#4102
          date: 2023-09-07 09:29:38.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@Saigonauticon@voltage.vn"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4099 …}
        +nested: Doctrine\ORM\PersistentCollection {#4097 …}
        +votes: Doctrine\ORM\PersistentCollection {#4095 …}
        +reports: Doctrine\ORM\PersistentCollection {#4092 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4088 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4086 …}
        -id: 27597
        -bodyTs: "'3':67 '3d':26 '3d-printed':25 'also':90 'arithmet':52 'bit':8 'bridg':132 'bumper':78 'clever':145 'cloud':49 'concept':88 'cours':60 'depend':115 'didn':147 'distanc':71 'driver':129 'effect':15 'encod':17 'enough':84,91 'etc':55 'ever':23 'everi':138 'exact':118 'front':75 'full':107 'h':131 'h-bridg':130 'handl':44 'hat':126 'implement':93 'job':109 'lectur':152 'lidar':46 'listen':149 'littl':62 'm':11,31,112 'manag':47 'mani':87 'mecanum':3 'motor':128 'often':140 'one':28 'path':53 'plan':54 'point':48 'practic':59 'print':27 'project':103 'quit':6 're':36 'readi':42 'replac':133 'robot':63,125 'sensor':72 'sharp':70 'slip':5 'socket':135 'someon':141 'someth':98 'stem':39 'student':40,96 'super':33 'sure':13,34,37,113 'switch':81 'teach':86,122 'termin':136 'think':2 'time':108 'tri':24 've':21 'want':120 'wasn':142 'wheel':4"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://discuss.tchncs.de/comment/2572674"
        +editedAt: DateTimeImmutable @1693564680 {#4107
          date: 2023-09-01 12:38:00.0 +02:00
        }
        +createdAt: DateTimeImmutable @1693564547 {#4105
          date: 2023-09-01 12:35:47.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4101}
      +body: """
        They’re university software engineering students, probably a year or two into their degrees. I’m hoping to provide the robots as completed units that are controlled via API, because we’re not likely to get many students with electrical, mechanical, or embedded backgrounds. You’re right about the complexity though, and that’s something I’ve been thinking about – I guess I’ll start out with a bit of optimism regarding their talents, and scale back if needed :D\n
        \n
        I don’t really have a scope, budget, timeline, or audience properly defined for this project – in short my client has a STEM program for building and interacting with digital maps, but it’s *way too boring* and I’m determined to breathe some life into it. So I’m going to have to play a lot of things by ear.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1693906684 {#4278
        date: 2023-09-05 11:38:04.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@Saigonauticon@voltage.vn"
        "@rufus@discuss.tchncs.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4281 …}
      +nested: Doctrine\ORM\PersistentCollection {#4283 …}
      +votes: Doctrine\ORM\PersistentCollection {#4285 …}
      +reports: Doctrine\ORM\PersistentCollection {#4287 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4289 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4291 …}
      -id: 28063
      -bodyTs: "'api':29 'audienc':91 'back':77 'background':44 'bit':69 'bore':117 'breath':123 'budget':88 'build':106 'client':100 'complet':23 'complex':50 'control':27 'd':80 'defin':93 'degre':14 'determin':121 'digit':110 'ear':141 'electr':40 'embed':43 'engin':5 'get':36 'go':131 'guess':62 'hope':17 'interact':108 'life':125 'like':34 'll':64 'lot':137 'm':16,120,130 'mani':37 'map':111 'mechan':41 'need':79 'optim':71 'play':135 'probabl':7 'program':104 'project':96 'proper':92 'provid':19 're':2,32,46 'realli':84 'regard':72 'right':47 'robot':21 'scale':76 'scope':87 'short':98 'softwar':4 'someth':55 'start':65 'stem':103 'student':6,38 'talent':74 'thing':139 'think':59 'though':51 'timelin':89 'two':11 'unit':24 'univers':3 've':57 'via':28 'way':115 'year':9"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://voltage.vn/comment/212522"
      +editedAt: null
      +createdAt: DateTimeImmutable @1693906684 {#4279
        date: 2023-09-05 11:38:04.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4101}
    +body: """
      Well, kids / young people / students will surprise you anyways. No matter what you planned ahead. I think teaching this way just requires you to stay flexible and try things with the students and see what works. University students will benefit from a little challenge, but it shouldn’t be impossible and get them frustrated. I’ve never taught myself, but I bet it’s difficult to hit that balance.\n
      \n
      Programming little robots is awesome, though. I think it’s on a whole other level to see robots move and do tasks, than to look at your screen and program something that changes a few pixels there. My university course was more related to embedded devices and closer to the electronics. It teaches you valuable lessons when forced to interact with some electronics, real-world physics, constrained resources and you need to get your maths right. Usually students are concerned with something like Java, learning object-oriented programming or handling some big frameworks. Or learning maths. And robotics teaches you to really pay attention, combine different skill-sets and do things without an easy route available.\n
      \n
      Maybe it’s just me who likes electronics too much. But I’m sure the kind of motivation you get by watching a real robot move and it runs your code, is unique. And kind of universal. You can do this in pre-school or in university to spark their imagination and motivation.\n
      \n
      Your task is a bit different. If you’re teaching something like simultaneous localization and mapping and the students also have to deal with all the robotics, sensors and real-word problems, this might be more of an ordeal for them than fun. Even dealing with noisy sensor values is a hassle until you get to grasp the bigger picture.\n
      \n
      If you’re giving them access to an API, you can choose and adjust what kind of abstraction you’re providing them. Give them something high-level or have them do more work. You could prepare most of the implementation and adjust the level of detail while teaching. Maybe skip something and give them working code via your API so they can focus on the problem they’re actually supposed to learn. You can also do it the other way round. Let them start with all low level stuff handled for them and learn the big concepts. Then let them dig down and see what your API functions have abstracted away until then. This way around you won’t run out of time.\n
      \n
      I’m sure including actual robotics is going to get them more motivated in contrast to running a simulation.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1693914344 {#4319
      date: 2023-09-05 13:45:44.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Saigonauticon@voltage.vn"
      "@rufus@discuss.tchncs.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4312 …}
    +nested: Doctrine\ORM\PersistentCollection {#4310 …}
    +votes: Doctrine\ORM\PersistentCollection {#4314 …}
    +reports: Doctrine\ORM\PersistentCollection {#4325 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4327 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4329 …}
    -id: 28065
    -bodyTs: "'abstract':321,414 'access':309 'actual':373,432 'adjust':317,346 'ahead':15 'also':262,379 'anyway':9 'api':312,363,411 'around':420 'attent':175 'avail':188 'away':415 'awesom':74 'balanc':69 'benefit':40 'bet':62 'big':163,400 'bigger':302 'bit':247 'challeng':44 'chang':102 'choos':315 'closer':117 'code':219,360 'combin':176 'concept':401 'concern':150 'constrain':137 'contrast':442 'could':339 'cours':109 'deal':265,288 'detail':350 'devic':115 'differ':177,248 'difficult':65 'dig':405 'easi':186 'electron':120,132,196 'embed':114 'even':287 'flexibl':26 'focus':367 'forc':127 'framework':164 'frustrat':54 'fun':286 'function':412 'get':52,143,208,298,437 'give':307,326,357 'go':435 'grasp':300 'handl':161,394 'hassl':295 'high':330 'high-level':329 'hit':67 'imagin':240 'implement':344 'imposs':50 'includ':431 'interact':129 'java':154 'kid':2 'kind':204,223,319 'learn':155,166,376,398 'lesson':125 'let':386,403 'level':84,331,348,392 'like':153,195,254 'littl':43,71 'local':256 'look':94 'low':391 'm':201,429 'map':258 'math':145,167 'matter':11 'mayb':189,353 'might':277 'motiv':206,242,440 'move':88,214 'much':198 'need':141 'never':57 'noisi':290 'object':157 'object-ori':156 'ordeal':282 'orient':158 'pay':174 'peopl':4 'physic':136 'pictur':303 'pixel':105 'plan':14 'pre':232 'pre-school':231 'prepar':340 'problem':275,370 'program':70,99,159 'provid':324 're':251,306,323,372 'real':134,212,273 'real-word':272 'real-world':133 'realli':173 'relat':112 'requir':22 'resourc':138 'right':146 'robot':72,87,169,213,269,433 'round':385 'rout':187 'run':217,424,444 'school':233 'screen':97 'see':34,86,408 'sensor':270,291 'set':180 'shouldn':47 'simul':446 'simultan':255 'skill':179 'skill-set':178 'skip':354 'someth':100,152,253,328,355 'spark':238 'start':388 'stay':25 'student':5,32,38,148,261 'stuff':393 'suppos':374 'sure':202,430 'surpris':7 'task':91,244 'taught':58 'teach':18,122,170,252,352 'thing':29,183 'think':17,77 'though':75 'time':427 'tri':28 'uniqu':221 'univers':37,108,225,236 'usual':147 'valu':292 'valuabl':124 've':56 'via':361 'watch':210 'way':20,384,419 'well':1 'whole':82 'without':184 'won':422 'word':274 'work':36,337,359 'world':135 'young':3"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/comment/2687935"
    +editedAt: DateTimeImmutable @1693914611 {#4322
      date: 2023-09-05 13:50:11.0 +02:00
    }
    +createdAt: DateTimeImmutable @1693914344 {#4318
      date: 2023-09-05 13:45:44.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4101}
  +body: """
    Haha, I know exactly what you mean – I’m most interested in resource-constrained embedded systems. I like the attiny10 a lot. At work I mostly write Python, but in my own time it’s mostly assembly language. It feels more concrete, every decision matters, and anything that goes wrong is 100% your fault as there are relatively few bugs at that level. It’s a lot of fun. Also the datasheet is very good.\n
    \n
    I’m self-taught with all the electronics stuff, I paid for it by teaching a course on whatever thing I did most recently. Then I’d use the proceeds to buy tools and parts for the next big (often dumb) idea. I’d also ask for the software engineering assignments from colleagues in those programs, and complete them in my spare time. It was puzzling to a few people why I would *want to do assignments*, and indeed some were very boring (oh god Java + Spring framework) but others were quite interesting (formal study of algorithms). Sadly, economic reality kicked in and I had to run a company instead of pursuing my education further (I still try to do one ridiculous engineering thing per year though).\n
    \n
    I guess there’s a real risk (…like 100%) that I overestimate the motivation students have – so I think I’m going to take your advice and set the level of abstraction with something API-like to abstract away the low-level components (this is closer to my client’s domain). I’m imagining a robot that acts as a WiFi access point, and having something “like an API” that works over UDP packets that describe high-level functions. Then start with something simple – like a digital map with known starting location, and a small obstacle course that can be completed with simple distance measurement, no point clouds. If that goes well, I can develop towards more complex material – probably not full SLAM, but maybe localization on a pre-mapped surface. I have plenty of my own code as examples of how to do simple UDP communications in Python, I could expand it into a custom library.\n
    \n
    Sort of like Logo from 1983, but with a physical robot and sensors. I’m a little to young to have used Logo, but the computer lab in my school was really outdated so I got to try it once :D
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1693974973 {#4341
    date: 2023-09-06 06:36:13.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Saigonauticon@voltage.vn"
    "@rufus@discuss.tchncs.de"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4338 …}
  +nested: Doctrine\ORM\PersistentCollection {#4335 …}
  +votes: Doctrine\ORM\PersistentCollection {#4333 …}
  +reports: Doctrine\ORM\PersistentCollection {#4347 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4349 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4351 …}
  -id: 28109
  -bodyTs: "'100':53,213 '1983':371 'abstract':236,243 'access':268 'act':264 'advic':230 'algorithm':174 'also':71,122 'anyth':48 'api':240,275 'api-lik':239 'ask':123 'assembl':38 'assign':128,154 'attiny10':21 'away':244 'big':116 'bore':160 'bug':61 'buy':109 'client':255 'closer':252 'cloud':315 'code':346 'colleagu':130 'communic':355 'compani':186 'complet':135,308 'complex':325 'compon':249 'comput':391 'concret':43 'constrain':15 'could':359 'cours':94,304 'custom':364 'd':104,121,406 'datasheet':73 'decis':45 'describ':282 'develop':322 'digit':294 'distanc':311 'domain':257 'dumb':118 'econom':176 'educ':191 'electron':85 'embed':16 'engin':127,200 'everi':44 'exact':4 'exampl':348 'expand':360 'fault':55 'feel':41 'formal':171 'framework':165 'full':329 'fun':70 'function':286 'go':226 'god':162 'goe':50,318 'good':76 'got':401 'guess':206 'haha':1 'high':284 'high-level':283 'idea':119 'imagin':260 'inde':156 'instead':187 'interest':11,170 'java':163 'kick':178 'know':3 'known':297 'lab':392 'languag':39 'level':64,234,248,285 'librari':365 'like':19,212,241,273,292,368 'littl':382 'local':333 'locat':299 'logo':369,388 'lot':23,68 'low':247 'low-level':246 'm':9,78,225,259,380 'map':295,338 'materi':326 'matter':46 'mayb':332 'mean':7 'measur':312 'most':27,37 'motiv':218 'next':115 'obstacl':303 'often':117 'oh':161 'one':198 'other':167 'outdat':398 'overestim':216 'packet':280 'paid':88 'part':112 'peopl':147 'per':202 'physic':375 'plenti':342 'point':269,314 'pre':337 'pre-map':336 'probabl':327 'proceed':107 'program':133 'pursu':189 'puzzl':143 'python':29,357 'quit':169 'real':210 'realiti':177 'realli':397 'recent':101 'relat':59 'resourc':14 'resource-constrain':13 'ridicul':199 'risk':211 'robot':262,376 'run':184 'sad':175 'school':395 'self':80 'self-taught':79 'sensor':378 'set':232 'simpl':291,310,353 'slam':330 'small':302 'softwar':126 'someth':238,272,290 'sort':366 'spare':139 'spring':164 'start':288,298 'still':194 'student':219 'studi':172 'stuff':86 'surfac':339 'system':17 'take':228 'taught':81 'teach':92 'thing':97,201 'think':223 'though':204 'time':34,140 'tool':110 'toward':323 'tri':195,403 'udp':279,354 'use':105,387 'want':151 'well':319 'whatev':96 'wifi':267 'work':25,277 'would':150 'write':28 'wrong':51 'year':203 'young':384"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://voltage.vn/comment/213919"
  +editedAt: null
  +createdAt: DateTimeImmutable @1693974973 {#4344
    date: 2023-09-06 06:36:13.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
29 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
30 DENIED moderate
App\Entity\EntryComment {#4368
  +user: App\Entity\User {#4084 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Considering-positioning-strategies-for-autonomous-mechanum-wheeled-robots"
    +title: "Considering positioning strategies for autonomous mechanum-wheeled robots"
    +url: null
    +body: """
      Disclaimer: this is not *specifically* for a commercial product, but various things I design sometimes get commercialized. I mention this so that you may decide whether you want to weigh in. If it’s commercialized, I will probably make very little money but a bunch of university students may get a neat STEM program in the countryside :D\n
      \n
      That out of the way, I’ve designed some boards for a Wi-Fi controlled robot with mechanum wheels. So 4 independent motor drivers, one for each wheel, allow omnidirectional motion. It’s built around a Pi Pico W, 4 SOIC-8 9110S motor drivers, and some buck/boost converters to give the system a 5V and 12V line. It’s very basic, mostly made to be cheap. Here’s a photo:\n
      \n
      ![](https://voltage.vn/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)\n
      \n
      Right now it just receives UDP communications (a little app written in Godot) and activates the motors in different combinations – very “hello world”. I’m planning to add some autonomy to move around pre-generated maps, solve mazes, and so on.\n
      \n
      I have foolishly used 2-pin JST connectors for the motors, so using motors with rotary encoders would be a pain without ordering new boards. I’ll probably fix that in a later board revision or just hack it in. Also the routing is sloppy and there’s no ground plane. It works well enough for development and testing though :D\n
      \n
      What I’m thinking about right now, is how to let the robot position itself in a room effectively and cheaply. I was thinking of adding either a full LiDAR or building a limited LiDAR out of a servo motor and two cheap laser ToF sensors – e.g. one pointed forward, the other back, and I can sweep it 90 degrees. Since the LiDAR does not need to be fast or continuously sweep, I am leaning toward the latter approach.\n
      \n
      Then the processing is handled remotely – a server requests that the robot do a LiDAR sweep, the robot sends a minimal point cloud back to the server, which estimates the robot’s current location and sends back some instructions to move in a direction for some distance – probably this is where the lack of rotary encoders is going to hurt, but for now I’m planning on just pointing the forward laser ToF sensor towards a target and give the instruction “turn or move forward at static speed X until the sensor reads Y”, which should be pretty easy for the MCU To handle.\n
      \n
      I’m planning to control multiple robots from the same server. The robots don’t need to be super fast.\n
      \n
      What I’m currently wondering is whether my approach really needs rotary encoders in practice – I’ve heard that mechanum wheels have high enough mechanical slippage that they end up inaccurate, and designers often add another set of unpowered wheels for position tracking anyway. I don’t want to add more wheels in this way though.\n
      \n
      On the other hand, it would probably be easier to tell the MCU to “move forward X rotary encoder pulses at a velocity defined by Y pulses per second, and then check position and correct at a lower speed” than to use a pure LiDAR approach (e.g. even if rotary encoders don’t give me accurate position, on small time scales, they give me good feedback to control speed). I could possibly even send a fairly complex series of instructions in one go, making the communications efficient enough to eliminate a local server and control a ton of robots from a cloud VPS or whatever.\n
      \n
      Anyone have some experience with encoders + mechanum wheels that can offer a few tips my way? At this stage the project doesn’t have clear engineering goals and this is mostly an academic exercise. I’ve read that using a rigid chassis and minimizing the need for lateral motion can reduce slippage, reading through a few papers didn’t get me any numerical indication of what to expect.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 10
    +favouriteCount: 14
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1694071771 {#2410
      date: 2023-09-07 09:29:31.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 2057
    -titleTs: "'autonom':5 'consid':1 'mechanum':7 'mechanum-wheel':6 'posit':2 'robot':9 'strategi':3 'wheel':8"
    -bodyTs: "'-8':101 '/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)':133 '12v':116 '2':180 '4':80,99 '5v':114 '90':295 '9110s':102 'academ':633 'accur':551 'activ':148 'ad':262 'add':161,474,489 'allow':88 'also':216 'anoth':475 'anyon':601 'anyway':483 'app':143 'approach':315,448,541 'around':94,166 'autonomi':163 'back':289,339,352 'basic':121 'board':68,200,209 'buck/boost':107 'build':268 'built':93 'bunch':45 'chassi':642 'cheap':126,279 'cheapli':257 'check':527 'clear':625 'cloud':338,597 'combin':153 'commerci':8,17,35 'communic':140,581 'complex':572 'connector':183 'continu':307 'control':74,424,563,590 'convert':108 'correct':530 'could':566 'countrysid':57 'current':348,443 'd':58,236 'decid':25 'defin':519 'degre':296 'design':14,66,472 'develop':232 'didn':658 'differ':152 'direct':359 'disclaim':1 'distanc':362 'doesn':622 'driver':83,104 'e.g':283,542 'easi':414 'easier':504 'effect':255 'effici':582 'either':263 'elimin':585 'encod':192,371,452,514,546,606 'end':468 'engin':626 'enough':230,463,583 'estim':344 'even':543,568 'exercis':634 'expect':668 'experi':604 'fair':571 'fast':305,439 'feedback':561 'fi':73 'fix':204 'foolish':178 'forward':286,386,400,511 'full':265 'generat':169 'get':16,50,660 'give':110,394,549,558 'go':373,578 'goal':627 'godot':146 'good':560 'ground':225 'hack':213 'hand':499 'handl':320,419 'heard':457 'hello':155 'high':462 'hurt':375 'inaccur':470 'independ':81 'indic':664 'instruct':354,396,575 'jst':182 'lack':368 'laser':280,387 'later':208,648 'latter':314 'lean':311 'let':247 'lidar':266,271,299,330,540 'limit':270 'line':117 'littl':41,142 'll':202 'local':587 'locat':349 'lower':533 'm':158,239,380,421,442 'made':123 'make':39,579 'map':170 'may':24,49 'maze':172 'mcu':417,508 'mechan':464 'mechanum':77,459,607 'mention':19 'minim':336,644 'money':42 'most':122,631 'motion':90,649 'motor':82,103,150,186,189,276 'move':165,356,399,510 'multipl':425 'neat':52 'need':302,435,450,646 'new':199 'numer':663 'offer':611 'often':473 'omnidirect':89 'one':84,284,577 'order':198 'pain':196 'paper':657 'per':523 'photo':130 'pi':96 'pico':97 'pin':181 'plan':159,381,422 'plane':226 'point':285,337,384 'posit':250,481,528,552 'possibl':567 'practic':454 'pre':168 'pre-gener':167 'pretti':413 'probabl':38,203,363,502 'process':318 'product':9 'program':54 'project':621 'puls':515,522 'pure':539 'read':408,637,653 'realli':449 'receiv':138 'reduc':651 'remot':321 'request':324 'revis':210 'right':134,242 'rigid':641 'robot':75,249,327,333,346,426,432,594 'room':254 'rotari':191,370,451,513,545 'rout':218 'scale':556 'second':524 'send':334,351,569 'sensor':282,389,407 'seri':573 'server':323,342,430,588 'servo':275 'set':476 'sinc':297 'slippag':465,652 'sloppi':220 'small':554 'soic':100 'solv':171 'sometim':15 'specif':5 'speed':403,534,564 'stage':619 'static':402 'stem':53 'student':48 'super':438 'sweep':293,308,331 'system':112 'target':392 'tell':506 'test':234 'thing':12 'think':240,260 'though':235,495 'time':555 'tip':614 'tof':281,388 'ton':592 'toward':312,390 'track':482 'turn':397 'two':278 'udp':139 'univers':47 'unpow':478 'use':179,188,537,639 'various':11 've':65,456,636 'veloc':518 'voltage.vn':132 'voltage.vn/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)':131 'vps':598 'w':98 'want':28,487 'way':63,494,616 'weigh':30 'well':229 'whatev':600 'wheel':78,87,460,479,491,608 'whether':26,446 'wi':72 'wi-fi':71 'without':197 'wonder':444 'work':228 'world':156 'would':193,501 'written':144 'x':404,512 'y':409,521"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1693616717
    +visibility: "visible             "
    +apId: "https://voltage.vn/post/18974"
    +editedAt: DateTimeImmutable @1693550651 {#1850
      date: 2023-09-01 08:44:11.0 +02:00
    }
    +createdAt: DateTimeImmutable @1693550217 {#2420
      date: 2023-09-01 08:36:57.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4346
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4315
      +user: App\Entity\User {#4084 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4280
        +user: Proxies\__CG__\App\Entity\User {#1970 …}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4101
          +user: App\Entity\User {#4084 …}
          +entry: App\Entity\Entry {#2412}
          +magazine: App\Entity\Magazine {#266}
          +image: null
          +parent: null
          +root: null
          +body: """
            I think mecanum wheels slip quite a bit. So I’m not sure how effective those encoders are. But I’ve only ever tried 3d-printed ones. So I’m not super sure.\n
            \n
            You’re sure your STEM students are ready to handle the LiDAR? Manage point clouds, do the arithmetic, path planning etc? We had a practical course with little robots. But they had 3 of those sharp distance sensors at the front and a bumper with a switch. This was enough to teach many concepts and also enough to implement for the students for something that was just a project and not a full time job. But I’m sure that depends on what exactly you want to teach…\n
            \n
            And our robots hat the motor drivers (h-bridges) replaceable on socket terminals because every so often someone wasn’t very clever or didn’t listen in the lectures.
            """
          +lang: "en"
          +isAdult: false
          +favouriteCount: 0
          +score: 0
          +lastActive: DateTime @1694071778 {#4102
            date: 2023-09-07 09:29:38.0 +02:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@Saigonauticon@voltage.vn"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4099 …}
          +nested: Doctrine\ORM\PersistentCollection {#4097 …}
          +votes: Doctrine\ORM\PersistentCollection {#4095 …}
          +reports: Doctrine\ORM\PersistentCollection {#4092 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4088 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4086 …}
          -id: 27597
          -bodyTs: "'3':67 '3d':26 '3d-printed':25 'also':90 'arithmet':52 'bit':8 'bridg':132 'bumper':78 'clever':145 'cloud':49 'concept':88 'cours':60 'depend':115 'didn':147 'distanc':71 'driver':129 'effect':15 'encod':17 'enough':84,91 'etc':55 'ever':23 'everi':138 'exact':118 'front':75 'full':107 'h':131 'h-bridg':130 'handl':44 'hat':126 'implement':93 'job':109 'lectur':152 'lidar':46 'listen':149 'littl':62 'm':11,31,112 'manag':47 'mani':87 'mecanum':3 'motor':128 'often':140 'one':28 'path':53 'plan':54 'point':48 'practic':59 'print':27 'project':103 'quit':6 're':36 'readi':42 'replac':133 'robot':63,125 'sensor':72 'sharp':70 'slip':5 'socket':135 'someon':141 'someth':98 'stem':39 'student':40,96 'super':33 'sure':13,34,37,113 'switch':81 'teach':86,122 'termin':136 'think':2 'time':108 'tri':24 've':21 'want':120 'wasn':142 'wheel':4"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://discuss.tchncs.de/comment/2572674"
          +editedAt: DateTimeImmutable @1693564680 {#4107
            date: 2023-09-01 12:38:00.0 +02:00
          }
          +createdAt: DateTimeImmutable @1693564547 {#4105
            date: 2023-09-01 12:35:47.0 +02:00
          }
        }
        +root: App\Entity\EntryComment {#4101}
        +body: """
          They’re university software engineering students, probably a year or two into their degrees. I’m hoping to provide the robots as completed units that are controlled via API, because we’re not likely to get many students with electrical, mechanical, or embedded backgrounds. You’re right about the complexity though, and that’s something I’ve been thinking about – I guess I’ll start out with a bit of optimism regarding their talents, and scale back if needed :D\n
          \n
          I don’t really have a scope, budget, timeline, or audience properly defined for this project – in short my client has a STEM program for building and interacting with digital maps, but it’s *way too boring* and I’m determined to breathe some life into it. So I’m going to have to play a lot of things by ear.
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 0
        +score: 0
        +lastActive: DateTime @1693906684 {#4278
          date: 2023-09-05 11:38:04.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@Saigonauticon@voltage.vn"
          "@rufus@discuss.tchncs.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4281 …}
        +nested: Doctrine\ORM\PersistentCollection {#4283 …}
        +votes: Doctrine\ORM\PersistentCollection {#4285 …}
        +reports: Doctrine\ORM\PersistentCollection {#4287 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4289 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4291 …}
        -id: 28063
        -bodyTs: "'api':29 'audienc':91 'back':77 'background':44 'bit':69 'bore':117 'breath':123 'budget':88 'build':106 'client':100 'complet':23 'complex':50 'control':27 'd':80 'defin':93 'degre':14 'determin':121 'digit':110 'ear':141 'electr':40 'embed':43 'engin':5 'get':36 'go':131 'guess':62 'hope':17 'interact':108 'life':125 'like':34 'll':64 'lot':137 'm':16,120,130 'mani':37 'map':111 'mechan':41 'need':79 'optim':71 'play':135 'probabl':7 'program':104 'project':96 'proper':92 'provid':19 're':2,32,46 'realli':84 'regard':72 'right':47 'robot':21 'scale':76 'scope':87 'short':98 'softwar':4 'someth':55 'start':65 'stem':103 'student':6,38 'talent':74 'thing':139 'think':59 'though':51 'timelin':89 'two':11 'unit':24 'univers':3 've':57 'via':28 'way':115 'year':9"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://voltage.vn/comment/212522"
        +editedAt: null
        +createdAt: DateTimeImmutable @1693906684 {#4279
          date: 2023-09-05 11:38:04.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4101}
      +body: """
        Well, kids / young people / students will surprise you anyways. No matter what you planned ahead. I think teaching this way just requires you to stay flexible and try things with the students and see what works. University students will benefit from a little challenge, but it shouldn’t be impossible and get them frustrated. I’ve never taught myself, but I bet it’s difficult to hit that balance.\n
        \n
        Programming little robots is awesome, though. I think it’s on a whole other level to see robots move and do tasks, than to look at your screen and program something that changes a few pixels there. My university course was more related to embedded devices and closer to the electronics. It teaches you valuable lessons when forced to interact with some electronics, real-world physics, constrained resources and you need to get your maths right. Usually students are concerned with something like Java, learning object-oriented programming or handling some big frameworks. Or learning maths. And robotics teaches you to really pay attention, combine different skill-sets and do things without an easy route available.\n
        \n
        Maybe it’s just me who likes electronics too much. But I’m sure the kind of motivation you get by watching a real robot move and it runs your code, is unique. And kind of universal. You can do this in pre-school or in university to spark their imagination and motivation.\n
        \n
        Your task is a bit different. If you’re teaching something like simultaneous localization and mapping and the students also have to deal with all the robotics, sensors and real-word problems, this might be more of an ordeal for them than fun. Even dealing with noisy sensor values is a hassle until you get to grasp the bigger picture.\n
        \n
        If you’re giving them access to an API, you can choose and adjust what kind of abstraction you’re providing them. Give them something high-level or have them do more work. You could prepare most of the implementation and adjust the level of detail while teaching. Maybe skip something and give them working code via your API so they can focus on the problem they’re actually supposed to learn. You can also do it the other way round. Let them start with all low level stuff handled for them and learn the big concepts. Then let them dig down and see what your API functions have abstracted away until then. This way around you won’t run out of time.\n
        \n
        I’m sure including actual robotics is going to get them more motivated in contrast to running a simulation.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1693914344 {#4319
        date: 2023-09-05 13:45:44.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@Saigonauticon@voltage.vn"
        "@rufus@discuss.tchncs.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4312 …}
      +nested: Doctrine\ORM\PersistentCollection {#4310 …}
      +votes: Doctrine\ORM\PersistentCollection {#4314 …}
      +reports: Doctrine\ORM\PersistentCollection {#4325 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4327 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4329 …}
      -id: 28065
      -bodyTs: "'abstract':321,414 'access':309 'actual':373,432 'adjust':317,346 'ahead':15 'also':262,379 'anyway':9 'api':312,363,411 'around':420 'attent':175 'avail':188 'away':415 'awesom':74 'balanc':69 'benefit':40 'bet':62 'big':163,400 'bigger':302 'bit':247 'challeng':44 'chang':102 'choos':315 'closer':117 'code':219,360 'combin':176 'concept':401 'concern':150 'constrain':137 'contrast':442 'could':339 'cours':109 'deal':265,288 'detail':350 'devic':115 'differ':177,248 'difficult':65 'dig':405 'easi':186 'electron':120,132,196 'embed':114 'even':287 'flexibl':26 'focus':367 'forc':127 'framework':164 'frustrat':54 'fun':286 'function':412 'get':52,143,208,298,437 'give':307,326,357 'go':435 'grasp':300 'handl':161,394 'hassl':295 'high':330 'high-level':329 'hit':67 'imagin':240 'implement':344 'imposs':50 'includ':431 'interact':129 'java':154 'kid':2 'kind':204,223,319 'learn':155,166,376,398 'lesson':125 'let':386,403 'level':84,331,348,392 'like':153,195,254 'littl':43,71 'local':256 'look':94 'low':391 'm':201,429 'map':258 'math':145,167 'matter':11 'mayb':189,353 'might':277 'motiv':206,242,440 'move':88,214 'much':198 'need':141 'never':57 'noisi':290 'object':157 'object-ori':156 'ordeal':282 'orient':158 'pay':174 'peopl':4 'physic':136 'pictur':303 'pixel':105 'plan':14 'pre':232 'pre-school':231 'prepar':340 'problem':275,370 'program':70,99,159 'provid':324 're':251,306,323,372 'real':134,212,273 'real-word':272 'real-world':133 'realli':173 'relat':112 'requir':22 'resourc':138 'right':146 'robot':72,87,169,213,269,433 'round':385 'rout':187 'run':217,424,444 'school':233 'screen':97 'see':34,86,408 'sensor':270,291 'set':180 'shouldn':47 'simul':446 'simultan':255 'skill':179 'skill-set':178 'skip':354 'someth':100,152,253,328,355 'spark':238 'start':388 'stay':25 'student':5,32,38,148,261 'stuff':393 'suppos':374 'sure':202,430 'surpris':7 'task':91,244 'taught':58 'teach':18,122,170,252,352 'thing':29,183 'think':17,77 'though':75 'time':427 'tri':28 'uniqu':221 'univers':37,108,225,236 'usual':147 'valu':292 'valuabl':124 've':56 'via':361 'watch':210 'way':20,384,419 'well':1 'whole':82 'without':184 'won':422 'word':274 'work':36,337,359 'world':135 'young':3"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/comment/2687935"
      +editedAt: DateTimeImmutable @1693914611 {#4322
        date: 2023-09-05 13:50:11.0 +02:00
      }
      +createdAt: DateTimeImmutable @1693914344 {#4318
        date: 2023-09-05 13:45:44.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4101}
    +body: """
      Haha, I know exactly what you mean – I’m most interested in resource-constrained embedded systems. I like the attiny10 a lot. At work I mostly write Python, but in my own time it’s mostly assembly language. It feels more concrete, every decision matters, and anything that goes wrong is 100% your fault as there are relatively few bugs at that level. It’s a lot of fun. Also the datasheet is very good.\n
      \n
      I’m self-taught with all the electronics stuff, I paid for it by teaching a course on whatever thing I did most recently. Then I’d use the proceeds to buy tools and parts for the next big (often dumb) idea. I’d also ask for the software engineering assignments from colleagues in those programs, and complete them in my spare time. It was puzzling to a few people why I would *want to do assignments*, and indeed some were very boring (oh god Java + Spring framework) but others were quite interesting (formal study of algorithms). Sadly, economic reality kicked in and I had to run a company instead of pursuing my education further (I still try to do one ridiculous engineering thing per year though).\n
      \n
      I guess there’s a real risk (…like 100%) that I overestimate the motivation students have – so I think I’m going to take your advice and set the level of abstraction with something API-like to abstract away the low-level components (this is closer to my client’s domain). I’m imagining a robot that acts as a WiFi access point, and having something “like an API” that works over UDP packets that describe high-level functions. Then start with something simple – like a digital map with known starting location, and a small obstacle course that can be completed with simple distance measurement, no point clouds. If that goes well, I can develop towards more complex material – probably not full SLAM, but maybe localization on a pre-mapped surface. I have plenty of my own code as examples of how to do simple UDP communications in Python, I could expand it into a custom library.\n
      \n
      Sort of like Logo from 1983, but with a physical robot and sensors. I’m a little to young to have used Logo, but the computer lab in my school was really outdated so I got to try it once :D
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1693974973 {#4341
      date: 2023-09-06 06:36:13.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Saigonauticon@voltage.vn"
      "@rufus@discuss.tchncs.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4338 …}
    +nested: Doctrine\ORM\PersistentCollection {#4335 …}
    +votes: Doctrine\ORM\PersistentCollection {#4333 …}
    +reports: Doctrine\ORM\PersistentCollection {#4347 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4349 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4351 …}
    -id: 28109
    -bodyTs: "'100':53,213 '1983':371 'abstract':236,243 'access':268 'act':264 'advic':230 'algorithm':174 'also':71,122 'anyth':48 'api':240,275 'api-lik':239 'ask':123 'assembl':38 'assign':128,154 'attiny10':21 'away':244 'big':116 'bore':160 'bug':61 'buy':109 'client':255 'closer':252 'cloud':315 'code':346 'colleagu':130 'communic':355 'compani':186 'complet':135,308 'complex':325 'compon':249 'comput':391 'concret':43 'constrain':15 'could':359 'cours':94,304 'custom':364 'd':104,121,406 'datasheet':73 'decis':45 'describ':282 'develop':322 'digit':294 'distanc':311 'domain':257 'dumb':118 'econom':176 'educ':191 'electron':85 'embed':16 'engin':127,200 'everi':44 'exact':4 'exampl':348 'expand':360 'fault':55 'feel':41 'formal':171 'framework':165 'full':329 'fun':70 'function':286 'go':226 'god':162 'goe':50,318 'good':76 'got':401 'guess':206 'haha':1 'high':284 'high-level':283 'idea':119 'imagin':260 'inde':156 'instead':187 'interest':11,170 'java':163 'kick':178 'know':3 'known':297 'lab':392 'languag':39 'level':64,234,248,285 'librari':365 'like':19,212,241,273,292,368 'littl':382 'local':333 'locat':299 'logo':369,388 'lot':23,68 'low':247 'low-level':246 'm':9,78,225,259,380 'map':295,338 'materi':326 'matter':46 'mayb':332 'mean':7 'measur':312 'most':27,37 'motiv':218 'next':115 'obstacl':303 'often':117 'oh':161 'one':198 'other':167 'outdat':398 'overestim':216 'packet':280 'paid':88 'part':112 'peopl':147 'per':202 'physic':375 'plenti':342 'point':269,314 'pre':337 'pre-map':336 'probabl':327 'proceed':107 'program':133 'pursu':189 'puzzl':143 'python':29,357 'quit':169 'real':210 'realiti':177 'realli':397 'recent':101 'relat':59 'resourc':14 'resource-constrain':13 'ridicul':199 'risk':211 'robot':262,376 'run':184 'sad':175 'school':395 'self':80 'self-taught':79 'sensor':378 'set':232 'simpl':291,310,353 'slam':330 'small':302 'softwar':126 'someth':238,272,290 'sort':366 'spare':139 'spring':164 'start':288,298 'still':194 'student':219 'studi':172 'stuff':86 'surfac':339 'system':17 'take':228 'taught':81 'teach':92 'thing':97,201 'think':223 'though':204 'time':34,140 'tool':110 'toward':323 'tri':195,403 'udp':279,354 'use':105,387 'want':151 'well':319 'whatev':96 'wifi':267 'work':25,277 'would':150 'write':28 'wrong':51 'year':203 'young':384"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://voltage.vn/comment/213919"
    +editedAt: null
    +createdAt: DateTimeImmutable @1693974973 {#4344
      date: 2023-09-06 06:36:13.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4101}
  +body: """
    Well, there’s also turtles to program in Python (i think) and there is [Scratch](https://en.wikipedia.org/wiki/Scratch_(programming_language)).\n
    \n
    > I guess there’s a real risk (…like 100%) that I overestimate the motivation students have\n
    \n
    Definitely sounds like it. But a motivated teacher is a very good thing. Maybe you’re able to get that spark across to some of the students.\n
    \n
    > API-like to abstract away the low-level components\n
    \n
    You can always have some extra assignments ready, just in case someone is curious and wants to do/know more. A room full of studens will have a mixed amount of knowledge, abilities and motivation anyways.\n
    \n
    > I’m most interested in resource-constrained embedded systems. I like the attiny10 a lot.\n
    \n
    I also ate a few books and datasheets on the Atmel chips in my lifetime. Their design is well-thought-out and probably an excellent subject to learn the concepts about microcontrollers.\n
    \n
    As of now I like the ESP32. It is ridiculously overpowered if you’re used to something like the ATtinies or old ATmegas. With (at least) 520kB of RAM, two cores that work at 240MHz (depending on variant) and very nice peripherals. Also WiFi connectivity is really useful. But it definitely adds to the fun if you programmed the more constrained (previous generation of) microcontrollers and know how spoiled you are and can feel like a supervillain wasting hundreds of kilobytes of memory deliberately. Or (ab)use some of the peripherals for things that wouldn’t be possible with the few timers available on the Atmel chips. Or do trigonometry at crazy frequencies for your robots, because you can handle 32bit floating point numbers. But I’d agree, that doesn’t teach you the same things if you can do floating point arithmetics for cheap and don’t know if calculating a square root is an easy or difficult thing to do. The STM chips also have nice peripherals. But I haven’t really fiddled around with those.\n
    \n
    Definitely hope you’ll have fun being involved in that STEM program.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1693999848 {#4363
    date: 2023-09-06 13:30:48.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Saigonauticon@voltage.vn"
    "@rufus@discuss.tchncs.de"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4360 …}
  +nested: Doctrine\ORM\PersistentCollection {#4357 …}
  +votes: Doctrine\ORM\PersistentCollection {#4355 …}
  +reports: Doctrine\ORM\PersistentCollection {#4369 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4371 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4373 …}
  -id: 28122
  -bodyTs: "'/wiki/scratch_(programming_language)).':18 '100':27 '240mhz':191 '32bit':277 '520kb':183 'ab':242 'abil':104 'abl':51 'abstract':66 'across':56 'add':208 'agre':284 'also':4,125,199,322 'alway':75 'amount':101 'anyway':107 'api':63 'api-lik':62 'arithmet':299 'around':332 'assign':79 'ate':126 'atmega':179 'atmel':134,262 'attini':176 'attiny10':121 'avail':259 'away':67 'book':129 'calcul':307 'case':83 'cheap':301 'chip':135,263,321 'compon':72 'concept':154 'connect':201 'constrain':115,217 'core':187 'crazi':268 'curious':86 'd':283 'datasheet':131 'definit':35,207,335 'deliber':240 'depend':192 'design':140 'difficult':315 'do/know':90 'doesn':286 'easi':313 'embed':116 'en.wikipedia.org':17 'en.wikipedia.org/wiki/scratch_(programming_language)).':16 'esp32':163 'excel':149 'extra':78 'feel':230 'fiddl':331 'float':278,297 'frequenc':269 'full':94 'fun':211,340 'generat':219 'get':53 'good':46 'guess':20 'handl':276 'haven':328 'hope':336 'hundr':235 'interest':111 'involv':342 'kilobyt':237 'know':223,305 'knowledg':103 'learn':152 'least':182 'level':71 'lifetim':138 'like':26,37,64,119,161,174,231 'll':338 'lot':123 'low':70 'low-level':69 'm':109 'mayb':48 'memori':239 'microcontrol':156,221 'mix':100 'motiv':32,41,106 'nice':197,324 'number':280 'old':178 'overestim':30 'overpow':167 'peripher':198,247,325 'point':279,298 'possibl':254 'previous':218 'probabl':147 'program':7,214,346 'python':9 'ram':185 're':50,170 'readi':80 'real':24 'realli':203,330 'resourc':114 'resource-constrain':113 'ridicul':166 'risk':25 'robot':272 'room':93 'root':310 'scratch':15 'someon':84 'someth':173 'sound':36 'spark':55 'spoil':225 'squar':309 'stem':345 'stm':320 'studen':96 'student':33,61 'subject':150 'supervillain':233 'system':117 'teach':288 'teacher':42 'thing':47,249,292,316 'think':11 'thought':144 'timer':258 'trigonometri':266 'turtl':5 'two':186 'use':171,204,243 'variant':194 'want':88 'wast':234 'well':1,143 'well-thought-out':142 'wifi':200 'work':189 'wouldn':251"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://discuss.tchncs.de/comment/2715856"
  +editedAt: null
  +createdAt: DateTimeImmutable @1693999848 {#4366
    date: 2023-09-06 13:30:48.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
31 DENIED edit
App\Entity\EntryComment {#4368
  +user: App\Entity\User {#4084 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Considering-positioning-strategies-for-autonomous-mechanum-wheeled-robots"
    +title: "Considering positioning strategies for autonomous mechanum-wheeled robots"
    +url: null
    +body: """
      Disclaimer: this is not *specifically* for a commercial product, but various things I design sometimes get commercialized. I mention this so that you may decide whether you want to weigh in. If it’s commercialized, I will probably make very little money but a bunch of university students may get a neat STEM program in the countryside :D\n
      \n
      That out of the way, I’ve designed some boards for a Wi-Fi controlled robot with mechanum wheels. So 4 independent motor drivers, one for each wheel, allow omnidirectional motion. It’s built around a Pi Pico W, 4 SOIC-8 9110S motor drivers, and some buck/boost converters to give the system a 5V and 12V line. It’s very basic, mostly made to be cheap. Here’s a photo:\n
      \n
      ![](https://voltage.vn/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)\n
      \n
      Right now it just receives UDP communications (a little app written in Godot) and activates the motors in different combinations – very “hello world”. I’m planning to add some autonomy to move around pre-generated maps, solve mazes, and so on.\n
      \n
      I have foolishly used 2-pin JST connectors for the motors, so using motors with rotary encoders would be a pain without ordering new boards. I’ll probably fix that in a later board revision or just hack it in. Also the routing is sloppy and there’s no ground plane. It works well enough for development and testing though :D\n
      \n
      What I’m thinking about right now, is how to let the robot position itself in a room effectively and cheaply. I was thinking of adding either a full LiDAR or building a limited LiDAR out of a servo motor and two cheap laser ToF sensors – e.g. one pointed forward, the other back, and I can sweep it 90 degrees. Since the LiDAR does not need to be fast or continuously sweep, I am leaning toward the latter approach.\n
      \n
      Then the processing is handled remotely – a server requests that the robot do a LiDAR sweep, the robot sends a minimal point cloud back to the server, which estimates the robot’s current location and sends back some instructions to move in a direction for some distance – probably this is where the lack of rotary encoders is going to hurt, but for now I’m planning on just pointing the forward laser ToF sensor towards a target and give the instruction “turn or move forward at static speed X until the sensor reads Y”, which should be pretty easy for the MCU To handle.\n
      \n
      I’m planning to control multiple robots from the same server. The robots don’t need to be super fast.\n
      \n
      What I’m currently wondering is whether my approach really needs rotary encoders in practice – I’ve heard that mechanum wheels have high enough mechanical slippage that they end up inaccurate, and designers often add another set of unpowered wheels for position tracking anyway. I don’t want to add more wheels in this way though.\n
      \n
      On the other hand, it would probably be easier to tell the MCU to “move forward X rotary encoder pulses at a velocity defined by Y pulses per second, and then check position and correct at a lower speed” than to use a pure LiDAR approach (e.g. even if rotary encoders don’t give me accurate position, on small time scales, they give me good feedback to control speed). I could possibly even send a fairly complex series of instructions in one go, making the communications efficient enough to eliminate a local server and control a ton of robots from a cloud VPS or whatever.\n
      \n
      Anyone have some experience with encoders + mechanum wheels that can offer a few tips my way? At this stage the project doesn’t have clear engineering goals and this is mostly an academic exercise. I’ve read that using a rigid chassis and minimizing the need for lateral motion can reduce slippage, reading through a few papers didn’t get me any numerical indication of what to expect.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 10
    +favouriteCount: 14
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1694071771 {#2410
      date: 2023-09-07 09:29:31.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 2057
    -titleTs: "'autonom':5 'consid':1 'mechanum':7 'mechanum-wheel':6 'posit':2 'robot':9 'strategi':3 'wheel':8"
    -bodyTs: "'-8':101 '/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)':133 '12v':116 '2':180 '4':80,99 '5v':114 '90':295 '9110s':102 'academ':633 'accur':551 'activ':148 'ad':262 'add':161,474,489 'allow':88 'also':216 'anoth':475 'anyon':601 'anyway':483 'app':143 'approach':315,448,541 'around':94,166 'autonomi':163 'back':289,339,352 'basic':121 'board':68,200,209 'buck/boost':107 'build':268 'built':93 'bunch':45 'chassi':642 'cheap':126,279 'cheapli':257 'check':527 'clear':625 'cloud':338,597 'combin':153 'commerci':8,17,35 'communic':140,581 'complex':572 'connector':183 'continu':307 'control':74,424,563,590 'convert':108 'correct':530 'could':566 'countrysid':57 'current':348,443 'd':58,236 'decid':25 'defin':519 'degre':296 'design':14,66,472 'develop':232 'didn':658 'differ':152 'direct':359 'disclaim':1 'distanc':362 'doesn':622 'driver':83,104 'e.g':283,542 'easi':414 'easier':504 'effect':255 'effici':582 'either':263 'elimin':585 'encod':192,371,452,514,546,606 'end':468 'engin':626 'enough':230,463,583 'estim':344 'even':543,568 'exercis':634 'expect':668 'experi':604 'fair':571 'fast':305,439 'feedback':561 'fi':73 'fix':204 'foolish':178 'forward':286,386,400,511 'full':265 'generat':169 'get':16,50,660 'give':110,394,549,558 'go':373,578 'goal':627 'godot':146 'good':560 'ground':225 'hack':213 'hand':499 'handl':320,419 'heard':457 'hello':155 'high':462 'hurt':375 'inaccur':470 'independ':81 'indic':664 'instruct':354,396,575 'jst':182 'lack':368 'laser':280,387 'later':208,648 'latter':314 'lean':311 'let':247 'lidar':266,271,299,330,540 'limit':270 'line':117 'littl':41,142 'll':202 'local':587 'locat':349 'lower':533 'm':158,239,380,421,442 'made':123 'make':39,579 'map':170 'may':24,49 'maze':172 'mcu':417,508 'mechan':464 'mechanum':77,459,607 'mention':19 'minim':336,644 'money':42 'most':122,631 'motion':90,649 'motor':82,103,150,186,189,276 'move':165,356,399,510 'multipl':425 'neat':52 'need':302,435,450,646 'new':199 'numer':663 'offer':611 'often':473 'omnidirect':89 'one':84,284,577 'order':198 'pain':196 'paper':657 'per':523 'photo':130 'pi':96 'pico':97 'pin':181 'plan':159,381,422 'plane':226 'point':285,337,384 'posit':250,481,528,552 'possibl':567 'practic':454 'pre':168 'pre-gener':167 'pretti':413 'probabl':38,203,363,502 'process':318 'product':9 'program':54 'project':621 'puls':515,522 'pure':539 'read':408,637,653 'realli':449 'receiv':138 'reduc':651 'remot':321 'request':324 'revis':210 'right':134,242 'rigid':641 'robot':75,249,327,333,346,426,432,594 'room':254 'rotari':191,370,451,513,545 'rout':218 'scale':556 'second':524 'send':334,351,569 'sensor':282,389,407 'seri':573 'server':323,342,430,588 'servo':275 'set':476 'sinc':297 'slippag':465,652 'sloppi':220 'small':554 'soic':100 'solv':171 'sometim':15 'specif':5 'speed':403,534,564 'stage':619 'static':402 'stem':53 'student':48 'super':438 'sweep':293,308,331 'system':112 'target':392 'tell':506 'test':234 'thing':12 'think':240,260 'though':235,495 'time':555 'tip':614 'tof':281,388 'ton':592 'toward':312,390 'track':482 'turn':397 'two':278 'udp':139 'univers':47 'unpow':478 'use':179,188,537,639 'various':11 've':65,456,636 'veloc':518 'voltage.vn':132 'voltage.vn/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)':131 'vps':598 'w':98 'want':28,487 'way':63,494,616 'weigh':30 'well':229 'whatev':600 'wheel':78,87,460,479,491,608 'whether':26,446 'wi':72 'wi-fi':71 'without':197 'wonder':444 'work':228 'world':156 'would':193,501 'written':144 'x':404,512 'y':409,521"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1693616717
    +visibility: "visible             "
    +apId: "https://voltage.vn/post/18974"
    +editedAt: DateTimeImmutable @1693550651 {#1850
      date: 2023-09-01 08:44:11.0 +02:00
    }
    +createdAt: DateTimeImmutable @1693550217 {#2420
      date: 2023-09-01 08:36:57.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4346
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4315
      +user: App\Entity\User {#4084 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4280
        +user: Proxies\__CG__\App\Entity\User {#1970 …}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4101
          +user: App\Entity\User {#4084 …}
          +entry: App\Entity\Entry {#2412}
          +magazine: App\Entity\Magazine {#266}
          +image: null
          +parent: null
          +root: null
          +body: """
            I think mecanum wheels slip quite a bit. So I’m not sure how effective those encoders are. But I’ve only ever tried 3d-printed ones. So I’m not super sure.\n
            \n
            You’re sure your STEM students are ready to handle the LiDAR? Manage point clouds, do the arithmetic, path planning etc? We had a practical course with little robots. But they had 3 of those sharp distance sensors at the front and a bumper with a switch. This was enough to teach many concepts and also enough to implement for the students for something that was just a project and not a full time job. But I’m sure that depends on what exactly you want to teach…\n
            \n
            And our robots hat the motor drivers (h-bridges) replaceable on socket terminals because every so often someone wasn’t very clever or didn’t listen in the lectures.
            """
          +lang: "en"
          +isAdult: false
          +favouriteCount: 0
          +score: 0
          +lastActive: DateTime @1694071778 {#4102
            date: 2023-09-07 09:29:38.0 +02:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@Saigonauticon@voltage.vn"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4099 …}
          +nested: Doctrine\ORM\PersistentCollection {#4097 …}
          +votes: Doctrine\ORM\PersistentCollection {#4095 …}
          +reports: Doctrine\ORM\PersistentCollection {#4092 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4088 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4086 …}
          -id: 27597
          -bodyTs: "'3':67 '3d':26 '3d-printed':25 'also':90 'arithmet':52 'bit':8 'bridg':132 'bumper':78 'clever':145 'cloud':49 'concept':88 'cours':60 'depend':115 'didn':147 'distanc':71 'driver':129 'effect':15 'encod':17 'enough':84,91 'etc':55 'ever':23 'everi':138 'exact':118 'front':75 'full':107 'h':131 'h-bridg':130 'handl':44 'hat':126 'implement':93 'job':109 'lectur':152 'lidar':46 'listen':149 'littl':62 'm':11,31,112 'manag':47 'mani':87 'mecanum':3 'motor':128 'often':140 'one':28 'path':53 'plan':54 'point':48 'practic':59 'print':27 'project':103 'quit':6 're':36 'readi':42 'replac':133 'robot':63,125 'sensor':72 'sharp':70 'slip':5 'socket':135 'someon':141 'someth':98 'stem':39 'student':40,96 'super':33 'sure':13,34,37,113 'switch':81 'teach':86,122 'termin':136 'think':2 'time':108 'tri':24 've':21 'want':120 'wasn':142 'wheel':4"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://discuss.tchncs.de/comment/2572674"
          +editedAt: DateTimeImmutable @1693564680 {#4107
            date: 2023-09-01 12:38:00.0 +02:00
          }
          +createdAt: DateTimeImmutable @1693564547 {#4105
            date: 2023-09-01 12:35:47.0 +02:00
          }
        }
        +root: App\Entity\EntryComment {#4101}
        +body: """
          They’re university software engineering students, probably a year or two into their degrees. I’m hoping to provide the robots as completed units that are controlled via API, because we’re not likely to get many students with electrical, mechanical, or embedded backgrounds. You’re right about the complexity though, and that’s something I’ve been thinking about – I guess I’ll start out with a bit of optimism regarding their talents, and scale back if needed :D\n
          \n
          I don’t really have a scope, budget, timeline, or audience properly defined for this project – in short my client has a STEM program for building and interacting with digital maps, but it’s *way too boring* and I’m determined to breathe some life into it. So I’m going to have to play a lot of things by ear.
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 0
        +score: 0
        +lastActive: DateTime @1693906684 {#4278
          date: 2023-09-05 11:38:04.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@Saigonauticon@voltage.vn"
          "@rufus@discuss.tchncs.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4281 …}
        +nested: Doctrine\ORM\PersistentCollection {#4283 …}
        +votes: Doctrine\ORM\PersistentCollection {#4285 …}
        +reports: Doctrine\ORM\PersistentCollection {#4287 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4289 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4291 …}
        -id: 28063
        -bodyTs: "'api':29 'audienc':91 'back':77 'background':44 'bit':69 'bore':117 'breath':123 'budget':88 'build':106 'client':100 'complet':23 'complex':50 'control':27 'd':80 'defin':93 'degre':14 'determin':121 'digit':110 'ear':141 'electr':40 'embed':43 'engin':5 'get':36 'go':131 'guess':62 'hope':17 'interact':108 'life':125 'like':34 'll':64 'lot':137 'm':16,120,130 'mani':37 'map':111 'mechan':41 'need':79 'optim':71 'play':135 'probabl':7 'program':104 'project':96 'proper':92 'provid':19 're':2,32,46 'realli':84 'regard':72 'right':47 'robot':21 'scale':76 'scope':87 'short':98 'softwar':4 'someth':55 'start':65 'stem':103 'student':6,38 'talent':74 'thing':139 'think':59 'though':51 'timelin':89 'two':11 'unit':24 'univers':3 've':57 'via':28 'way':115 'year':9"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://voltage.vn/comment/212522"
        +editedAt: null
        +createdAt: DateTimeImmutable @1693906684 {#4279
          date: 2023-09-05 11:38:04.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4101}
      +body: """
        Well, kids / young people / students will surprise you anyways. No matter what you planned ahead. I think teaching this way just requires you to stay flexible and try things with the students and see what works. University students will benefit from a little challenge, but it shouldn’t be impossible and get them frustrated. I’ve never taught myself, but I bet it’s difficult to hit that balance.\n
        \n
        Programming little robots is awesome, though. I think it’s on a whole other level to see robots move and do tasks, than to look at your screen and program something that changes a few pixels there. My university course was more related to embedded devices and closer to the electronics. It teaches you valuable lessons when forced to interact with some electronics, real-world physics, constrained resources and you need to get your maths right. Usually students are concerned with something like Java, learning object-oriented programming or handling some big frameworks. Or learning maths. And robotics teaches you to really pay attention, combine different skill-sets and do things without an easy route available.\n
        \n
        Maybe it’s just me who likes electronics too much. But I’m sure the kind of motivation you get by watching a real robot move and it runs your code, is unique. And kind of universal. You can do this in pre-school or in university to spark their imagination and motivation.\n
        \n
        Your task is a bit different. If you’re teaching something like simultaneous localization and mapping and the students also have to deal with all the robotics, sensors and real-word problems, this might be more of an ordeal for them than fun. Even dealing with noisy sensor values is a hassle until you get to grasp the bigger picture.\n
        \n
        If you’re giving them access to an API, you can choose and adjust what kind of abstraction you’re providing them. Give them something high-level or have them do more work. You could prepare most of the implementation and adjust the level of detail while teaching. Maybe skip something and give them working code via your API so they can focus on the problem they’re actually supposed to learn. You can also do it the other way round. Let them start with all low level stuff handled for them and learn the big concepts. Then let them dig down and see what your API functions have abstracted away until then. This way around you won’t run out of time.\n
        \n
        I’m sure including actual robotics is going to get them more motivated in contrast to running a simulation.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1693914344 {#4319
        date: 2023-09-05 13:45:44.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@Saigonauticon@voltage.vn"
        "@rufus@discuss.tchncs.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4312 …}
      +nested: Doctrine\ORM\PersistentCollection {#4310 …}
      +votes: Doctrine\ORM\PersistentCollection {#4314 …}
      +reports: Doctrine\ORM\PersistentCollection {#4325 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4327 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4329 …}
      -id: 28065
      -bodyTs: "'abstract':321,414 'access':309 'actual':373,432 'adjust':317,346 'ahead':15 'also':262,379 'anyway':9 'api':312,363,411 'around':420 'attent':175 'avail':188 'away':415 'awesom':74 'balanc':69 'benefit':40 'bet':62 'big':163,400 'bigger':302 'bit':247 'challeng':44 'chang':102 'choos':315 'closer':117 'code':219,360 'combin':176 'concept':401 'concern':150 'constrain':137 'contrast':442 'could':339 'cours':109 'deal':265,288 'detail':350 'devic':115 'differ':177,248 'difficult':65 'dig':405 'easi':186 'electron':120,132,196 'embed':114 'even':287 'flexibl':26 'focus':367 'forc':127 'framework':164 'frustrat':54 'fun':286 'function':412 'get':52,143,208,298,437 'give':307,326,357 'go':435 'grasp':300 'handl':161,394 'hassl':295 'high':330 'high-level':329 'hit':67 'imagin':240 'implement':344 'imposs':50 'includ':431 'interact':129 'java':154 'kid':2 'kind':204,223,319 'learn':155,166,376,398 'lesson':125 'let':386,403 'level':84,331,348,392 'like':153,195,254 'littl':43,71 'local':256 'look':94 'low':391 'm':201,429 'map':258 'math':145,167 'matter':11 'mayb':189,353 'might':277 'motiv':206,242,440 'move':88,214 'much':198 'need':141 'never':57 'noisi':290 'object':157 'object-ori':156 'ordeal':282 'orient':158 'pay':174 'peopl':4 'physic':136 'pictur':303 'pixel':105 'plan':14 'pre':232 'pre-school':231 'prepar':340 'problem':275,370 'program':70,99,159 'provid':324 're':251,306,323,372 'real':134,212,273 'real-word':272 'real-world':133 'realli':173 'relat':112 'requir':22 'resourc':138 'right':146 'robot':72,87,169,213,269,433 'round':385 'rout':187 'run':217,424,444 'school':233 'screen':97 'see':34,86,408 'sensor':270,291 'set':180 'shouldn':47 'simul':446 'simultan':255 'skill':179 'skill-set':178 'skip':354 'someth':100,152,253,328,355 'spark':238 'start':388 'stay':25 'student':5,32,38,148,261 'stuff':393 'suppos':374 'sure':202,430 'surpris':7 'task':91,244 'taught':58 'teach':18,122,170,252,352 'thing':29,183 'think':17,77 'though':75 'time':427 'tri':28 'uniqu':221 'univers':37,108,225,236 'usual':147 'valu':292 'valuabl':124 've':56 'via':361 'watch':210 'way':20,384,419 'well':1 'whole':82 'without':184 'won':422 'word':274 'work':36,337,359 'world':135 'young':3"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/comment/2687935"
      +editedAt: DateTimeImmutable @1693914611 {#4322
        date: 2023-09-05 13:50:11.0 +02:00
      }
      +createdAt: DateTimeImmutable @1693914344 {#4318
        date: 2023-09-05 13:45:44.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4101}
    +body: """
      Haha, I know exactly what you mean – I’m most interested in resource-constrained embedded systems. I like the attiny10 a lot. At work I mostly write Python, but in my own time it’s mostly assembly language. It feels more concrete, every decision matters, and anything that goes wrong is 100% your fault as there are relatively few bugs at that level. It’s a lot of fun. Also the datasheet is very good.\n
      \n
      I’m self-taught with all the electronics stuff, I paid for it by teaching a course on whatever thing I did most recently. Then I’d use the proceeds to buy tools and parts for the next big (often dumb) idea. I’d also ask for the software engineering assignments from colleagues in those programs, and complete them in my spare time. It was puzzling to a few people why I would *want to do assignments*, and indeed some were very boring (oh god Java + Spring framework) but others were quite interesting (formal study of algorithms). Sadly, economic reality kicked in and I had to run a company instead of pursuing my education further (I still try to do one ridiculous engineering thing per year though).\n
      \n
      I guess there’s a real risk (…like 100%) that I overestimate the motivation students have – so I think I’m going to take your advice and set the level of abstraction with something API-like to abstract away the low-level components (this is closer to my client’s domain). I’m imagining a robot that acts as a WiFi access point, and having something “like an API” that works over UDP packets that describe high-level functions. Then start with something simple – like a digital map with known starting location, and a small obstacle course that can be completed with simple distance measurement, no point clouds. If that goes well, I can develop towards more complex material – probably not full SLAM, but maybe localization on a pre-mapped surface. I have plenty of my own code as examples of how to do simple UDP communications in Python, I could expand it into a custom library.\n
      \n
      Sort of like Logo from 1983, but with a physical robot and sensors. I’m a little to young to have used Logo, but the computer lab in my school was really outdated so I got to try it once :D
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1693974973 {#4341
      date: 2023-09-06 06:36:13.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Saigonauticon@voltage.vn"
      "@rufus@discuss.tchncs.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4338 …}
    +nested: Doctrine\ORM\PersistentCollection {#4335 …}
    +votes: Doctrine\ORM\PersistentCollection {#4333 …}
    +reports: Doctrine\ORM\PersistentCollection {#4347 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4349 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4351 …}
    -id: 28109
    -bodyTs: "'100':53,213 '1983':371 'abstract':236,243 'access':268 'act':264 'advic':230 'algorithm':174 'also':71,122 'anyth':48 'api':240,275 'api-lik':239 'ask':123 'assembl':38 'assign':128,154 'attiny10':21 'away':244 'big':116 'bore':160 'bug':61 'buy':109 'client':255 'closer':252 'cloud':315 'code':346 'colleagu':130 'communic':355 'compani':186 'complet':135,308 'complex':325 'compon':249 'comput':391 'concret':43 'constrain':15 'could':359 'cours':94,304 'custom':364 'd':104,121,406 'datasheet':73 'decis':45 'describ':282 'develop':322 'digit':294 'distanc':311 'domain':257 'dumb':118 'econom':176 'educ':191 'electron':85 'embed':16 'engin':127,200 'everi':44 'exact':4 'exampl':348 'expand':360 'fault':55 'feel':41 'formal':171 'framework':165 'full':329 'fun':70 'function':286 'go':226 'god':162 'goe':50,318 'good':76 'got':401 'guess':206 'haha':1 'high':284 'high-level':283 'idea':119 'imagin':260 'inde':156 'instead':187 'interest':11,170 'java':163 'kick':178 'know':3 'known':297 'lab':392 'languag':39 'level':64,234,248,285 'librari':365 'like':19,212,241,273,292,368 'littl':382 'local':333 'locat':299 'logo':369,388 'lot':23,68 'low':247 'low-level':246 'm':9,78,225,259,380 'map':295,338 'materi':326 'matter':46 'mayb':332 'mean':7 'measur':312 'most':27,37 'motiv':218 'next':115 'obstacl':303 'often':117 'oh':161 'one':198 'other':167 'outdat':398 'overestim':216 'packet':280 'paid':88 'part':112 'peopl':147 'per':202 'physic':375 'plenti':342 'point':269,314 'pre':337 'pre-map':336 'probabl':327 'proceed':107 'program':133 'pursu':189 'puzzl':143 'python':29,357 'quit':169 'real':210 'realiti':177 'realli':397 'recent':101 'relat':59 'resourc':14 'resource-constrain':13 'ridicul':199 'risk':211 'robot':262,376 'run':184 'sad':175 'school':395 'self':80 'self-taught':79 'sensor':378 'set':232 'simpl':291,310,353 'slam':330 'small':302 'softwar':126 'someth':238,272,290 'sort':366 'spare':139 'spring':164 'start':288,298 'still':194 'student':219 'studi':172 'stuff':86 'surfac':339 'system':17 'take':228 'taught':81 'teach':92 'thing':97,201 'think':223 'though':204 'time':34,140 'tool':110 'toward':323 'tri':195,403 'udp':279,354 'use':105,387 'want':151 'well':319 'whatev':96 'wifi':267 'work':25,277 'would':150 'write':28 'wrong':51 'year':203 'young':384"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://voltage.vn/comment/213919"
    +editedAt: null
    +createdAt: DateTimeImmutable @1693974973 {#4344
      date: 2023-09-06 06:36:13.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4101}
  +body: """
    Well, there’s also turtles to program in Python (i think) and there is [Scratch](https://en.wikipedia.org/wiki/Scratch_(programming_language)).\n
    \n
    > I guess there’s a real risk (…like 100%) that I overestimate the motivation students have\n
    \n
    Definitely sounds like it. But a motivated teacher is a very good thing. Maybe you’re able to get that spark across to some of the students.\n
    \n
    > API-like to abstract away the low-level components\n
    \n
    You can always have some extra assignments ready, just in case someone is curious and wants to do/know more. A room full of studens will have a mixed amount of knowledge, abilities and motivation anyways.\n
    \n
    > I’m most interested in resource-constrained embedded systems. I like the attiny10 a lot.\n
    \n
    I also ate a few books and datasheets on the Atmel chips in my lifetime. Their design is well-thought-out and probably an excellent subject to learn the concepts about microcontrollers.\n
    \n
    As of now I like the ESP32. It is ridiculously overpowered if you’re used to something like the ATtinies or old ATmegas. With (at least) 520kB of RAM, two cores that work at 240MHz (depending on variant) and very nice peripherals. Also WiFi connectivity is really useful. But it definitely adds to the fun if you programmed the more constrained (previous generation of) microcontrollers and know how spoiled you are and can feel like a supervillain wasting hundreds of kilobytes of memory deliberately. Or (ab)use some of the peripherals for things that wouldn’t be possible with the few timers available on the Atmel chips. Or do trigonometry at crazy frequencies for your robots, because you can handle 32bit floating point numbers. But I’d agree, that doesn’t teach you the same things if you can do floating point arithmetics for cheap and don’t know if calculating a square root is an easy or difficult thing to do. The STM chips also have nice peripherals. But I haven’t really fiddled around with those.\n
    \n
    Definitely hope you’ll have fun being involved in that STEM program.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1693999848 {#4363
    date: 2023-09-06 13:30:48.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Saigonauticon@voltage.vn"
    "@rufus@discuss.tchncs.de"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4360 …}
  +nested: Doctrine\ORM\PersistentCollection {#4357 …}
  +votes: Doctrine\ORM\PersistentCollection {#4355 …}
  +reports: Doctrine\ORM\PersistentCollection {#4369 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4371 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4373 …}
  -id: 28122
  -bodyTs: "'/wiki/scratch_(programming_language)).':18 '100':27 '240mhz':191 '32bit':277 '520kb':183 'ab':242 'abil':104 'abl':51 'abstract':66 'across':56 'add':208 'agre':284 'also':4,125,199,322 'alway':75 'amount':101 'anyway':107 'api':63 'api-lik':62 'arithmet':299 'around':332 'assign':79 'ate':126 'atmega':179 'atmel':134,262 'attini':176 'attiny10':121 'avail':259 'away':67 'book':129 'calcul':307 'case':83 'cheap':301 'chip':135,263,321 'compon':72 'concept':154 'connect':201 'constrain':115,217 'core':187 'crazi':268 'curious':86 'd':283 'datasheet':131 'definit':35,207,335 'deliber':240 'depend':192 'design':140 'difficult':315 'do/know':90 'doesn':286 'easi':313 'embed':116 'en.wikipedia.org':17 'en.wikipedia.org/wiki/scratch_(programming_language)).':16 'esp32':163 'excel':149 'extra':78 'feel':230 'fiddl':331 'float':278,297 'frequenc':269 'full':94 'fun':211,340 'generat':219 'get':53 'good':46 'guess':20 'handl':276 'haven':328 'hope':336 'hundr':235 'interest':111 'involv':342 'kilobyt':237 'know':223,305 'knowledg':103 'learn':152 'least':182 'level':71 'lifetim':138 'like':26,37,64,119,161,174,231 'll':338 'lot':123 'low':70 'low-level':69 'm':109 'mayb':48 'memori':239 'microcontrol':156,221 'mix':100 'motiv':32,41,106 'nice':197,324 'number':280 'old':178 'overestim':30 'overpow':167 'peripher':198,247,325 'point':279,298 'possibl':254 'previous':218 'probabl':147 'program':7,214,346 'python':9 'ram':185 're':50,170 'readi':80 'real':24 'realli':203,330 'resourc':114 'resource-constrain':113 'ridicul':166 'risk':25 'robot':272 'room':93 'root':310 'scratch':15 'someon':84 'someth':173 'sound':36 'spark':55 'spoil':225 'squar':309 'stem':345 'stm':320 'studen':96 'student':33,61 'subject':150 'supervillain':233 'system':117 'teach':288 'teacher':42 'thing':47,249,292,316 'think':11 'thought':144 'timer':258 'trigonometri':266 'turtl':5 'two':186 'use':171,204,243 'variant':194 'want':88 'wast':234 'well':1,143 'well-thought-out':142 'wifi':200 'work':189 'wouldn':251"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://discuss.tchncs.de/comment/2715856"
  +editedAt: null
  +createdAt: DateTimeImmutable @1693999848 {#4366
    date: 2023-09-06 13:30:48.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
32 DENIED moderate
App\Entity\EntryComment {#4368
  +user: App\Entity\User {#4084 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Considering-positioning-strategies-for-autonomous-mechanum-wheeled-robots"
    +title: "Considering positioning strategies for autonomous mechanum-wheeled robots"
    +url: null
    +body: """
      Disclaimer: this is not *specifically* for a commercial product, but various things I design sometimes get commercialized. I mention this so that you may decide whether you want to weigh in. If it’s commercialized, I will probably make very little money but a bunch of university students may get a neat STEM program in the countryside :D\n
      \n
      That out of the way, I’ve designed some boards for a Wi-Fi controlled robot with mechanum wheels. So 4 independent motor drivers, one for each wheel, allow omnidirectional motion. It’s built around a Pi Pico W, 4 SOIC-8 9110S motor drivers, and some buck/boost converters to give the system a 5V and 12V line. It’s very basic, mostly made to be cheap. Here’s a photo:\n
      \n
      ![](https://voltage.vn/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)\n
      \n
      Right now it just receives UDP communications (a little app written in Godot) and activates the motors in different combinations – very “hello world”. I’m planning to add some autonomy to move around pre-generated maps, solve mazes, and so on.\n
      \n
      I have foolishly used 2-pin JST connectors for the motors, so using motors with rotary encoders would be a pain without ordering new boards. I’ll probably fix that in a later board revision or just hack it in. Also the routing is sloppy and there’s no ground plane. It works well enough for development and testing though :D\n
      \n
      What I’m thinking about right now, is how to let the robot position itself in a room effectively and cheaply. I was thinking of adding either a full LiDAR or building a limited LiDAR out of a servo motor and two cheap laser ToF sensors – e.g. one pointed forward, the other back, and I can sweep it 90 degrees. Since the LiDAR does not need to be fast or continuously sweep, I am leaning toward the latter approach.\n
      \n
      Then the processing is handled remotely – a server requests that the robot do a LiDAR sweep, the robot sends a minimal point cloud back to the server, which estimates the robot’s current location and sends back some instructions to move in a direction for some distance – probably this is where the lack of rotary encoders is going to hurt, but for now I’m planning on just pointing the forward laser ToF sensor towards a target and give the instruction “turn or move forward at static speed X until the sensor reads Y”, which should be pretty easy for the MCU To handle.\n
      \n
      I’m planning to control multiple robots from the same server. The robots don’t need to be super fast.\n
      \n
      What I’m currently wondering is whether my approach really needs rotary encoders in practice – I’ve heard that mechanum wheels have high enough mechanical slippage that they end up inaccurate, and designers often add another set of unpowered wheels for position tracking anyway. I don’t want to add more wheels in this way though.\n
      \n
      On the other hand, it would probably be easier to tell the MCU to “move forward X rotary encoder pulses at a velocity defined by Y pulses per second, and then check position and correct at a lower speed” than to use a pure LiDAR approach (e.g. even if rotary encoders don’t give me accurate position, on small time scales, they give me good feedback to control speed). I could possibly even send a fairly complex series of instructions in one go, making the communications efficient enough to eliminate a local server and control a ton of robots from a cloud VPS or whatever.\n
      \n
      Anyone have some experience with encoders + mechanum wheels that can offer a few tips my way? At this stage the project doesn’t have clear engineering goals and this is mostly an academic exercise. I’ve read that using a rigid chassis and minimizing the need for lateral motion can reduce slippage, reading through a few papers didn’t get me any numerical indication of what to expect.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 10
    +favouriteCount: 14
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1694071771 {#2410
      date: 2023-09-07 09:29:31.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 2057
    -titleTs: "'autonom':5 'consid':1 'mechanum':7 'mechanum-wheel':6 'posit':2 'robot':9 'strategi':3 'wheel':8"
    -bodyTs: "'-8':101 '/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)':133 '12v':116 '2':180 '4':80,99 '5v':114 '90':295 '9110s':102 'academ':633 'accur':551 'activ':148 'ad':262 'add':161,474,489 'allow':88 'also':216 'anoth':475 'anyon':601 'anyway':483 'app':143 'approach':315,448,541 'around':94,166 'autonomi':163 'back':289,339,352 'basic':121 'board':68,200,209 'buck/boost':107 'build':268 'built':93 'bunch':45 'chassi':642 'cheap':126,279 'cheapli':257 'check':527 'clear':625 'cloud':338,597 'combin':153 'commerci':8,17,35 'communic':140,581 'complex':572 'connector':183 'continu':307 'control':74,424,563,590 'convert':108 'correct':530 'could':566 'countrysid':57 'current':348,443 'd':58,236 'decid':25 'defin':519 'degre':296 'design':14,66,472 'develop':232 'didn':658 'differ':152 'direct':359 'disclaim':1 'distanc':362 'doesn':622 'driver':83,104 'e.g':283,542 'easi':414 'easier':504 'effect':255 'effici':582 'either':263 'elimin':585 'encod':192,371,452,514,546,606 'end':468 'engin':626 'enough':230,463,583 'estim':344 'even':543,568 'exercis':634 'expect':668 'experi':604 'fair':571 'fast':305,439 'feedback':561 'fi':73 'fix':204 'foolish':178 'forward':286,386,400,511 'full':265 'generat':169 'get':16,50,660 'give':110,394,549,558 'go':373,578 'goal':627 'godot':146 'good':560 'ground':225 'hack':213 'hand':499 'handl':320,419 'heard':457 'hello':155 'high':462 'hurt':375 'inaccur':470 'independ':81 'indic':664 'instruct':354,396,575 'jst':182 'lack':368 'laser':280,387 'later':208,648 'latter':314 'lean':311 'let':247 'lidar':266,271,299,330,540 'limit':270 'line':117 'littl':41,142 'll':202 'local':587 'locat':349 'lower':533 'm':158,239,380,421,442 'made':123 'make':39,579 'map':170 'may':24,49 'maze':172 'mcu':417,508 'mechan':464 'mechanum':77,459,607 'mention':19 'minim':336,644 'money':42 'most':122,631 'motion':90,649 'motor':82,103,150,186,189,276 'move':165,356,399,510 'multipl':425 'neat':52 'need':302,435,450,646 'new':199 'numer':663 'offer':611 'often':473 'omnidirect':89 'one':84,284,577 'order':198 'pain':196 'paper':657 'per':523 'photo':130 'pi':96 'pico':97 'pin':181 'plan':159,381,422 'plane':226 'point':285,337,384 'posit':250,481,528,552 'possibl':567 'practic':454 'pre':168 'pre-gener':167 'pretti':413 'probabl':38,203,363,502 'process':318 'product':9 'program':54 'project':621 'puls':515,522 'pure':539 'read':408,637,653 'realli':449 'receiv':138 'reduc':651 'remot':321 'request':324 'revis':210 'right':134,242 'rigid':641 'robot':75,249,327,333,346,426,432,594 'room':254 'rotari':191,370,451,513,545 'rout':218 'scale':556 'second':524 'send':334,351,569 'sensor':282,389,407 'seri':573 'server':323,342,430,588 'servo':275 'set':476 'sinc':297 'slippag':465,652 'sloppi':220 'small':554 'soic':100 'solv':171 'sometim':15 'specif':5 'speed':403,534,564 'stage':619 'static':402 'stem':53 'student':48 'super':438 'sweep':293,308,331 'system':112 'target':392 'tell':506 'test':234 'thing':12 'think':240,260 'though':235,495 'time':555 'tip':614 'tof':281,388 'ton':592 'toward':312,390 'track':482 'turn':397 'two':278 'udp':139 'univers':47 'unpow':478 'use':179,188,537,639 'various':11 've':65,456,636 'veloc':518 'voltage.vn':132 'voltage.vn/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)':131 'vps':598 'w':98 'want':28,487 'way':63,494,616 'weigh':30 'well':229 'whatev':600 'wheel':78,87,460,479,491,608 'whether':26,446 'wi':72 'wi-fi':71 'without':197 'wonder':444 'work':228 'world':156 'would':193,501 'written':144 'x':404,512 'y':409,521"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1693616717
    +visibility: "visible             "
    +apId: "https://voltage.vn/post/18974"
    +editedAt: DateTimeImmutable @1693550651 {#1850
      date: 2023-09-01 08:44:11.0 +02:00
    }
    +createdAt: DateTimeImmutable @1693550217 {#2420
      date: 2023-09-01 08:36:57.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4346
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4315
      +user: App\Entity\User {#4084 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4280
        +user: Proxies\__CG__\App\Entity\User {#1970 …}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4101
          +user: App\Entity\User {#4084 …}
          +entry: App\Entity\Entry {#2412}
          +magazine: App\Entity\Magazine {#266}
          +image: null
          +parent: null
          +root: null
          +body: """
            I think mecanum wheels slip quite a bit. So I’m not sure how effective those encoders are. But I’ve only ever tried 3d-printed ones. So I’m not super sure.\n
            \n
            You’re sure your STEM students are ready to handle the LiDAR? Manage point clouds, do the arithmetic, path planning etc? We had a practical course with little robots. But they had 3 of those sharp distance sensors at the front and a bumper with a switch. This was enough to teach many concepts and also enough to implement for the students for something that was just a project and not a full time job. But I’m sure that depends on what exactly you want to teach…\n
            \n
            And our robots hat the motor drivers (h-bridges) replaceable on socket terminals because every so often someone wasn’t very clever or didn’t listen in the lectures.
            """
          +lang: "en"
          +isAdult: false
          +favouriteCount: 0
          +score: 0
          +lastActive: DateTime @1694071778 {#4102
            date: 2023-09-07 09:29:38.0 +02:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@Saigonauticon@voltage.vn"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4099 …}
          +nested: Doctrine\ORM\PersistentCollection {#4097 …}
          +votes: Doctrine\ORM\PersistentCollection {#4095 …}
          +reports: Doctrine\ORM\PersistentCollection {#4092 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4088 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4086 …}
          -id: 27597
          -bodyTs: "'3':67 '3d':26 '3d-printed':25 'also':90 'arithmet':52 'bit':8 'bridg':132 'bumper':78 'clever':145 'cloud':49 'concept':88 'cours':60 'depend':115 'didn':147 'distanc':71 'driver':129 'effect':15 'encod':17 'enough':84,91 'etc':55 'ever':23 'everi':138 'exact':118 'front':75 'full':107 'h':131 'h-bridg':130 'handl':44 'hat':126 'implement':93 'job':109 'lectur':152 'lidar':46 'listen':149 'littl':62 'm':11,31,112 'manag':47 'mani':87 'mecanum':3 'motor':128 'often':140 'one':28 'path':53 'plan':54 'point':48 'practic':59 'print':27 'project':103 'quit':6 're':36 'readi':42 'replac':133 'robot':63,125 'sensor':72 'sharp':70 'slip':5 'socket':135 'someon':141 'someth':98 'stem':39 'student':40,96 'super':33 'sure':13,34,37,113 'switch':81 'teach':86,122 'termin':136 'think':2 'time':108 'tri':24 've':21 'want':120 'wasn':142 'wheel':4"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://discuss.tchncs.de/comment/2572674"
          +editedAt: DateTimeImmutable @1693564680 {#4107
            date: 2023-09-01 12:38:00.0 +02:00
          }
          +createdAt: DateTimeImmutable @1693564547 {#4105
            date: 2023-09-01 12:35:47.0 +02:00
          }
        }
        +root: App\Entity\EntryComment {#4101}
        +body: """
          They’re university software engineering students, probably a year or two into their degrees. I’m hoping to provide the robots as completed units that are controlled via API, because we’re not likely to get many students with electrical, mechanical, or embedded backgrounds. You’re right about the complexity though, and that’s something I’ve been thinking about – I guess I’ll start out with a bit of optimism regarding their talents, and scale back if needed :D\n
          \n
          I don’t really have a scope, budget, timeline, or audience properly defined for this project – in short my client has a STEM program for building and interacting with digital maps, but it’s *way too boring* and I’m determined to breathe some life into it. So I’m going to have to play a lot of things by ear.
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 0
        +score: 0
        +lastActive: DateTime @1693906684 {#4278
          date: 2023-09-05 11:38:04.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@Saigonauticon@voltage.vn"
          "@rufus@discuss.tchncs.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4281 …}
        +nested: Doctrine\ORM\PersistentCollection {#4283 …}
        +votes: Doctrine\ORM\PersistentCollection {#4285 …}
        +reports: Doctrine\ORM\PersistentCollection {#4287 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4289 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4291 …}
        -id: 28063
        -bodyTs: "'api':29 'audienc':91 'back':77 'background':44 'bit':69 'bore':117 'breath':123 'budget':88 'build':106 'client':100 'complet':23 'complex':50 'control':27 'd':80 'defin':93 'degre':14 'determin':121 'digit':110 'ear':141 'electr':40 'embed':43 'engin':5 'get':36 'go':131 'guess':62 'hope':17 'interact':108 'life':125 'like':34 'll':64 'lot':137 'm':16,120,130 'mani':37 'map':111 'mechan':41 'need':79 'optim':71 'play':135 'probabl':7 'program':104 'project':96 'proper':92 'provid':19 're':2,32,46 'realli':84 'regard':72 'right':47 'robot':21 'scale':76 'scope':87 'short':98 'softwar':4 'someth':55 'start':65 'stem':103 'student':6,38 'talent':74 'thing':139 'think':59 'though':51 'timelin':89 'two':11 'unit':24 'univers':3 've':57 'via':28 'way':115 'year':9"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://voltage.vn/comment/212522"
        +editedAt: null
        +createdAt: DateTimeImmutable @1693906684 {#4279
          date: 2023-09-05 11:38:04.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4101}
      +body: """
        Well, kids / young people / students will surprise you anyways. No matter what you planned ahead. I think teaching this way just requires you to stay flexible and try things with the students and see what works. University students will benefit from a little challenge, but it shouldn’t be impossible and get them frustrated. I’ve never taught myself, but I bet it’s difficult to hit that balance.\n
        \n
        Programming little robots is awesome, though. I think it’s on a whole other level to see robots move and do tasks, than to look at your screen and program something that changes a few pixels there. My university course was more related to embedded devices and closer to the electronics. It teaches you valuable lessons when forced to interact with some electronics, real-world physics, constrained resources and you need to get your maths right. Usually students are concerned with something like Java, learning object-oriented programming or handling some big frameworks. Or learning maths. And robotics teaches you to really pay attention, combine different skill-sets and do things without an easy route available.\n
        \n
        Maybe it’s just me who likes electronics too much. But I’m sure the kind of motivation you get by watching a real robot move and it runs your code, is unique. And kind of universal. You can do this in pre-school or in university to spark their imagination and motivation.\n
        \n
        Your task is a bit different. If you’re teaching something like simultaneous localization and mapping and the students also have to deal with all the robotics, sensors and real-word problems, this might be more of an ordeal for them than fun. Even dealing with noisy sensor values is a hassle until you get to grasp the bigger picture.\n
        \n
        If you’re giving them access to an API, you can choose and adjust what kind of abstraction you’re providing them. Give them something high-level or have them do more work. You could prepare most of the implementation and adjust the level of detail while teaching. Maybe skip something and give them working code via your API so they can focus on the problem they’re actually supposed to learn. You can also do it the other way round. Let them start with all low level stuff handled for them and learn the big concepts. Then let them dig down and see what your API functions have abstracted away until then. This way around you won’t run out of time.\n
        \n
        I’m sure including actual robotics is going to get them more motivated in contrast to running a simulation.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1693914344 {#4319
        date: 2023-09-05 13:45:44.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@Saigonauticon@voltage.vn"
        "@rufus@discuss.tchncs.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4312 …}
      +nested: Doctrine\ORM\PersistentCollection {#4310 …}
      +votes: Doctrine\ORM\PersistentCollection {#4314 …}
      +reports: Doctrine\ORM\PersistentCollection {#4325 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4327 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4329 …}
      -id: 28065
      -bodyTs: "'abstract':321,414 'access':309 'actual':373,432 'adjust':317,346 'ahead':15 'also':262,379 'anyway':9 'api':312,363,411 'around':420 'attent':175 'avail':188 'away':415 'awesom':74 'balanc':69 'benefit':40 'bet':62 'big':163,400 'bigger':302 'bit':247 'challeng':44 'chang':102 'choos':315 'closer':117 'code':219,360 'combin':176 'concept':401 'concern':150 'constrain':137 'contrast':442 'could':339 'cours':109 'deal':265,288 'detail':350 'devic':115 'differ':177,248 'difficult':65 'dig':405 'easi':186 'electron':120,132,196 'embed':114 'even':287 'flexibl':26 'focus':367 'forc':127 'framework':164 'frustrat':54 'fun':286 'function':412 'get':52,143,208,298,437 'give':307,326,357 'go':435 'grasp':300 'handl':161,394 'hassl':295 'high':330 'high-level':329 'hit':67 'imagin':240 'implement':344 'imposs':50 'includ':431 'interact':129 'java':154 'kid':2 'kind':204,223,319 'learn':155,166,376,398 'lesson':125 'let':386,403 'level':84,331,348,392 'like':153,195,254 'littl':43,71 'local':256 'look':94 'low':391 'm':201,429 'map':258 'math':145,167 'matter':11 'mayb':189,353 'might':277 'motiv':206,242,440 'move':88,214 'much':198 'need':141 'never':57 'noisi':290 'object':157 'object-ori':156 'ordeal':282 'orient':158 'pay':174 'peopl':4 'physic':136 'pictur':303 'pixel':105 'plan':14 'pre':232 'pre-school':231 'prepar':340 'problem':275,370 'program':70,99,159 'provid':324 're':251,306,323,372 'real':134,212,273 'real-word':272 'real-world':133 'realli':173 'relat':112 'requir':22 'resourc':138 'right':146 'robot':72,87,169,213,269,433 'round':385 'rout':187 'run':217,424,444 'school':233 'screen':97 'see':34,86,408 'sensor':270,291 'set':180 'shouldn':47 'simul':446 'simultan':255 'skill':179 'skill-set':178 'skip':354 'someth':100,152,253,328,355 'spark':238 'start':388 'stay':25 'student':5,32,38,148,261 'stuff':393 'suppos':374 'sure':202,430 'surpris':7 'task':91,244 'taught':58 'teach':18,122,170,252,352 'thing':29,183 'think':17,77 'though':75 'time':427 'tri':28 'uniqu':221 'univers':37,108,225,236 'usual':147 'valu':292 'valuabl':124 've':56 'via':361 'watch':210 'way':20,384,419 'well':1 'whole':82 'without':184 'won':422 'word':274 'work':36,337,359 'world':135 'young':3"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/comment/2687935"
      +editedAt: DateTimeImmutable @1693914611 {#4322
        date: 2023-09-05 13:50:11.0 +02:00
      }
      +createdAt: DateTimeImmutable @1693914344 {#4318
        date: 2023-09-05 13:45:44.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4101}
    +body: """
      Haha, I know exactly what you mean – I’m most interested in resource-constrained embedded systems. I like the attiny10 a lot. At work I mostly write Python, but in my own time it’s mostly assembly language. It feels more concrete, every decision matters, and anything that goes wrong is 100% your fault as there are relatively few bugs at that level. It’s a lot of fun. Also the datasheet is very good.\n
      \n
      I’m self-taught with all the electronics stuff, I paid for it by teaching a course on whatever thing I did most recently. Then I’d use the proceeds to buy tools and parts for the next big (often dumb) idea. I’d also ask for the software engineering assignments from colleagues in those programs, and complete them in my spare time. It was puzzling to a few people why I would *want to do assignments*, and indeed some were very boring (oh god Java + Spring framework) but others were quite interesting (formal study of algorithms). Sadly, economic reality kicked in and I had to run a company instead of pursuing my education further (I still try to do one ridiculous engineering thing per year though).\n
      \n
      I guess there’s a real risk (…like 100%) that I overestimate the motivation students have – so I think I’m going to take your advice and set the level of abstraction with something API-like to abstract away the low-level components (this is closer to my client’s domain). I’m imagining a robot that acts as a WiFi access point, and having something “like an API” that works over UDP packets that describe high-level functions. Then start with something simple – like a digital map with known starting location, and a small obstacle course that can be completed with simple distance measurement, no point clouds. If that goes well, I can develop towards more complex material – probably not full SLAM, but maybe localization on a pre-mapped surface. I have plenty of my own code as examples of how to do simple UDP communications in Python, I could expand it into a custom library.\n
      \n
      Sort of like Logo from 1983, but with a physical robot and sensors. I’m a little to young to have used Logo, but the computer lab in my school was really outdated so I got to try it once :D
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1693974973 {#4341
      date: 2023-09-06 06:36:13.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Saigonauticon@voltage.vn"
      "@rufus@discuss.tchncs.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4338 …}
    +nested: Doctrine\ORM\PersistentCollection {#4335 …}
    +votes: Doctrine\ORM\PersistentCollection {#4333 …}
    +reports: Doctrine\ORM\PersistentCollection {#4347 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4349 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4351 …}
    -id: 28109
    -bodyTs: "'100':53,213 '1983':371 'abstract':236,243 'access':268 'act':264 'advic':230 'algorithm':174 'also':71,122 'anyth':48 'api':240,275 'api-lik':239 'ask':123 'assembl':38 'assign':128,154 'attiny10':21 'away':244 'big':116 'bore':160 'bug':61 'buy':109 'client':255 'closer':252 'cloud':315 'code':346 'colleagu':130 'communic':355 'compani':186 'complet':135,308 'complex':325 'compon':249 'comput':391 'concret':43 'constrain':15 'could':359 'cours':94,304 'custom':364 'd':104,121,406 'datasheet':73 'decis':45 'describ':282 'develop':322 'digit':294 'distanc':311 'domain':257 'dumb':118 'econom':176 'educ':191 'electron':85 'embed':16 'engin':127,200 'everi':44 'exact':4 'exampl':348 'expand':360 'fault':55 'feel':41 'formal':171 'framework':165 'full':329 'fun':70 'function':286 'go':226 'god':162 'goe':50,318 'good':76 'got':401 'guess':206 'haha':1 'high':284 'high-level':283 'idea':119 'imagin':260 'inde':156 'instead':187 'interest':11,170 'java':163 'kick':178 'know':3 'known':297 'lab':392 'languag':39 'level':64,234,248,285 'librari':365 'like':19,212,241,273,292,368 'littl':382 'local':333 'locat':299 'logo':369,388 'lot':23,68 'low':247 'low-level':246 'm':9,78,225,259,380 'map':295,338 'materi':326 'matter':46 'mayb':332 'mean':7 'measur':312 'most':27,37 'motiv':218 'next':115 'obstacl':303 'often':117 'oh':161 'one':198 'other':167 'outdat':398 'overestim':216 'packet':280 'paid':88 'part':112 'peopl':147 'per':202 'physic':375 'plenti':342 'point':269,314 'pre':337 'pre-map':336 'probabl':327 'proceed':107 'program':133 'pursu':189 'puzzl':143 'python':29,357 'quit':169 'real':210 'realiti':177 'realli':397 'recent':101 'relat':59 'resourc':14 'resource-constrain':13 'ridicul':199 'risk':211 'robot':262,376 'run':184 'sad':175 'school':395 'self':80 'self-taught':79 'sensor':378 'set':232 'simpl':291,310,353 'slam':330 'small':302 'softwar':126 'someth':238,272,290 'sort':366 'spare':139 'spring':164 'start':288,298 'still':194 'student':219 'studi':172 'stuff':86 'surfac':339 'system':17 'take':228 'taught':81 'teach':92 'thing':97,201 'think':223 'though':204 'time':34,140 'tool':110 'toward':323 'tri':195,403 'udp':279,354 'use':105,387 'want':151 'well':319 'whatev':96 'wifi':267 'work':25,277 'would':150 'write':28 'wrong':51 'year':203 'young':384"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://voltage.vn/comment/213919"
    +editedAt: null
    +createdAt: DateTimeImmutable @1693974973 {#4344
      date: 2023-09-06 06:36:13.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4101}
  +body: """
    Well, there’s also turtles to program in Python (i think) and there is [Scratch](https://en.wikipedia.org/wiki/Scratch_(programming_language)).\n
    \n
    > I guess there’s a real risk (…like 100%) that I overestimate the motivation students have\n
    \n
    Definitely sounds like it. But a motivated teacher is a very good thing. Maybe you’re able to get that spark across to some of the students.\n
    \n
    > API-like to abstract away the low-level components\n
    \n
    You can always have some extra assignments ready, just in case someone is curious and wants to do/know more. A room full of studens will have a mixed amount of knowledge, abilities and motivation anyways.\n
    \n
    > I’m most interested in resource-constrained embedded systems. I like the attiny10 a lot.\n
    \n
    I also ate a few books and datasheets on the Atmel chips in my lifetime. Their design is well-thought-out and probably an excellent subject to learn the concepts about microcontrollers.\n
    \n
    As of now I like the ESP32. It is ridiculously overpowered if you’re used to something like the ATtinies or old ATmegas. With (at least) 520kB of RAM, two cores that work at 240MHz (depending on variant) and very nice peripherals. Also WiFi connectivity is really useful. But it definitely adds to the fun if you programmed the more constrained (previous generation of) microcontrollers and know how spoiled you are and can feel like a supervillain wasting hundreds of kilobytes of memory deliberately. Or (ab)use some of the peripherals for things that wouldn’t be possible with the few timers available on the Atmel chips. Or do trigonometry at crazy frequencies for your robots, because you can handle 32bit floating point numbers. But I’d agree, that doesn’t teach you the same things if you can do floating point arithmetics for cheap and don’t know if calculating a square root is an easy or difficult thing to do. The STM chips also have nice peripherals. But I haven’t really fiddled around with those.\n
    \n
    Definitely hope you’ll have fun being involved in that STEM program.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1693999848 {#4363
    date: 2023-09-06 13:30:48.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Saigonauticon@voltage.vn"
    "@rufus@discuss.tchncs.de"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4360 …}
  +nested: Doctrine\ORM\PersistentCollection {#4357 …}
  +votes: Doctrine\ORM\PersistentCollection {#4355 …}
  +reports: Doctrine\ORM\PersistentCollection {#4369 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4371 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4373 …}
  -id: 28122
  -bodyTs: "'/wiki/scratch_(programming_language)).':18 '100':27 '240mhz':191 '32bit':277 '520kb':183 'ab':242 'abil':104 'abl':51 'abstract':66 'across':56 'add':208 'agre':284 'also':4,125,199,322 'alway':75 'amount':101 'anyway':107 'api':63 'api-lik':62 'arithmet':299 'around':332 'assign':79 'ate':126 'atmega':179 'atmel':134,262 'attini':176 'attiny10':121 'avail':259 'away':67 'book':129 'calcul':307 'case':83 'cheap':301 'chip':135,263,321 'compon':72 'concept':154 'connect':201 'constrain':115,217 'core':187 'crazi':268 'curious':86 'd':283 'datasheet':131 'definit':35,207,335 'deliber':240 'depend':192 'design':140 'difficult':315 'do/know':90 'doesn':286 'easi':313 'embed':116 'en.wikipedia.org':17 'en.wikipedia.org/wiki/scratch_(programming_language)).':16 'esp32':163 'excel':149 'extra':78 'feel':230 'fiddl':331 'float':278,297 'frequenc':269 'full':94 'fun':211,340 'generat':219 'get':53 'good':46 'guess':20 'handl':276 'haven':328 'hope':336 'hundr':235 'interest':111 'involv':342 'kilobyt':237 'know':223,305 'knowledg':103 'learn':152 'least':182 'level':71 'lifetim':138 'like':26,37,64,119,161,174,231 'll':338 'lot':123 'low':70 'low-level':69 'm':109 'mayb':48 'memori':239 'microcontrol':156,221 'mix':100 'motiv':32,41,106 'nice':197,324 'number':280 'old':178 'overestim':30 'overpow':167 'peripher':198,247,325 'point':279,298 'possibl':254 'previous':218 'probabl':147 'program':7,214,346 'python':9 'ram':185 're':50,170 'readi':80 'real':24 'realli':203,330 'resourc':114 'resource-constrain':113 'ridicul':166 'risk':25 'robot':272 'room':93 'root':310 'scratch':15 'someon':84 'someth':173 'sound':36 'spark':55 'spoil':225 'squar':309 'stem':345 'stm':320 'studen':96 'student':33,61 'subject':150 'supervillain':233 'system':117 'teach':288 'teacher':42 'thing':47,249,292,316 'think':11 'thought':144 'timer':258 'trigonometri':266 'turtl':5 'two':186 'use':171,204,243 'variant':194 'want':88 'wast':234 'well':1,143 'well-thought-out':142 'wifi':200 'work':189 'wouldn':251"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://discuss.tchncs.de/comment/2715856"
  +editedAt: null
  +createdAt: DateTimeImmutable @1693999848 {#4366
    date: 2023-09-06 13:30:48.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
33 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
34 DENIED moderate
App\Entity\EntryComment {#4390
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Considering-positioning-strategies-for-autonomous-mechanum-wheeled-robots"
    +title: "Considering positioning strategies for autonomous mechanum-wheeled robots"
    +url: null
    +body: """
      Disclaimer: this is not *specifically* for a commercial product, but various things I design sometimes get commercialized. I mention this so that you may decide whether you want to weigh in. If it’s commercialized, I will probably make very little money but a bunch of university students may get a neat STEM program in the countryside :D\n
      \n
      That out of the way, I’ve designed some boards for a Wi-Fi controlled robot with mechanum wheels. So 4 independent motor drivers, one for each wheel, allow omnidirectional motion. It’s built around a Pi Pico W, 4 SOIC-8 9110S motor drivers, and some buck/boost converters to give the system a 5V and 12V line. It’s very basic, mostly made to be cheap. Here’s a photo:\n
      \n
      ![](https://voltage.vn/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)\n
      \n
      Right now it just receives UDP communications (a little app written in Godot) and activates the motors in different combinations – very “hello world”. I’m planning to add some autonomy to move around pre-generated maps, solve mazes, and so on.\n
      \n
      I have foolishly used 2-pin JST connectors for the motors, so using motors with rotary encoders would be a pain without ordering new boards. I’ll probably fix that in a later board revision or just hack it in. Also the routing is sloppy and there’s no ground plane. It works well enough for development and testing though :D\n
      \n
      What I’m thinking about right now, is how to let the robot position itself in a room effectively and cheaply. I was thinking of adding either a full LiDAR or building a limited LiDAR out of a servo motor and two cheap laser ToF sensors – e.g. one pointed forward, the other back, and I can sweep it 90 degrees. Since the LiDAR does not need to be fast or continuously sweep, I am leaning toward the latter approach.\n
      \n
      Then the processing is handled remotely – a server requests that the robot do a LiDAR sweep, the robot sends a minimal point cloud back to the server, which estimates the robot’s current location and sends back some instructions to move in a direction for some distance – probably this is where the lack of rotary encoders is going to hurt, but for now I’m planning on just pointing the forward laser ToF sensor towards a target and give the instruction “turn or move forward at static speed X until the sensor reads Y”, which should be pretty easy for the MCU To handle.\n
      \n
      I’m planning to control multiple robots from the same server. The robots don’t need to be super fast.\n
      \n
      What I’m currently wondering is whether my approach really needs rotary encoders in practice – I’ve heard that mechanum wheels have high enough mechanical slippage that they end up inaccurate, and designers often add another set of unpowered wheels for position tracking anyway. I don’t want to add more wheels in this way though.\n
      \n
      On the other hand, it would probably be easier to tell the MCU to “move forward X rotary encoder pulses at a velocity defined by Y pulses per second, and then check position and correct at a lower speed” than to use a pure LiDAR approach (e.g. even if rotary encoders don’t give me accurate position, on small time scales, they give me good feedback to control speed). I could possibly even send a fairly complex series of instructions in one go, making the communications efficient enough to eliminate a local server and control a ton of robots from a cloud VPS or whatever.\n
      \n
      Anyone have some experience with encoders + mechanum wheels that can offer a few tips my way? At this stage the project doesn’t have clear engineering goals and this is mostly an academic exercise. I’ve read that using a rigid chassis and minimizing the need for lateral motion can reduce slippage, reading through a few papers didn’t get me any numerical indication of what to expect.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 10
    +favouriteCount: 14
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1694071771 {#2410
      date: 2023-09-07 09:29:31.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 2057
    -titleTs: "'autonom':5 'consid':1 'mechanum':7 'mechanum-wheel':6 'posit':2 'robot':9 'strategi':3 'wheel':8"
    -bodyTs: "'-8':101 '/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)':133 '12v':116 '2':180 '4':80,99 '5v':114 '90':295 '9110s':102 'academ':633 'accur':551 'activ':148 'ad':262 'add':161,474,489 'allow':88 'also':216 'anoth':475 'anyon':601 'anyway':483 'app':143 'approach':315,448,541 'around':94,166 'autonomi':163 'back':289,339,352 'basic':121 'board':68,200,209 'buck/boost':107 'build':268 'built':93 'bunch':45 'chassi':642 'cheap':126,279 'cheapli':257 'check':527 'clear':625 'cloud':338,597 'combin':153 'commerci':8,17,35 'communic':140,581 'complex':572 'connector':183 'continu':307 'control':74,424,563,590 'convert':108 'correct':530 'could':566 'countrysid':57 'current':348,443 'd':58,236 'decid':25 'defin':519 'degre':296 'design':14,66,472 'develop':232 'didn':658 'differ':152 'direct':359 'disclaim':1 'distanc':362 'doesn':622 'driver':83,104 'e.g':283,542 'easi':414 'easier':504 'effect':255 'effici':582 'either':263 'elimin':585 'encod':192,371,452,514,546,606 'end':468 'engin':626 'enough':230,463,583 'estim':344 'even':543,568 'exercis':634 'expect':668 'experi':604 'fair':571 'fast':305,439 'feedback':561 'fi':73 'fix':204 'foolish':178 'forward':286,386,400,511 'full':265 'generat':169 'get':16,50,660 'give':110,394,549,558 'go':373,578 'goal':627 'godot':146 'good':560 'ground':225 'hack':213 'hand':499 'handl':320,419 'heard':457 'hello':155 'high':462 'hurt':375 'inaccur':470 'independ':81 'indic':664 'instruct':354,396,575 'jst':182 'lack':368 'laser':280,387 'later':208,648 'latter':314 'lean':311 'let':247 'lidar':266,271,299,330,540 'limit':270 'line':117 'littl':41,142 'll':202 'local':587 'locat':349 'lower':533 'm':158,239,380,421,442 'made':123 'make':39,579 'map':170 'may':24,49 'maze':172 'mcu':417,508 'mechan':464 'mechanum':77,459,607 'mention':19 'minim':336,644 'money':42 'most':122,631 'motion':90,649 'motor':82,103,150,186,189,276 'move':165,356,399,510 'multipl':425 'neat':52 'need':302,435,450,646 'new':199 'numer':663 'offer':611 'often':473 'omnidirect':89 'one':84,284,577 'order':198 'pain':196 'paper':657 'per':523 'photo':130 'pi':96 'pico':97 'pin':181 'plan':159,381,422 'plane':226 'point':285,337,384 'posit':250,481,528,552 'possibl':567 'practic':454 'pre':168 'pre-gener':167 'pretti':413 'probabl':38,203,363,502 'process':318 'product':9 'program':54 'project':621 'puls':515,522 'pure':539 'read':408,637,653 'realli':449 'receiv':138 'reduc':651 'remot':321 'request':324 'revis':210 'right':134,242 'rigid':641 'robot':75,249,327,333,346,426,432,594 'room':254 'rotari':191,370,451,513,545 'rout':218 'scale':556 'second':524 'send':334,351,569 'sensor':282,389,407 'seri':573 'server':323,342,430,588 'servo':275 'set':476 'sinc':297 'slippag':465,652 'sloppi':220 'small':554 'soic':100 'solv':171 'sometim':15 'specif':5 'speed':403,534,564 'stage':619 'static':402 'stem':53 'student':48 'super':438 'sweep':293,308,331 'system':112 'target':392 'tell':506 'test':234 'thing':12 'think':240,260 'though':235,495 'time':555 'tip':614 'tof':281,388 'ton':592 'toward':312,390 'track':482 'turn':397 'two':278 'udp':139 'univers':47 'unpow':478 'use':179,188,537,639 'various':11 've':65,456,636 'veloc':518 'voltage.vn':132 'voltage.vn/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)':131 'vps':598 'w':98 'want':28,487 'way':63,494,616 'weigh':30 'well':229 'whatev':600 'wheel':78,87,460,479,491,608 'whether':26,446 'wi':72 'wi-fi':71 'without':197 'wonder':444 'work':228 'world':156 'would':193,501 'written':144 'x':404,512 'y':409,521"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1693616717
    +visibility: "visible             "
    +apId: "https://voltage.vn/post/18974"
    +editedAt: DateTimeImmutable @1693550651 {#1850
      date: 2023-09-01 08:44:11.0 +02:00
    }
    +createdAt: DateTimeImmutable @1693550217 {#2420
      date: 2023-09-01 08:36:57.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4368
    +user: App\Entity\User {#4084 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4346
      +user: Proxies\__CG__\App\Entity\User {#1970 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4315
        +user: App\Entity\User {#4084 …}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4280
          +user: Proxies\__CG__\App\Entity\User {#1970 …}
          +entry: App\Entity\Entry {#2412}
          +magazine: App\Entity\Magazine {#266}
          +image: null
          +parent: App\Entity\EntryComment {#4101
            +user: App\Entity\User {#4084 …}
            +entry: App\Entity\Entry {#2412}
            +magazine: App\Entity\Magazine {#266}
            +image: null
            +parent: null
            +root: null
            +body: """
              I think mecanum wheels slip quite a bit. So I’m not sure how effective those encoders are. But I’ve only ever tried 3d-printed ones. So I’m not super sure.\n
              \n
              You’re sure your STEM students are ready to handle the LiDAR? Manage point clouds, do the arithmetic, path planning etc? We had a practical course with little robots. But they had 3 of those sharp distance sensors at the front and a bumper with a switch. This was enough to teach many concepts and also enough to implement for the students for something that was just a project and not a full time job. But I’m sure that depends on what exactly you want to teach…\n
              \n
              And our robots hat the motor drivers (h-bridges) replaceable on socket terminals because every so often someone wasn’t very clever or didn’t listen in the lectures.
              """
            +lang: "en"
            +isAdult: false
            +favouriteCount: 0
            +score: 0
            +lastActive: DateTime @1694071778 {#4102
              date: 2023-09-07 09:29:38.0 +02:00
            }
            +ip: null
            +tags: null
            +mentions: [
              "@Saigonauticon@voltage.vn"
            ]
            +children: Doctrine\ORM\PersistentCollection {#4099 …}
            +nested: Doctrine\ORM\PersistentCollection {#4097 …}
            +votes: Doctrine\ORM\PersistentCollection {#4095 …}
            +reports: Doctrine\ORM\PersistentCollection {#4092 …}
            +favourites: Doctrine\ORM\PersistentCollection {#4088 …}
            +notifications: Doctrine\ORM\PersistentCollection {#4086 …}
            -id: 27597
            -bodyTs: "'3':67 '3d':26 '3d-printed':25 'also':90 'arithmet':52 'bit':8 'bridg':132 'bumper':78 'clever':145 'cloud':49 'concept':88 'cours':60 'depend':115 'didn':147 'distanc':71 'driver':129 'effect':15 'encod':17 'enough':84,91 'etc':55 'ever':23 'everi':138 'exact':118 'front':75 'full':107 'h':131 'h-bridg':130 'handl':44 'hat':126 'implement':93 'job':109 'lectur':152 'lidar':46 'listen':149 'littl':62 'm':11,31,112 'manag':47 'mani':87 'mecanum':3 'motor':128 'often':140 'one':28 'path':53 'plan':54 'point':48 'practic':59 'print':27 'project':103 'quit':6 're':36 'readi':42 'replac':133 'robot':63,125 'sensor':72 'sharp':70 'slip':5 'socket':135 'someon':141 'someth':98 'stem':39 'student':40,96 'super':33 'sure':13,34,37,113 'switch':81 'teach':86,122 'termin':136 'think':2 'time':108 'tri':24 've':21 'want':120 'wasn':142 'wheel':4"
            +ranking: 0
            +commentCount: 0
            +upVotes: 0
            +downVotes: 0
            +visibility: "visible             "
            +apId: "https://discuss.tchncs.de/comment/2572674"
            +editedAt: DateTimeImmutable @1693564680 {#4107
              date: 2023-09-01 12:38:00.0 +02:00
            }
            +createdAt: DateTimeImmutable @1693564547 {#4105
              date: 2023-09-01 12:35:47.0 +02:00
            }
          }
          +root: App\Entity\EntryComment {#4101}
          +body: """
            They’re university software engineering students, probably a year or two into their degrees. I’m hoping to provide the robots as completed units that are controlled via API, because we’re not likely to get many students with electrical, mechanical, or embedded backgrounds. You’re right about the complexity though, and that’s something I’ve been thinking about – I guess I’ll start out with a bit of optimism regarding their talents, and scale back if needed :D\n
            \n
            I don’t really have a scope, budget, timeline, or audience properly defined for this project – in short my client has a STEM program for building and interacting with digital maps, but it’s *way too boring* and I’m determined to breathe some life into it. So I’m going to have to play a lot of things by ear.
            """
          +lang: "en"
          +isAdult: false
          +favouriteCount: 0
          +score: 0
          +lastActive: DateTime @1693906684 {#4278
            date: 2023-09-05 11:38:04.0 +02:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@Saigonauticon@voltage.vn"
            "@rufus@discuss.tchncs.de"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4281 …}
          +nested: Doctrine\ORM\PersistentCollection {#4283 …}
          +votes: Doctrine\ORM\PersistentCollection {#4285 …}
          +reports: Doctrine\ORM\PersistentCollection {#4287 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4289 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4291 …}
          -id: 28063
          -bodyTs: "'api':29 'audienc':91 'back':77 'background':44 'bit':69 'bore':117 'breath':123 'budget':88 'build':106 'client':100 'complet':23 'complex':50 'control':27 'd':80 'defin':93 'degre':14 'determin':121 'digit':110 'ear':141 'electr':40 'embed':43 'engin':5 'get':36 'go':131 'guess':62 'hope':17 'interact':108 'life':125 'like':34 'll':64 'lot':137 'm':16,120,130 'mani':37 'map':111 'mechan':41 'need':79 'optim':71 'play':135 'probabl':7 'program':104 'project':96 'proper':92 'provid':19 're':2,32,46 'realli':84 'regard':72 'right':47 'robot':21 'scale':76 'scope':87 'short':98 'softwar':4 'someth':55 'start':65 'stem':103 'student':6,38 'talent':74 'thing':139 'think':59 'though':51 'timelin':89 'two':11 'unit':24 'univers':3 've':57 'via':28 'way':115 'year':9"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://voltage.vn/comment/212522"
          +editedAt: null
          +createdAt: DateTimeImmutable @1693906684 {#4279
            date: 2023-09-05 11:38:04.0 +02:00
          }
        }
        +root: App\Entity\EntryComment {#4101}
        +body: """
          Well, kids / young people / students will surprise you anyways. No matter what you planned ahead. I think teaching this way just requires you to stay flexible and try things with the students and see what works. University students will benefit from a little challenge, but it shouldn’t be impossible and get them frustrated. I’ve never taught myself, but I bet it’s difficult to hit that balance.\n
          \n
          Programming little robots is awesome, though. I think it’s on a whole other level to see robots move and do tasks, than to look at your screen and program something that changes a few pixels there. My university course was more related to embedded devices and closer to the electronics. It teaches you valuable lessons when forced to interact with some electronics, real-world physics, constrained resources and you need to get your maths right. Usually students are concerned with something like Java, learning object-oriented programming or handling some big frameworks. Or learning maths. And robotics teaches you to really pay attention, combine different skill-sets and do things without an easy route available.\n
          \n
          Maybe it’s just me who likes electronics too much. But I’m sure the kind of motivation you get by watching a real robot move and it runs your code, is unique. And kind of universal. You can do this in pre-school or in university to spark their imagination and motivation.\n
          \n
          Your task is a bit different. If you’re teaching something like simultaneous localization and mapping and the students also have to deal with all the robotics, sensors and real-word problems, this might be more of an ordeal for them than fun. Even dealing with noisy sensor values is a hassle until you get to grasp the bigger picture.\n
          \n
          If you’re giving them access to an API, you can choose and adjust what kind of abstraction you’re providing them. Give them something high-level or have them do more work. You could prepare most of the implementation and adjust the level of detail while teaching. Maybe skip something and give them working code via your API so they can focus on the problem they’re actually supposed to learn. You can also do it the other way round. Let them start with all low level stuff handled for them and learn the big concepts. Then let them dig down and see what your API functions have abstracted away until then. This way around you won’t run out of time.\n
          \n
          I’m sure including actual robotics is going to get them more motivated in contrast to running a simulation.
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 0
        +score: 0
        +lastActive: DateTime @1693914344 {#4319
          date: 2023-09-05 13:45:44.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@Saigonauticon@voltage.vn"
          "@rufus@discuss.tchncs.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4312 …}
        +nested: Doctrine\ORM\PersistentCollection {#4310 …}
        +votes: Doctrine\ORM\PersistentCollection {#4314 …}
        +reports: Doctrine\ORM\PersistentCollection {#4325 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4327 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4329 …}
        -id: 28065
        -bodyTs: "'abstract':321,414 'access':309 'actual':373,432 'adjust':317,346 'ahead':15 'also':262,379 'anyway':9 'api':312,363,411 'around':420 'attent':175 'avail':188 'away':415 'awesom':74 'balanc':69 'benefit':40 'bet':62 'big':163,400 'bigger':302 'bit':247 'challeng':44 'chang':102 'choos':315 'closer':117 'code':219,360 'combin':176 'concept':401 'concern':150 'constrain':137 'contrast':442 'could':339 'cours':109 'deal':265,288 'detail':350 'devic':115 'differ':177,248 'difficult':65 'dig':405 'easi':186 'electron':120,132,196 'embed':114 'even':287 'flexibl':26 'focus':367 'forc':127 'framework':164 'frustrat':54 'fun':286 'function':412 'get':52,143,208,298,437 'give':307,326,357 'go':435 'grasp':300 'handl':161,394 'hassl':295 'high':330 'high-level':329 'hit':67 'imagin':240 'implement':344 'imposs':50 'includ':431 'interact':129 'java':154 'kid':2 'kind':204,223,319 'learn':155,166,376,398 'lesson':125 'let':386,403 'level':84,331,348,392 'like':153,195,254 'littl':43,71 'local':256 'look':94 'low':391 'm':201,429 'map':258 'math':145,167 'matter':11 'mayb':189,353 'might':277 'motiv':206,242,440 'move':88,214 'much':198 'need':141 'never':57 'noisi':290 'object':157 'object-ori':156 'ordeal':282 'orient':158 'pay':174 'peopl':4 'physic':136 'pictur':303 'pixel':105 'plan':14 'pre':232 'pre-school':231 'prepar':340 'problem':275,370 'program':70,99,159 'provid':324 're':251,306,323,372 'real':134,212,273 'real-word':272 'real-world':133 'realli':173 'relat':112 'requir':22 'resourc':138 'right':146 'robot':72,87,169,213,269,433 'round':385 'rout':187 'run':217,424,444 'school':233 'screen':97 'see':34,86,408 'sensor':270,291 'set':180 'shouldn':47 'simul':446 'simultan':255 'skill':179 'skill-set':178 'skip':354 'someth':100,152,253,328,355 'spark':238 'start':388 'stay':25 'student':5,32,38,148,261 'stuff':393 'suppos':374 'sure':202,430 'surpris':7 'task':91,244 'taught':58 'teach':18,122,170,252,352 'thing':29,183 'think':17,77 'though':75 'time':427 'tri':28 'uniqu':221 'univers':37,108,225,236 'usual':147 'valu':292 'valuabl':124 've':56 'via':361 'watch':210 'way':20,384,419 'well':1 'whole':82 'without':184 'won':422 'word':274 'work':36,337,359 'world':135 'young':3"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://discuss.tchncs.de/comment/2687935"
        +editedAt: DateTimeImmutable @1693914611 {#4322
          date: 2023-09-05 13:50:11.0 +02:00
        }
        +createdAt: DateTimeImmutable @1693914344 {#4318
          date: 2023-09-05 13:45:44.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4101}
      +body: """
        Haha, I know exactly what you mean – I’m most interested in resource-constrained embedded systems. I like the attiny10 a lot. At work I mostly write Python, but in my own time it’s mostly assembly language. It feels more concrete, every decision matters, and anything that goes wrong is 100% your fault as there are relatively few bugs at that level. It’s a lot of fun. Also the datasheet is very good.\n
        \n
        I’m self-taught with all the electronics stuff, I paid for it by teaching a course on whatever thing I did most recently. Then I’d use the proceeds to buy tools and parts for the next big (often dumb) idea. I’d also ask for the software engineering assignments from colleagues in those programs, and complete them in my spare time. It was puzzling to a few people why I would *want to do assignments*, and indeed some were very boring (oh god Java + Spring framework) but others were quite interesting (formal study of algorithms). Sadly, economic reality kicked in and I had to run a company instead of pursuing my education further (I still try to do one ridiculous engineering thing per year though).\n
        \n
        I guess there’s a real risk (…like 100%) that I overestimate the motivation students have – so I think I’m going to take your advice and set the level of abstraction with something API-like to abstract away the low-level components (this is closer to my client’s domain). I’m imagining a robot that acts as a WiFi access point, and having something “like an API” that works over UDP packets that describe high-level functions. Then start with something simple – like a digital map with known starting location, and a small obstacle course that can be completed with simple distance measurement, no point clouds. If that goes well, I can develop towards more complex material – probably not full SLAM, but maybe localization on a pre-mapped surface. I have plenty of my own code as examples of how to do simple UDP communications in Python, I could expand it into a custom library.\n
        \n
        Sort of like Logo from 1983, but with a physical robot and sensors. I’m a little to young to have used Logo, but the computer lab in my school was really outdated so I got to try it once :D
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1693974973 {#4341
        date: 2023-09-06 06:36:13.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@Saigonauticon@voltage.vn"
        "@rufus@discuss.tchncs.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4338 …}
      +nested: Doctrine\ORM\PersistentCollection {#4335 …}
      +votes: Doctrine\ORM\PersistentCollection {#4333 …}
      +reports: Doctrine\ORM\PersistentCollection {#4347 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4349 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4351 …}
      -id: 28109
      -bodyTs: "'100':53,213 '1983':371 'abstract':236,243 'access':268 'act':264 'advic':230 'algorithm':174 'also':71,122 'anyth':48 'api':240,275 'api-lik':239 'ask':123 'assembl':38 'assign':128,154 'attiny10':21 'away':244 'big':116 'bore':160 'bug':61 'buy':109 'client':255 'closer':252 'cloud':315 'code':346 'colleagu':130 'communic':355 'compani':186 'complet':135,308 'complex':325 'compon':249 'comput':391 'concret':43 'constrain':15 'could':359 'cours':94,304 'custom':364 'd':104,121,406 'datasheet':73 'decis':45 'describ':282 'develop':322 'digit':294 'distanc':311 'domain':257 'dumb':118 'econom':176 'educ':191 'electron':85 'embed':16 'engin':127,200 'everi':44 'exact':4 'exampl':348 'expand':360 'fault':55 'feel':41 'formal':171 'framework':165 'full':329 'fun':70 'function':286 'go':226 'god':162 'goe':50,318 'good':76 'got':401 'guess':206 'haha':1 'high':284 'high-level':283 'idea':119 'imagin':260 'inde':156 'instead':187 'interest':11,170 'java':163 'kick':178 'know':3 'known':297 'lab':392 'languag':39 'level':64,234,248,285 'librari':365 'like':19,212,241,273,292,368 'littl':382 'local':333 'locat':299 'logo':369,388 'lot':23,68 'low':247 'low-level':246 'm':9,78,225,259,380 'map':295,338 'materi':326 'matter':46 'mayb':332 'mean':7 'measur':312 'most':27,37 'motiv':218 'next':115 'obstacl':303 'often':117 'oh':161 'one':198 'other':167 'outdat':398 'overestim':216 'packet':280 'paid':88 'part':112 'peopl':147 'per':202 'physic':375 'plenti':342 'point':269,314 'pre':337 'pre-map':336 'probabl':327 'proceed':107 'program':133 'pursu':189 'puzzl':143 'python':29,357 'quit':169 'real':210 'realiti':177 'realli':397 'recent':101 'relat':59 'resourc':14 'resource-constrain':13 'ridicul':199 'risk':211 'robot':262,376 'run':184 'sad':175 'school':395 'self':80 'self-taught':79 'sensor':378 'set':232 'simpl':291,310,353 'slam':330 'small':302 'softwar':126 'someth':238,272,290 'sort':366 'spare':139 'spring':164 'start':288,298 'still':194 'student':219 'studi':172 'stuff':86 'surfac':339 'system':17 'take':228 'taught':81 'teach':92 'thing':97,201 'think':223 'though':204 'time':34,140 'tool':110 'toward':323 'tri':195,403 'udp':279,354 'use':105,387 'want':151 'well':319 'whatev':96 'wifi':267 'work':25,277 'would':150 'write':28 'wrong':51 'year':203 'young':384"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://voltage.vn/comment/213919"
      +editedAt: null
      +createdAt: DateTimeImmutable @1693974973 {#4344
        date: 2023-09-06 06:36:13.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4101}
    +body: """
      Well, there’s also turtles to program in Python (i think) and there is [Scratch](https://en.wikipedia.org/wiki/Scratch_(programming_language)).\n
      \n
      > I guess there’s a real risk (…like 100%) that I overestimate the motivation students have\n
      \n
      Definitely sounds like it. But a motivated teacher is a very good thing. Maybe you’re able to get that spark across to some of the students.\n
      \n
      > API-like to abstract away the low-level components\n
      \n
      You can always have some extra assignments ready, just in case someone is curious and wants to do/know more. A room full of studens will have a mixed amount of knowledge, abilities and motivation anyways.\n
      \n
      > I’m most interested in resource-constrained embedded systems. I like the attiny10 a lot.\n
      \n
      I also ate a few books and datasheets on the Atmel chips in my lifetime. Their design is well-thought-out and probably an excellent subject to learn the concepts about microcontrollers.\n
      \n
      As of now I like the ESP32. It is ridiculously overpowered if you’re used to something like the ATtinies or old ATmegas. With (at least) 520kB of RAM, two cores that work at 240MHz (depending on variant) and very nice peripherals. Also WiFi connectivity is really useful. But it definitely adds to the fun if you programmed the more constrained (previous generation of) microcontrollers and know how spoiled you are and can feel like a supervillain wasting hundreds of kilobytes of memory deliberately. Or (ab)use some of the peripherals for things that wouldn’t be possible with the few timers available on the Atmel chips. Or do trigonometry at crazy frequencies for your robots, because you can handle 32bit floating point numbers. But I’d agree, that doesn’t teach you the same things if you can do floating point arithmetics for cheap and don’t know if calculating a square root is an easy or difficult thing to do. The STM chips also have nice peripherals. But I haven’t really fiddled around with those.\n
      \n
      Definitely hope you’ll have fun being involved in that STEM program.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1693999848 {#4363
      date: 2023-09-06 13:30:48.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Saigonauticon@voltage.vn"
      "@rufus@discuss.tchncs.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4360 …}
    +nested: Doctrine\ORM\PersistentCollection {#4357 …}
    +votes: Doctrine\ORM\PersistentCollection {#4355 …}
    +reports: Doctrine\ORM\PersistentCollection {#4369 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4371 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4373 …}
    -id: 28122
    -bodyTs: "'/wiki/scratch_(programming_language)).':18 '100':27 '240mhz':191 '32bit':277 '520kb':183 'ab':242 'abil':104 'abl':51 'abstract':66 'across':56 'add':208 'agre':284 'also':4,125,199,322 'alway':75 'amount':101 'anyway':107 'api':63 'api-lik':62 'arithmet':299 'around':332 'assign':79 'ate':126 'atmega':179 'atmel':134,262 'attini':176 'attiny10':121 'avail':259 'away':67 'book':129 'calcul':307 'case':83 'cheap':301 'chip':135,263,321 'compon':72 'concept':154 'connect':201 'constrain':115,217 'core':187 'crazi':268 'curious':86 'd':283 'datasheet':131 'definit':35,207,335 'deliber':240 'depend':192 'design':140 'difficult':315 'do/know':90 'doesn':286 'easi':313 'embed':116 'en.wikipedia.org':17 'en.wikipedia.org/wiki/scratch_(programming_language)).':16 'esp32':163 'excel':149 'extra':78 'feel':230 'fiddl':331 'float':278,297 'frequenc':269 'full':94 'fun':211,340 'generat':219 'get':53 'good':46 'guess':20 'handl':276 'haven':328 'hope':336 'hundr':235 'interest':111 'involv':342 'kilobyt':237 'know':223,305 'knowledg':103 'learn':152 'least':182 'level':71 'lifetim':138 'like':26,37,64,119,161,174,231 'll':338 'lot':123 'low':70 'low-level':69 'm':109 'mayb':48 'memori':239 'microcontrol':156,221 'mix':100 'motiv':32,41,106 'nice':197,324 'number':280 'old':178 'overestim':30 'overpow':167 'peripher':198,247,325 'point':279,298 'possibl':254 'previous':218 'probabl':147 'program':7,214,346 'python':9 'ram':185 're':50,170 'readi':80 'real':24 'realli':203,330 'resourc':114 'resource-constrain':113 'ridicul':166 'risk':25 'robot':272 'room':93 'root':310 'scratch':15 'someon':84 'someth':173 'sound':36 'spark':55 'spoil':225 'squar':309 'stem':345 'stm':320 'studen':96 'student':33,61 'subject':150 'supervillain':233 'system':117 'teach':288 'teacher':42 'thing':47,249,292,316 'think':11 'thought':144 'timer':258 'trigonometri':266 'turtl':5 'two':186 'use':171,204,243 'variant':194 'want':88 'wast':234 'well':1,143 'well-thought-out':142 'wifi':200 'work':189 'wouldn':251"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/comment/2715856"
    +editedAt: null
    +createdAt: DateTimeImmutable @1693999848 {#4366
      date: 2023-09-06 13:30:48.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4101}
  +body: """
    Good advice all around! Thanks!\n
    \n
    I’ve also messed around with the ESP8266 and various models of ESP32. Their WiFi time-of-flight stuff is *interesting*. I’ve quite a few projects with both actually! My main complaint is that the GPIO don’t behave nicely (also the esp8266 is a power hog and reboots if you screw up the network stack). They are much slower than I’d expect, and have weird states on boot. It’s not too bad to work around this stuff, but I chose the Pi Pico W so as not to have to explain it.\n
    \n
    It still blows me away that I can easily do public-private key encryption on the ESP32. And graphics. At the same time!
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1694071771 {#4385
    date: 2023-09-07 09:29:31.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Saigonauticon@voltage.vn"
    "@rufus@discuss.tchncs.de"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4382 …}
  +nested: Doctrine\ORM\PersistentCollection {#4379 …}
  +votes: Doctrine\ORM\PersistentCollection {#4377 …}
  +reports: Doctrine\ORM\PersistentCollection {#4391 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4393 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4395 …}
  -id: 28234
  -bodyTs: "'actual':36 'advic':2 'also':8,48 'around':4,10,85 'away':107 'bad':82 'behav':46 'blow':105 'boot':77 'chose':90 'complaint':39 'd':70 'easili':111 'encrypt':117 'esp32':18,120 'esp8266':13,50 'expect':71 'explain':101 'flight':24 'good':1 'gpio':43 'graphic':122 'hog':54 'interest':27 'key':116 'main':38 'mess':9 'model':16 'much':66 'network':62 'nice':47 'pi':92 'pico':93 'power':53 'privat':115 'project':33 'public':114 'public-priv':113 'quit':30 'reboot':56 'screw':59 'slower':67 'stack':63 'state':75 'still':104 'stuff':25,87 'thank':5 'time':22,126 'time-of-flight':21 'various':15 've':7,29 'w':94 'weird':74 'wifi':20 'work':84"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://voltage.vn/comment/216358"
  +editedAt: null
  +createdAt: DateTimeImmutable @1694071771 {#4388
    date: 2023-09-07 09:29:31.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
35 DENIED edit
App\Entity\EntryComment {#4390
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Considering-positioning-strategies-for-autonomous-mechanum-wheeled-robots"
    +title: "Considering positioning strategies for autonomous mechanum-wheeled robots"
    +url: null
    +body: """
      Disclaimer: this is not *specifically* for a commercial product, but various things I design sometimes get commercialized. I mention this so that you may decide whether you want to weigh in. If it’s commercialized, I will probably make very little money but a bunch of university students may get a neat STEM program in the countryside :D\n
      \n
      That out of the way, I’ve designed some boards for a Wi-Fi controlled robot with mechanum wheels. So 4 independent motor drivers, one for each wheel, allow omnidirectional motion. It’s built around a Pi Pico W, 4 SOIC-8 9110S motor drivers, and some buck/boost converters to give the system a 5V and 12V line. It’s very basic, mostly made to be cheap. Here’s a photo:\n
      \n
      ![](https://voltage.vn/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)\n
      \n
      Right now it just receives UDP communications (a little app written in Godot) and activates the motors in different combinations – very “hello world”. I’m planning to add some autonomy to move around pre-generated maps, solve mazes, and so on.\n
      \n
      I have foolishly used 2-pin JST connectors for the motors, so using motors with rotary encoders would be a pain without ordering new boards. I’ll probably fix that in a later board revision or just hack it in. Also the routing is sloppy and there’s no ground plane. It works well enough for development and testing though :D\n
      \n
      What I’m thinking about right now, is how to let the robot position itself in a room effectively and cheaply. I was thinking of adding either a full LiDAR or building a limited LiDAR out of a servo motor and two cheap laser ToF sensors – e.g. one pointed forward, the other back, and I can sweep it 90 degrees. Since the LiDAR does not need to be fast or continuously sweep, I am leaning toward the latter approach.\n
      \n
      Then the processing is handled remotely – a server requests that the robot do a LiDAR sweep, the robot sends a minimal point cloud back to the server, which estimates the robot’s current location and sends back some instructions to move in a direction for some distance – probably this is where the lack of rotary encoders is going to hurt, but for now I’m planning on just pointing the forward laser ToF sensor towards a target and give the instruction “turn or move forward at static speed X until the sensor reads Y”, which should be pretty easy for the MCU To handle.\n
      \n
      I’m planning to control multiple robots from the same server. The robots don’t need to be super fast.\n
      \n
      What I’m currently wondering is whether my approach really needs rotary encoders in practice – I’ve heard that mechanum wheels have high enough mechanical slippage that they end up inaccurate, and designers often add another set of unpowered wheels for position tracking anyway. I don’t want to add more wheels in this way though.\n
      \n
      On the other hand, it would probably be easier to tell the MCU to “move forward X rotary encoder pulses at a velocity defined by Y pulses per second, and then check position and correct at a lower speed” than to use a pure LiDAR approach (e.g. even if rotary encoders don’t give me accurate position, on small time scales, they give me good feedback to control speed). I could possibly even send a fairly complex series of instructions in one go, making the communications efficient enough to eliminate a local server and control a ton of robots from a cloud VPS or whatever.\n
      \n
      Anyone have some experience with encoders + mechanum wheels that can offer a few tips my way? At this stage the project doesn’t have clear engineering goals and this is mostly an academic exercise. I’ve read that using a rigid chassis and minimizing the need for lateral motion can reduce slippage, reading through a few papers didn’t get me any numerical indication of what to expect.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 10
    +favouriteCount: 14
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1694071771 {#2410
      date: 2023-09-07 09:29:31.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 2057
    -titleTs: "'autonom':5 'consid':1 'mechanum':7 'mechanum-wheel':6 'posit':2 'robot':9 'strategi':3 'wheel':8"
    -bodyTs: "'-8':101 '/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)':133 '12v':116 '2':180 '4':80,99 '5v':114 '90':295 '9110s':102 'academ':633 'accur':551 'activ':148 'ad':262 'add':161,474,489 'allow':88 'also':216 'anoth':475 'anyon':601 'anyway':483 'app':143 'approach':315,448,541 'around':94,166 'autonomi':163 'back':289,339,352 'basic':121 'board':68,200,209 'buck/boost':107 'build':268 'built':93 'bunch':45 'chassi':642 'cheap':126,279 'cheapli':257 'check':527 'clear':625 'cloud':338,597 'combin':153 'commerci':8,17,35 'communic':140,581 'complex':572 'connector':183 'continu':307 'control':74,424,563,590 'convert':108 'correct':530 'could':566 'countrysid':57 'current':348,443 'd':58,236 'decid':25 'defin':519 'degre':296 'design':14,66,472 'develop':232 'didn':658 'differ':152 'direct':359 'disclaim':1 'distanc':362 'doesn':622 'driver':83,104 'e.g':283,542 'easi':414 'easier':504 'effect':255 'effici':582 'either':263 'elimin':585 'encod':192,371,452,514,546,606 'end':468 'engin':626 'enough':230,463,583 'estim':344 'even':543,568 'exercis':634 'expect':668 'experi':604 'fair':571 'fast':305,439 'feedback':561 'fi':73 'fix':204 'foolish':178 'forward':286,386,400,511 'full':265 'generat':169 'get':16,50,660 'give':110,394,549,558 'go':373,578 'goal':627 'godot':146 'good':560 'ground':225 'hack':213 'hand':499 'handl':320,419 'heard':457 'hello':155 'high':462 'hurt':375 'inaccur':470 'independ':81 'indic':664 'instruct':354,396,575 'jst':182 'lack':368 'laser':280,387 'later':208,648 'latter':314 'lean':311 'let':247 'lidar':266,271,299,330,540 'limit':270 'line':117 'littl':41,142 'll':202 'local':587 'locat':349 'lower':533 'm':158,239,380,421,442 'made':123 'make':39,579 'map':170 'may':24,49 'maze':172 'mcu':417,508 'mechan':464 'mechanum':77,459,607 'mention':19 'minim':336,644 'money':42 'most':122,631 'motion':90,649 'motor':82,103,150,186,189,276 'move':165,356,399,510 'multipl':425 'neat':52 'need':302,435,450,646 'new':199 'numer':663 'offer':611 'often':473 'omnidirect':89 'one':84,284,577 'order':198 'pain':196 'paper':657 'per':523 'photo':130 'pi':96 'pico':97 'pin':181 'plan':159,381,422 'plane':226 'point':285,337,384 'posit':250,481,528,552 'possibl':567 'practic':454 'pre':168 'pre-gener':167 'pretti':413 'probabl':38,203,363,502 'process':318 'product':9 'program':54 'project':621 'puls':515,522 'pure':539 'read':408,637,653 'realli':449 'receiv':138 'reduc':651 'remot':321 'request':324 'revis':210 'right':134,242 'rigid':641 'robot':75,249,327,333,346,426,432,594 'room':254 'rotari':191,370,451,513,545 'rout':218 'scale':556 'second':524 'send':334,351,569 'sensor':282,389,407 'seri':573 'server':323,342,430,588 'servo':275 'set':476 'sinc':297 'slippag':465,652 'sloppi':220 'small':554 'soic':100 'solv':171 'sometim':15 'specif':5 'speed':403,534,564 'stage':619 'static':402 'stem':53 'student':48 'super':438 'sweep':293,308,331 'system':112 'target':392 'tell':506 'test':234 'thing':12 'think':240,260 'though':235,495 'time':555 'tip':614 'tof':281,388 'ton':592 'toward':312,390 'track':482 'turn':397 'two':278 'udp':139 'univers':47 'unpow':478 'use':179,188,537,639 'various':11 've':65,456,636 'veloc':518 'voltage.vn':132 'voltage.vn/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)':131 'vps':598 'w':98 'want':28,487 'way':63,494,616 'weigh':30 'well':229 'whatev':600 'wheel':78,87,460,479,491,608 'whether':26,446 'wi':72 'wi-fi':71 'without':197 'wonder':444 'work':228 'world':156 'would':193,501 'written':144 'x':404,512 'y':409,521"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1693616717
    +visibility: "visible             "
    +apId: "https://voltage.vn/post/18974"
    +editedAt: DateTimeImmutable @1693550651 {#1850
      date: 2023-09-01 08:44:11.0 +02:00
    }
    +createdAt: DateTimeImmutable @1693550217 {#2420
      date: 2023-09-01 08:36:57.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4368
    +user: App\Entity\User {#4084 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4346
      +user: Proxies\__CG__\App\Entity\User {#1970 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4315
        +user: App\Entity\User {#4084 …}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4280
          +user: Proxies\__CG__\App\Entity\User {#1970 …}
          +entry: App\Entity\Entry {#2412}
          +magazine: App\Entity\Magazine {#266}
          +image: null
          +parent: App\Entity\EntryComment {#4101
            +user: App\Entity\User {#4084 …}
            +entry: App\Entity\Entry {#2412}
            +magazine: App\Entity\Magazine {#266}
            +image: null
            +parent: null
            +root: null
            +body: """
              I think mecanum wheels slip quite a bit. So I’m not sure how effective those encoders are. But I’ve only ever tried 3d-printed ones. So I’m not super sure.\n
              \n
              You’re sure your STEM students are ready to handle the LiDAR? Manage point clouds, do the arithmetic, path planning etc? We had a practical course with little robots. But they had 3 of those sharp distance sensors at the front and a bumper with a switch. This was enough to teach many concepts and also enough to implement for the students for something that was just a project and not a full time job. But I’m sure that depends on what exactly you want to teach…\n
              \n
              And our robots hat the motor drivers (h-bridges) replaceable on socket terminals because every so often someone wasn’t very clever or didn’t listen in the lectures.
              """
            +lang: "en"
            +isAdult: false
            +favouriteCount: 0
            +score: 0
            +lastActive: DateTime @1694071778 {#4102
              date: 2023-09-07 09:29:38.0 +02:00
            }
            +ip: null
            +tags: null
            +mentions: [
              "@Saigonauticon@voltage.vn"
            ]
            +children: Doctrine\ORM\PersistentCollection {#4099 …}
            +nested: Doctrine\ORM\PersistentCollection {#4097 …}
            +votes: Doctrine\ORM\PersistentCollection {#4095 …}
            +reports: Doctrine\ORM\PersistentCollection {#4092 …}
            +favourites: Doctrine\ORM\PersistentCollection {#4088 …}
            +notifications: Doctrine\ORM\PersistentCollection {#4086 …}
            -id: 27597
            -bodyTs: "'3':67 '3d':26 '3d-printed':25 'also':90 'arithmet':52 'bit':8 'bridg':132 'bumper':78 'clever':145 'cloud':49 'concept':88 'cours':60 'depend':115 'didn':147 'distanc':71 'driver':129 'effect':15 'encod':17 'enough':84,91 'etc':55 'ever':23 'everi':138 'exact':118 'front':75 'full':107 'h':131 'h-bridg':130 'handl':44 'hat':126 'implement':93 'job':109 'lectur':152 'lidar':46 'listen':149 'littl':62 'm':11,31,112 'manag':47 'mani':87 'mecanum':3 'motor':128 'often':140 'one':28 'path':53 'plan':54 'point':48 'practic':59 'print':27 'project':103 'quit':6 're':36 'readi':42 'replac':133 'robot':63,125 'sensor':72 'sharp':70 'slip':5 'socket':135 'someon':141 'someth':98 'stem':39 'student':40,96 'super':33 'sure':13,34,37,113 'switch':81 'teach':86,122 'termin':136 'think':2 'time':108 'tri':24 've':21 'want':120 'wasn':142 'wheel':4"
            +ranking: 0
            +commentCount: 0
            +upVotes: 0
            +downVotes: 0
            +visibility: "visible             "
            +apId: "https://discuss.tchncs.de/comment/2572674"
            +editedAt: DateTimeImmutable @1693564680 {#4107
              date: 2023-09-01 12:38:00.0 +02:00
            }
            +createdAt: DateTimeImmutable @1693564547 {#4105
              date: 2023-09-01 12:35:47.0 +02:00
            }
          }
          +root: App\Entity\EntryComment {#4101}
          +body: """
            They’re university software engineering students, probably a year or two into their degrees. I’m hoping to provide the robots as completed units that are controlled via API, because we’re not likely to get many students with electrical, mechanical, or embedded backgrounds. You’re right about the complexity though, and that’s something I’ve been thinking about – I guess I’ll start out with a bit of optimism regarding their talents, and scale back if needed :D\n
            \n
            I don’t really have a scope, budget, timeline, or audience properly defined for this project – in short my client has a STEM program for building and interacting with digital maps, but it’s *way too boring* and I’m determined to breathe some life into it. So I’m going to have to play a lot of things by ear.
            """
          +lang: "en"
          +isAdult: false
          +favouriteCount: 0
          +score: 0
          +lastActive: DateTime @1693906684 {#4278
            date: 2023-09-05 11:38:04.0 +02:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@Saigonauticon@voltage.vn"
            "@rufus@discuss.tchncs.de"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4281 …}
          +nested: Doctrine\ORM\PersistentCollection {#4283 …}
          +votes: Doctrine\ORM\PersistentCollection {#4285 …}
          +reports: Doctrine\ORM\PersistentCollection {#4287 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4289 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4291 …}
          -id: 28063
          -bodyTs: "'api':29 'audienc':91 'back':77 'background':44 'bit':69 'bore':117 'breath':123 'budget':88 'build':106 'client':100 'complet':23 'complex':50 'control':27 'd':80 'defin':93 'degre':14 'determin':121 'digit':110 'ear':141 'electr':40 'embed':43 'engin':5 'get':36 'go':131 'guess':62 'hope':17 'interact':108 'life':125 'like':34 'll':64 'lot':137 'm':16,120,130 'mani':37 'map':111 'mechan':41 'need':79 'optim':71 'play':135 'probabl':7 'program':104 'project':96 'proper':92 'provid':19 're':2,32,46 'realli':84 'regard':72 'right':47 'robot':21 'scale':76 'scope':87 'short':98 'softwar':4 'someth':55 'start':65 'stem':103 'student':6,38 'talent':74 'thing':139 'think':59 'though':51 'timelin':89 'two':11 'unit':24 'univers':3 've':57 'via':28 'way':115 'year':9"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://voltage.vn/comment/212522"
          +editedAt: null
          +createdAt: DateTimeImmutable @1693906684 {#4279
            date: 2023-09-05 11:38:04.0 +02:00
          }
        }
        +root: App\Entity\EntryComment {#4101}
        +body: """
          Well, kids / young people / students will surprise you anyways. No matter what you planned ahead. I think teaching this way just requires you to stay flexible and try things with the students and see what works. University students will benefit from a little challenge, but it shouldn’t be impossible and get them frustrated. I’ve never taught myself, but I bet it’s difficult to hit that balance.\n
          \n
          Programming little robots is awesome, though. I think it’s on a whole other level to see robots move and do tasks, than to look at your screen and program something that changes a few pixels there. My university course was more related to embedded devices and closer to the electronics. It teaches you valuable lessons when forced to interact with some electronics, real-world physics, constrained resources and you need to get your maths right. Usually students are concerned with something like Java, learning object-oriented programming or handling some big frameworks. Or learning maths. And robotics teaches you to really pay attention, combine different skill-sets and do things without an easy route available.\n
          \n
          Maybe it’s just me who likes electronics too much. But I’m sure the kind of motivation you get by watching a real robot move and it runs your code, is unique. And kind of universal. You can do this in pre-school or in university to spark their imagination and motivation.\n
          \n
          Your task is a bit different. If you’re teaching something like simultaneous localization and mapping and the students also have to deal with all the robotics, sensors and real-word problems, this might be more of an ordeal for them than fun. Even dealing with noisy sensor values is a hassle until you get to grasp the bigger picture.\n
          \n
          If you’re giving them access to an API, you can choose and adjust what kind of abstraction you’re providing them. Give them something high-level or have them do more work. You could prepare most of the implementation and adjust the level of detail while teaching. Maybe skip something and give them working code via your API so they can focus on the problem they’re actually supposed to learn. You can also do it the other way round. Let them start with all low level stuff handled for them and learn the big concepts. Then let them dig down and see what your API functions have abstracted away until then. This way around you won’t run out of time.\n
          \n
          I’m sure including actual robotics is going to get them more motivated in contrast to running a simulation.
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 0
        +score: 0
        +lastActive: DateTime @1693914344 {#4319
          date: 2023-09-05 13:45:44.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@Saigonauticon@voltage.vn"
          "@rufus@discuss.tchncs.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4312 …}
        +nested: Doctrine\ORM\PersistentCollection {#4310 …}
        +votes: Doctrine\ORM\PersistentCollection {#4314 …}
        +reports: Doctrine\ORM\PersistentCollection {#4325 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4327 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4329 …}
        -id: 28065
        -bodyTs: "'abstract':321,414 'access':309 'actual':373,432 'adjust':317,346 'ahead':15 'also':262,379 'anyway':9 'api':312,363,411 'around':420 'attent':175 'avail':188 'away':415 'awesom':74 'balanc':69 'benefit':40 'bet':62 'big':163,400 'bigger':302 'bit':247 'challeng':44 'chang':102 'choos':315 'closer':117 'code':219,360 'combin':176 'concept':401 'concern':150 'constrain':137 'contrast':442 'could':339 'cours':109 'deal':265,288 'detail':350 'devic':115 'differ':177,248 'difficult':65 'dig':405 'easi':186 'electron':120,132,196 'embed':114 'even':287 'flexibl':26 'focus':367 'forc':127 'framework':164 'frustrat':54 'fun':286 'function':412 'get':52,143,208,298,437 'give':307,326,357 'go':435 'grasp':300 'handl':161,394 'hassl':295 'high':330 'high-level':329 'hit':67 'imagin':240 'implement':344 'imposs':50 'includ':431 'interact':129 'java':154 'kid':2 'kind':204,223,319 'learn':155,166,376,398 'lesson':125 'let':386,403 'level':84,331,348,392 'like':153,195,254 'littl':43,71 'local':256 'look':94 'low':391 'm':201,429 'map':258 'math':145,167 'matter':11 'mayb':189,353 'might':277 'motiv':206,242,440 'move':88,214 'much':198 'need':141 'never':57 'noisi':290 'object':157 'object-ori':156 'ordeal':282 'orient':158 'pay':174 'peopl':4 'physic':136 'pictur':303 'pixel':105 'plan':14 'pre':232 'pre-school':231 'prepar':340 'problem':275,370 'program':70,99,159 'provid':324 're':251,306,323,372 'real':134,212,273 'real-word':272 'real-world':133 'realli':173 'relat':112 'requir':22 'resourc':138 'right':146 'robot':72,87,169,213,269,433 'round':385 'rout':187 'run':217,424,444 'school':233 'screen':97 'see':34,86,408 'sensor':270,291 'set':180 'shouldn':47 'simul':446 'simultan':255 'skill':179 'skill-set':178 'skip':354 'someth':100,152,253,328,355 'spark':238 'start':388 'stay':25 'student':5,32,38,148,261 'stuff':393 'suppos':374 'sure':202,430 'surpris':7 'task':91,244 'taught':58 'teach':18,122,170,252,352 'thing':29,183 'think':17,77 'though':75 'time':427 'tri':28 'uniqu':221 'univers':37,108,225,236 'usual':147 'valu':292 'valuabl':124 've':56 'via':361 'watch':210 'way':20,384,419 'well':1 'whole':82 'without':184 'won':422 'word':274 'work':36,337,359 'world':135 'young':3"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://discuss.tchncs.de/comment/2687935"
        +editedAt: DateTimeImmutable @1693914611 {#4322
          date: 2023-09-05 13:50:11.0 +02:00
        }
        +createdAt: DateTimeImmutable @1693914344 {#4318
          date: 2023-09-05 13:45:44.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4101}
      +body: """
        Haha, I know exactly what you mean – I’m most interested in resource-constrained embedded systems. I like the attiny10 a lot. At work I mostly write Python, but in my own time it’s mostly assembly language. It feels more concrete, every decision matters, and anything that goes wrong is 100% your fault as there are relatively few bugs at that level. It’s a lot of fun. Also the datasheet is very good.\n
        \n
        I’m self-taught with all the electronics stuff, I paid for it by teaching a course on whatever thing I did most recently. Then I’d use the proceeds to buy tools and parts for the next big (often dumb) idea. I’d also ask for the software engineering assignments from colleagues in those programs, and complete them in my spare time. It was puzzling to a few people why I would *want to do assignments*, and indeed some were very boring (oh god Java + Spring framework) but others were quite interesting (formal study of algorithms). Sadly, economic reality kicked in and I had to run a company instead of pursuing my education further (I still try to do one ridiculous engineering thing per year though).\n
        \n
        I guess there’s a real risk (…like 100%) that I overestimate the motivation students have – so I think I’m going to take your advice and set the level of abstraction with something API-like to abstract away the low-level components (this is closer to my client’s domain). I’m imagining a robot that acts as a WiFi access point, and having something “like an API” that works over UDP packets that describe high-level functions. Then start with something simple – like a digital map with known starting location, and a small obstacle course that can be completed with simple distance measurement, no point clouds. If that goes well, I can develop towards more complex material – probably not full SLAM, but maybe localization on a pre-mapped surface. I have plenty of my own code as examples of how to do simple UDP communications in Python, I could expand it into a custom library.\n
        \n
        Sort of like Logo from 1983, but with a physical robot and sensors. I’m a little to young to have used Logo, but the computer lab in my school was really outdated so I got to try it once :D
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1693974973 {#4341
        date: 2023-09-06 06:36:13.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@Saigonauticon@voltage.vn"
        "@rufus@discuss.tchncs.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4338 …}
      +nested: Doctrine\ORM\PersistentCollection {#4335 …}
      +votes: Doctrine\ORM\PersistentCollection {#4333 …}
      +reports: Doctrine\ORM\PersistentCollection {#4347 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4349 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4351 …}
      -id: 28109
      -bodyTs: "'100':53,213 '1983':371 'abstract':236,243 'access':268 'act':264 'advic':230 'algorithm':174 'also':71,122 'anyth':48 'api':240,275 'api-lik':239 'ask':123 'assembl':38 'assign':128,154 'attiny10':21 'away':244 'big':116 'bore':160 'bug':61 'buy':109 'client':255 'closer':252 'cloud':315 'code':346 'colleagu':130 'communic':355 'compani':186 'complet':135,308 'complex':325 'compon':249 'comput':391 'concret':43 'constrain':15 'could':359 'cours':94,304 'custom':364 'd':104,121,406 'datasheet':73 'decis':45 'describ':282 'develop':322 'digit':294 'distanc':311 'domain':257 'dumb':118 'econom':176 'educ':191 'electron':85 'embed':16 'engin':127,200 'everi':44 'exact':4 'exampl':348 'expand':360 'fault':55 'feel':41 'formal':171 'framework':165 'full':329 'fun':70 'function':286 'go':226 'god':162 'goe':50,318 'good':76 'got':401 'guess':206 'haha':1 'high':284 'high-level':283 'idea':119 'imagin':260 'inde':156 'instead':187 'interest':11,170 'java':163 'kick':178 'know':3 'known':297 'lab':392 'languag':39 'level':64,234,248,285 'librari':365 'like':19,212,241,273,292,368 'littl':382 'local':333 'locat':299 'logo':369,388 'lot':23,68 'low':247 'low-level':246 'm':9,78,225,259,380 'map':295,338 'materi':326 'matter':46 'mayb':332 'mean':7 'measur':312 'most':27,37 'motiv':218 'next':115 'obstacl':303 'often':117 'oh':161 'one':198 'other':167 'outdat':398 'overestim':216 'packet':280 'paid':88 'part':112 'peopl':147 'per':202 'physic':375 'plenti':342 'point':269,314 'pre':337 'pre-map':336 'probabl':327 'proceed':107 'program':133 'pursu':189 'puzzl':143 'python':29,357 'quit':169 'real':210 'realiti':177 'realli':397 'recent':101 'relat':59 'resourc':14 'resource-constrain':13 'ridicul':199 'risk':211 'robot':262,376 'run':184 'sad':175 'school':395 'self':80 'self-taught':79 'sensor':378 'set':232 'simpl':291,310,353 'slam':330 'small':302 'softwar':126 'someth':238,272,290 'sort':366 'spare':139 'spring':164 'start':288,298 'still':194 'student':219 'studi':172 'stuff':86 'surfac':339 'system':17 'take':228 'taught':81 'teach':92 'thing':97,201 'think':223 'though':204 'time':34,140 'tool':110 'toward':323 'tri':195,403 'udp':279,354 'use':105,387 'want':151 'well':319 'whatev':96 'wifi':267 'work':25,277 'would':150 'write':28 'wrong':51 'year':203 'young':384"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://voltage.vn/comment/213919"
      +editedAt: null
      +createdAt: DateTimeImmutable @1693974973 {#4344
        date: 2023-09-06 06:36:13.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4101}
    +body: """
      Well, there’s also turtles to program in Python (i think) and there is [Scratch](https://en.wikipedia.org/wiki/Scratch_(programming_language)).\n
      \n
      > I guess there’s a real risk (…like 100%) that I overestimate the motivation students have\n
      \n
      Definitely sounds like it. But a motivated teacher is a very good thing. Maybe you’re able to get that spark across to some of the students.\n
      \n
      > API-like to abstract away the low-level components\n
      \n
      You can always have some extra assignments ready, just in case someone is curious and wants to do/know more. A room full of studens will have a mixed amount of knowledge, abilities and motivation anyways.\n
      \n
      > I’m most interested in resource-constrained embedded systems. I like the attiny10 a lot.\n
      \n
      I also ate a few books and datasheets on the Atmel chips in my lifetime. Their design is well-thought-out and probably an excellent subject to learn the concepts about microcontrollers.\n
      \n
      As of now I like the ESP32. It is ridiculously overpowered if you’re used to something like the ATtinies or old ATmegas. With (at least) 520kB of RAM, two cores that work at 240MHz (depending on variant) and very nice peripherals. Also WiFi connectivity is really useful. But it definitely adds to the fun if you programmed the more constrained (previous generation of) microcontrollers and know how spoiled you are and can feel like a supervillain wasting hundreds of kilobytes of memory deliberately. Or (ab)use some of the peripherals for things that wouldn’t be possible with the few timers available on the Atmel chips. Or do trigonometry at crazy frequencies for your robots, because you can handle 32bit floating point numbers. But I’d agree, that doesn’t teach you the same things if you can do floating point arithmetics for cheap and don’t know if calculating a square root is an easy or difficult thing to do. The STM chips also have nice peripherals. But I haven’t really fiddled around with those.\n
      \n
      Definitely hope you’ll have fun being involved in that STEM program.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1693999848 {#4363
      date: 2023-09-06 13:30:48.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Saigonauticon@voltage.vn"
      "@rufus@discuss.tchncs.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4360 …}
    +nested: Doctrine\ORM\PersistentCollection {#4357 …}
    +votes: Doctrine\ORM\PersistentCollection {#4355 …}
    +reports: Doctrine\ORM\PersistentCollection {#4369 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4371 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4373 …}
    -id: 28122
    -bodyTs: "'/wiki/scratch_(programming_language)).':18 '100':27 '240mhz':191 '32bit':277 '520kb':183 'ab':242 'abil':104 'abl':51 'abstract':66 'across':56 'add':208 'agre':284 'also':4,125,199,322 'alway':75 'amount':101 'anyway':107 'api':63 'api-lik':62 'arithmet':299 'around':332 'assign':79 'ate':126 'atmega':179 'atmel':134,262 'attini':176 'attiny10':121 'avail':259 'away':67 'book':129 'calcul':307 'case':83 'cheap':301 'chip':135,263,321 'compon':72 'concept':154 'connect':201 'constrain':115,217 'core':187 'crazi':268 'curious':86 'd':283 'datasheet':131 'definit':35,207,335 'deliber':240 'depend':192 'design':140 'difficult':315 'do/know':90 'doesn':286 'easi':313 'embed':116 'en.wikipedia.org':17 'en.wikipedia.org/wiki/scratch_(programming_language)).':16 'esp32':163 'excel':149 'extra':78 'feel':230 'fiddl':331 'float':278,297 'frequenc':269 'full':94 'fun':211,340 'generat':219 'get':53 'good':46 'guess':20 'handl':276 'haven':328 'hope':336 'hundr':235 'interest':111 'involv':342 'kilobyt':237 'know':223,305 'knowledg':103 'learn':152 'least':182 'level':71 'lifetim':138 'like':26,37,64,119,161,174,231 'll':338 'lot':123 'low':70 'low-level':69 'm':109 'mayb':48 'memori':239 'microcontrol':156,221 'mix':100 'motiv':32,41,106 'nice':197,324 'number':280 'old':178 'overestim':30 'overpow':167 'peripher':198,247,325 'point':279,298 'possibl':254 'previous':218 'probabl':147 'program':7,214,346 'python':9 'ram':185 're':50,170 'readi':80 'real':24 'realli':203,330 'resourc':114 'resource-constrain':113 'ridicul':166 'risk':25 'robot':272 'room':93 'root':310 'scratch':15 'someon':84 'someth':173 'sound':36 'spark':55 'spoil':225 'squar':309 'stem':345 'stm':320 'studen':96 'student':33,61 'subject':150 'supervillain':233 'system':117 'teach':288 'teacher':42 'thing':47,249,292,316 'think':11 'thought':144 'timer':258 'trigonometri':266 'turtl':5 'two':186 'use':171,204,243 'variant':194 'want':88 'wast':234 'well':1,143 'well-thought-out':142 'wifi':200 'work':189 'wouldn':251"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/comment/2715856"
    +editedAt: null
    +createdAt: DateTimeImmutable @1693999848 {#4366
      date: 2023-09-06 13:30:48.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4101}
  +body: """
    Good advice all around! Thanks!\n
    \n
    I’ve also messed around with the ESP8266 and various models of ESP32. Their WiFi time-of-flight stuff is *interesting*. I’ve quite a few projects with both actually! My main complaint is that the GPIO don’t behave nicely (also the esp8266 is a power hog and reboots if you screw up the network stack). They are much slower than I’d expect, and have weird states on boot. It’s not too bad to work around this stuff, but I chose the Pi Pico W so as not to have to explain it.\n
    \n
    It still blows me away that I can easily do public-private key encryption on the ESP32. And graphics. At the same time!
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1694071771 {#4385
    date: 2023-09-07 09:29:31.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Saigonauticon@voltage.vn"
    "@rufus@discuss.tchncs.de"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4382 …}
  +nested: Doctrine\ORM\PersistentCollection {#4379 …}
  +votes: Doctrine\ORM\PersistentCollection {#4377 …}
  +reports: Doctrine\ORM\PersistentCollection {#4391 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4393 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4395 …}
  -id: 28234
  -bodyTs: "'actual':36 'advic':2 'also':8,48 'around':4,10,85 'away':107 'bad':82 'behav':46 'blow':105 'boot':77 'chose':90 'complaint':39 'd':70 'easili':111 'encrypt':117 'esp32':18,120 'esp8266':13,50 'expect':71 'explain':101 'flight':24 'good':1 'gpio':43 'graphic':122 'hog':54 'interest':27 'key':116 'main':38 'mess':9 'model':16 'much':66 'network':62 'nice':47 'pi':92 'pico':93 'power':53 'privat':115 'project':33 'public':114 'public-priv':113 'quit':30 'reboot':56 'screw':59 'slower':67 'stack':63 'state':75 'still':104 'stuff':25,87 'thank':5 'time':22,126 'time-of-flight':21 'various':15 've':7,29 'w':94 'weird':74 'wifi':20 'work':84"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://voltage.vn/comment/216358"
  +editedAt: null
  +createdAt: DateTimeImmutable @1694071771 {#4388
    date: 2023-09-07 09:29:31.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
36 DENIED moderate
App\Entity\EntryComment {#4390
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Considering-positioning-strategies-for-autonomous-mechanum-wheeled-robots"
    +title: "Considering positioning strategies for autonomous mechanum-wheeled robots"
    +url: null
    +body: """
      Disclaimer: this is not *specifically* for a commercial product, but various things I design sometimes get commercialized. I mention this so that you may decide whether you want to weigh in. If it’s commercialized, I will probably make very little money but a bunch of university students may get a neat STEM program in the countryside :D\n
      \n
      That out of the way, I’ve designed some boards for a Wi-Fi controlled robot with mechanum wheels. So 4 independent motor drivers, one for each wheel, allow omnidirectional motion. It’s built around a Pi Pico W, 4 SOIC-8 9110S motor drivers, and some buck/boost converters to give the system a 5V and 12V line. It’s very basic, mostly made to be cheap. Here’s a photo:\n
      \n
      ![](https://voltage.vn/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)\n
      \n
      Right now it just receives UDP communications (a little app written in Godot) and activates the motors in different combinations – very “hello world”. I’m planning to add some autonomy to move around pre-generated maps, solve mazes, and so on.\n
      \n
      I have foolishly used 2-pin JST connectors for the motors, so using motors with rotary encoders would be a pain without ordering new boards. I’ll probably fix that in a later board revision or just hack it in. Also the routing is sloppy and there’s no ground plane. It works well enough for development and testing though :D\n
      \n
      What I’m thinking about right now, is how to let the robot position itself in a room effectively and cheaply. I was thinking of adding either a full LiDAR or building a limited LiDAR out of a servo motor and two cheap laser ToF sensors – e.g. one pointed forward, the other back, and I can sweep it 90 degrees. Since the LiDAR does not need to be fast or continuously sweep, I am leaning toward the latter approach.\n
      \n
      Then the processing is handled remotely – a server requests that the robot do a LiDAR sweep, the robot sends a minimal point cloud back to the server, which estimates the robot’s current location and sends back some instructions to move in a direction for some distance – probably this is where the lack of rotary encoders is going to hurt, but for now I’m planning on just pointing the forward laser ToF sensor towards a target and give the instruction “turn or move forward at static speed X until the sensor reads Y”, which should be pretty easy for the MCU To handle.\n
      \n
      I’m planning to control multiple robots from the same server. The robots don’t need to be super fast.\n
      \n
      What I’m currently wondering is whether my approach really needs rotary encoders in practice – I’ve heard that mechanum wheels have high enough mechanical slippage that they end up inaccurate, and designers often add another set of unpowered wheels for position tracking anyway. I don’t want to add more wheels in this way though.\n
      \n
      On the other hand, it would probably be easier to tell the MCU to “move forward X rotary encoder pulses at a velocity defined by Y pulses per second, and then check position and correct at a lower speed” than to use a pure LiDAR approach (e.g. even if rotary encoders don’t give me accurate position, on small time scales, they give me good feedback to control speed). I could possibly even send a fairly complex series of instructions in one go, making the communications efficient enough to eliminate a local server and control a ton of robots from a cloud VPS or whatever.\n
      \n
      Anyone have some experience with encoders + mechanum wheels that can offer a few tips my way? At this stage the project doesn’t have clear engineering goals and this is mostly an academic exercise. I’ve read that using a rigid chassis and minimizing the need for lateral motion can reduce slippage, reading through a few papers didn’t get me any numerical indication of what to expect.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 10
    +favouriteCount: 14
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1694071771 {#2410
      date: 2023-09-07 09:29:31.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 2057
    -titleTs: "'autonom':5 'consid':1 'mechanum':7 'mechanum-wheel':6 'posit':2 'robot':9 'strategi':3 'wheel':8"
    -bodyTs: "'-8':101 '/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)':133 '12v':116 '2':180 '4':80,99 '5v':114 '90':295 '9110s':102 'academ':633 'accur':551 'activ':148 'ad':262 'add':161,474,489 'allow':88 'also':216 'anoth':475 'anyon':601 'anyway':483 'app':143 'approach':315,448,541 'around':94,166 'autonomi':163 'back':289,339,352 'basic':121 'board':68,200,209 'buck/boost':107 'build':268 'built':93 'bunch':45 'chassi':642 'cheap':126,279 'cheapli':257 'check':527 'clear':625 'cloud':338,597 'combin':153 'commerci':8,17,35 'communic':140,581 'complex':572 'connector':183 'continu':307 'control':74,424,563,590 'convert':108 'correct':530 'could':566 'countrysid':57 'current':348,443 'd':58,236 'decid':25 'defin':519 'degre':296 'design':14,66,472 'develop':232 'didn':658 'differ':152 'direct':359 'disclaim':1 'distanc':362 'doesn':622 'driver':83,104 'e.g':283,542 'easi':414 'easier':504 'effect':255 'effici':582 'either':263 'elimin':585 'encod':192,371,452,514,546,606 'end':468 'engin':626 'enough':230,463,583 'estim':344 'even':543,568 'exercis':634 'expect':668 'experi':604 'fair':571 'fast':305,439 'feedback':561 'fi':73 'fix':204 'foolish':178 'forward':286,386,400,511 'full':265 'generat':169 'get':16,50,660 'give':110,394,549,558 'go':373,578 'goal':627 'godot':146 'good':560 'ground':225 'hack':213 'hand':499 'handl':320,419 'heard':457 'hello':155 'high':462 'hurt':375 'inaccur':470 'independ':81 'indic':664 'instruct':354,396,575 'jst':182 'lack':368 'laser':280,387 'later':208,648 'latter':314 'lean':311 'let':247 'lidar':266,271,299,330,540 'limit':270 'line':117 'littl':41,142 'll':202 'local':587 'locat':349 'lower':533 'm':158,239,380,421,442 'made':123 'make':39,579 'map':170 'may':24,49 'maze':172 'mcu':417,508 'mechan':464 'mechanum':77,459,607 'mention':19 'minim':336,644 'money':42 'most':122,631 'motion':90,649 'motor':82,103,150,186,189,276 'move':165,356,399,510 'multipl':425 'neat':52 'need':302,435,450,646 'new':199 'numer':663 'offer':611 'often':473 'omnidirect':89 'one':84,284,577 'order':198 'pain':196 'paper':657 'per':523 'photo':130 'pi':96 'pico':97 'pin':181 'plan':159,381,422 'plane':226 'point':285,337,384 'posit':250,481,528,552 'possibl':567 'practic':454 'pre':168 'pre-gener':167 'pretti':413 'probabl':38,203,363,502 'process':318 'product':9 'program':54 'project':621 'puls':515,522 'pure':539 'read':408,637,653 'realli':449 'receiv':138 'reduc':651 'remot':321 'request':324 'revis':210 'right':134,242 'rigid':641 'robot':75,249,327,333,346,426,432,594 'room':254 'rotari':191,370,451,513,545 'rout':218 'scale':556 'second':524 'send':334,351,569 'sensor':282,389,407 'seri':573 'server':323,342,430,588 'servo':275 'set':476 'sinc':297 'slippag':465,652 'sloppi':220 'small':554 'soic':100 'solv':171 'sometim':15 'specif':5 'speed':403,534,564 'stage':619 'static':402 'stem':53 'student':48 'super':438 'sweep':293,308,331 'system':112 'target':392 'tell':506 'test':234 'thing':12 'think':240,260 'though':235,495 'time':555 'tip':614 'tof':281,388 'ton':592 'toward':312,390 'track':482 'turn':397 'two':278 'udp':139 'univers':47 'unpow':478 'use':179,188,537,639 'various':11 've':65,456,636 'veloc':518 'voltage.vn':132 'voltage.vn/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)':131 'vps':598 'w':98 'want':28,487 'way':63,494,616 'weigh':30 'well':229 'whatev':600 'wheel':78,87,460,479,491,608 'whether':26,446 'wi':72 'wi-fi':71 'without':197 'wonder':444 'work':228 'world':156 'would':193,501 'written':144 'x':404,512 'y':409,521"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1693616717
    +visibility: "visible             "
    +apId: "https://voltage.vn/post/18974"
    +editedAt: DateTimeImmutable @1693550651 {#1850
      date: 2023-09-01 08:44:11.0 +02:00
    }
    +createdAt: DateTimeImmutable @1693550217 {#2420
      date: 2023-09-01 08:36:57.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4368
    +user: App\Entity\User {#4084 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4346
      +user: Proxies\__CG__\App\Entity\User {#1970 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4315
        +user: App\Entity\User {#4084 …}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: App\Entity\EntryComment {#4280
          +user: Proxies\__CG__\App\Entity\User {#1970 …}
          +entry: App\Entity\Entry {#2412}
          +magazine: App\Entity\Magazine {#266}
          +image: null
          +parent: App\Entity\EntryComment {#4101
            +user: App\Entity\User {#4084 …}
            +entry: App\Entity\Entry {#2412}
            +magazine: App\Entity\Magazine {#266}
            +image: null
            +parent: null
            +root: null
            +body: """
              I think mecanum wheels slip quite a bit. So I’m not sure how effective those encoders are. But I’ve only ever tried 3d-printed ones. So I’m not super sure.\n
              \n
              You’re sure your STEM students are ready to handle the LiDAR? Manage point clouds, do the arithmetic, path planning etc? We had a practical course with little robots. But they had 3 of those sharp distance sensors at the front and a bumper with a switch. This was enough to teach many concepts and also enough to implement for the students for something that was just a project and not a full time job. But I’m sure that depends on what exactly you want to teach…\n
              \n
              And our robots hat the motor drivers (h-bridges) replaceable on socket terminals because every so often someone wasn’t very clever or didn’t listen in the lectures.
              """
            +lang: "en"
            +isAdult: false
            +favouriteCount: 0
            +score: 0
            +lastActive: DateTime @1694071778 {#4102
              date: 2023-09-07 09:29:38.0 +02:00
            }
            +ip: null
            +tags: null
            +mentions: [
              "@Saigonauticon@voltage.vn"
            ]
            +children: Doctrine\ORM\PersistentCollection {#4099 …}
            +nested: Doctrine\ORM\PersistentCollection {#4097 …}
            +votes: Doctrine\ORM\PersistentCollection {#4095 …}
            +reports: Doctrine\ORM\PersistentCollection {#4092 …}
            +favourites: Doctrine\ORM\PersistentCollection {#4088 …}
            +notifications: Doctrine\ORM\PersistentCollection {#4086 …}
            -id: 27597
            -bodyTs: "'3':67 '3d':26 '3d-printed':25 'also':90 'arithmet':52 'bit':8 'bridg':132 'bumper':78 'clever':145 'cloud':49 'concept':88 'cours':60 'depend':115 'didn':147 'distanc':71 'driver':129 'effect':15 'encod':17 'enough':84,91 'etc':55 'ever':23 'everi':138 'exact':118 'front':75 'full':107 'h':131 'h-bridg':130 'handl':44 'hat':126 'implement':93 'job':109 'lectur':152 'lidar':46 'listen':149 'littl':62 'm':11,31,112 'manag':47 'mani':87 'mecanum':3 'motor':128 'often':140 'one':28 'path':53 'plan':54 'point':48 'practic':59 'print':27 'project':103 'quit':6 're':36 'readi':42 'replac':133 'robot':63,125 'sensor':72 'sharp':70 'slip':5 'socket':135 'someon':141 'someth':98 'stem':39 'student':40,96 'super':33 'sure':13,34,37,113 'switch':81 'teach':86,122 'termin':136 'think':2 'time':108 'tri':24 've':21 'want':120 'wasn':142 'wheel':4"
            +ranking: 0
            +commentCount: 0
            +upVotes: 0
            +downVotes: 0
            +visibility: "visible             "
            +apId: "https://discuss.tchncs.de/comment/2572674"
            +editedAt: DateTimeImmutable @1693564680 {#4107
              date: 2023-09-01 12:38:00.0 +02:00
            }
            +createdAt: DateTimeImmutable @1693564547 {#4105
              date: 2023-09-01 12:35:47.0 +02:00
            }
          }
          +root: App\Entity\EntryComment {#4101}
          +body: """
            They’re university software engineering students, probably a year or two into their degrees. I’m hoping to provide the robots as completed units that are controlled via API, because we’re not likely to get many students with electrical, mechanical, or embedded backgrounds. You’re right about the complexity though, and that’s something I’ve been thinking about – I guess I’ll start out with a bit of optimism regarding their talents, and scale back if needed :D\n
            \n
            I don’t really have a scope, budget, timeline, or audience properly defined for this project – in short my client has a STEM program for building and interacting with digital maps, but it’s *way too boring* and I’m determined to breathe some life into it. So I’m going to have to play a lot of things by ear.
            """
          +lang: "en"
          +isAdult: false
          +favouriteCount: 0
          +score: 0
          +lastActive: DateTime @1693906684 {#4278
            date: 2023-09-05 11:38:04.0 +02:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@Saigonauticon@voltage.vn"
            "@rufus@discuss.tchncs.de"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4281 …}
          +nested: Doctrine\ORM\PersistentCollection {#4283 …}
          +votes: Doctrine\ORM\PersistentCollection {#4285 …}
          +reports: Doctrine\ORM\PersistentCollection {#4287 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4289 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4291 …}
          -id: 28063
          -bodyTs: "'api':29 'audienc':91 'back':77 'background':44 'bit':69 'bore':117 'breath':123 'budget':88 'build':106 'client':100 'complet':23 'complex':50 'control':27 'd':80 'defin':93 'degre':14 'determin':121 'digit':110 'ear':141 'electr':40 'embed':43 'engin':5 'get':36 'go':131 'guess':62 'hope':17 'interact':108 'life':125 'like':34 'll':64 'lot':137 'm':16,120,130 'mani':37 'map':111 'mechan':41 'need':79 'optim':71 'play':135 'probabl':7 'program':104 'project':96 'proper':92 'provid':19 're':2,32,46 'realli':84 'regard':72 'right':47 'robot':21 'scale':76 'scope':87 'short':98 'softwar':4 'someth':55 'start':65 'stem':103 'student':6,38 'talent':74 'thing':139 'think':59 'though':51 'timelin':89 'two':11 'unit':24 'univers':3 've':57 'via':28 'way':115 'year':9"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://voltage.vn/comment/212522"
          +editedAt: null
          +createdAt: DateTimeImmutable @1693906684 {#4279
            date: 2023-09-05 11:38:04.0 +02:00
          }
        }
        +root: App\Entity\EntryComment {#4101}
        +body: """
          Well, kids / young people / students will surprise you anyways. No matter what you planned ahead. I think teaching this way just requires you to stay flexible and try things with the students and see what works. University students will benefit from a little challenge, but it shouldn’t be impossible and get them frustrated. I’ve never taught myself, but I bet it’s difficult to hit that balance.\n
          \n
          Programming little robots is awesome, though. I think it’s on a whole other level to see robots move and do tasks, than to look at your screen and program something that changes a few pixels there. My university course was more related to embedded devices and closer to the electronics. It teaches you valuable lessons when forced to interact with some electronics, real-world physics, constrained resources and you need to get your maths right. Usually students are concerned with something like Java, learning object-oriented programming or handling some big frameworks. Or learning maths. And robotics teaches you to really pay attention, combine different skill-sets and do things without an easy route available.\n
          \n
          Maybe it’s just me who likes electronics too much. But I’m sure the kind of motivation you get by watching a real robot move and it runs your code, is unique. And kind of universal. You can do this in pre-school or in university to spark their imagination and motivation.\n
          \n
          Your task is a bit different. If you’re teaching something like simultaneous localization and mapping and the students also have to deal with all the robotics, sensors and real-word problems, this might be more of an ordeal for them than fun. Even dealing with noisy sensor values is a hassle until you get to grasp the bigger picture.\n
          \n
          If you’re giving them access to an API, you can choose and adjust what kind of abstraction you’re providing them. Give them something high-level or have them do more work. You could prepare most of the implementation and adjust the level of detail while teaching. Maybe skip something and give them working code via your API so they can focus on the problem they’re actually supposed to learn. You can also do it the other way round. Let them start with all low level stuff handled for them and learn the big concepts. Then let them dig down and see what your API functions have abstracted away until then. This way around you won’t run out of time.\n
          \n
          I’m sure including actual robotics is going to get them more motivated in contrast to running a simulation.
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 0
        +score: 0
        +lastActive: DateTime @1693914344 {#4319
          date: 2023-09-05 13:45:44.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@Saigonauticon@voltage.vn"
          "@rufus@discuss.tchncs.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4312 …}
        +nested: Doctrine\ORM\PersistentCollection {#4310 …}
        +votes: Doctrine\ORM\PersistentCollection {#4314 …}
        +reports: Doctrine\ORM\PersistentCollection {#4325 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4327 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4329 …}
        -id: 28065
        -bodyTs: "'abstract':321,414 'access':309 'actual':373,432 'adjust':317,346 'ahead':15 'also':262,379 'anyway':9 'api':312,363,411 'around':420 'attent':175 'avail':188 'away':415 'awesom':74 'balanc':69 'benefit':40 'bet':62 'big':163,400 'bigger':302 'bit':247 'challeng':44 'chang':102 'choos':315 'closer':117 'code':219,360 'combin':176 'concept':401 'concern':150 'constrain':137 'contrast':442 'could':339 'cours':109 'deal':265,288 'detail':350 'devic':115 'differ':177,248 'difficult':65 'dig':405 'easi':186 'electron':120,132,196 'embed':114 'even':287 'flexibl':26 'focus':367 'forc':127 'framework':164 'frustrat':54 'fun':286 'function':412 'get':52,143,208,298,437 'give':307,326,357 'go':435 'grasp':300 'handl':161,394 'hassl':295 'high':330 'high-level':329 'hit':67 'imagin':240 'implement':344 'imposs':50 'includ':431 'interact':129 'java':154 'kid':2 'kind':204,223,319 'learn':155,166,376,398 'lesson':125 'let':386,403 'level':84,331,348,392 'like':153,195,254 'littl':43,71 'local':256 'look':94 'low':391 'm':201,429 'map':258 'math':145,167 'matter':11 'mayb':189,353 'might':277 'motiv':206,242,440 'move':88,214 'much':198 'need':141 'never':57 'noisi':290 'object':157 'object-ori':156 'ordeal':282 'orient':158 'pay':174 'peopl':4 'physic':136 'pictur':303 'pixel':105 'plan':14 'pre':232 'pre-school':231 'prepar':340 'problem':275,370 'program':70,99,159 'provid':324 're':251,306,323,372 'real':134,212,273 'real-word':272 'real-world':133 'realli':173 'relat':112 'requir':22 'resourc':138 'right':146 'robot':72,87,169,213,269,433 'round':385 'rout':187 'run':217,424,444 'school':233 'screen':97 'see':34,86,408 'sensor':270,291 'set':180 'shouldn':47 'simul':446 'simultan':255 'skill':179 'skill-set':178 'skip':354 'someth':100,152,253,328,355 'spark':238 'start':388 'stay':25 'student':5,32,38,148,261 'stuff':393 'suppos':374 'sure':202,430 'surpris':7 'task':91,244 'taught':58 'teach':18,122,170,252,352 'thing':29,183 'think':17,77 'though':75 'time':427 'tri':28 'uniqu':221 'univers':37,108,225,236 'usual':147 'valu':292 'valuabl':124 've':56 'via':361 'watch':210 'way':20,384,419 'well':1 'whole':82 'without':184 'won':422 'word':274 'work':36,337,359 'world':135 'young':3"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://discuss.tchncs.de/comment/2687935"
        +editedAt: DateTimeImmutable @1693914611 {#4322
          date: 2023-09-05 13:50:11.0 +02:00
        }
        +createdAt: DateTimeImmutable @1693914344 {#4318
          date: 2023-09-05 13:45:44.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4101}
      +body: """
        Haha, I know exactly what you mean – I’m most interested in resource-constrained embedded systems. I like the attiny10 a lot. At work I mostly write Python, but in my own time it’s mostly assembly language. It feels more concrete, every decision matters, and anything that goes wrong is 100% your fault as there are relatively few bugs at that level. It’s a lot of fun. Also the datasheet is very good.\n
        \n
        I’m self-taught with all the electronics stuff, I paid for it by teaching a course on whatever thing I did most recently. Then I’d use the proceeds to buy tools and parts for the next big (often dumb) idea. I’d also ask for the software engineering assignments from colleagues in those programs, and complete them in my spare time. It was puzzling to a few people why I would *want to do assignments*, and indeed some were very boring (oh god Java + Spring framework) but others were quite interesting (formal study of algorithms). Sadly, economic reality kicked in and I had to run a company instead of pursuing my education further (I still try to do one ridiculous engineering thing per year though).\n
        \n
        I guess there’s a real risk (…like 100%) that I overestimate the motivation students have – so I think I’m going to take your advice and set the level of abstraction with something API-like to abstract away the low-level components (this is closer to my client’s domain). I’m imagining a robot that acts as a WiFi access point, and having something “like an API” that works over UDP packets that describe high-level functions. Then start with something simple – like a digital map with known starting location, and a small obstacle course that can be completed with simple distance measurement, no point clouds. If that goes well, I can develop towards more complex material – probably not full SLAM, but maybe localization on a pre-mapped surface. I have plenty of my own code as examples of how to do simple UDP communications in Python, I could expand it into a custom library.\n
        \n
        Sort of like Logo from 1983, but with a physical robot and sensors. I’m a little to young to have used Logo, but the computer lab in my school was really outdated so I got to try it once :D
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1693974973 {#4341
        date: 2023-09-06 06:36:13.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@Saigonauticon@voltage.vn"
        "@rufus@discuss.tchncs.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4338 …}
      +nested: Doctrine\ORM\PersistentCollection {#4335 …}
      +votes: Doctrine\ORM\PersistentCollection {#4333 …}
      +reports: Doctrine\ORM\PersistentCollection {#4347 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4349 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4351 …}
      -id: 28109
      -bodyTs: "'100':53,213 '1983':371 'abstract':236,243 'access':268 'act':264 'advic':230 'algorithm':174 'also':71,122 'anyth':48 'api':240,275 'api-lik':239 'ask':123 'assembl':38 'assign':128,154 'attiny10':21 'away':244 'big':116 'bore':160 'bug':61 'buy':109 'client':255 'closer':252 'cloud':315 'code':346 'colleagu':130 'communic':355 'compani':186 'complet':135,308 'complex':325 'compon':249 'comput':391 'concret':43 'constrain':15 'could':359 'cours':94,304 'custom':364 'd':104,121,406 'datasheet':73 'decis':45 'describ':282 'develop':322 'digit':294 'distanc':311 'domain':257 'dumb':118 'econom':176 'educ':191 'electron':85 'embed':16 'engin':127,200 'everi':44 'exact':4 'exampl':348 'expand':360 'fault':55 'feel':41 'formal':171 'framework':165 'full':329 'fun':70 'function':286 'go':226 'god':162 'goe':50,318 'good':76 'got':401 'guess':206 'haha':1 'high':284 'high-level':283 'idea':119 'imagin':260 'inde':156 'instead':187 'interest':11,170 'java':163 'kick':178 'know':3 'known':297 'lab':392 'languag':39 'level':64,234,248,285 'librari':365 'like':19,212,241,273,292,368 'littl':382 'local':333 'locat':299 'logo':369,388 'lot':23,68 'low':247 'low-level':246 'm':9,78,225,259,380 'map':295,338 'materi':326 'matter':46 'mayb':332 'mean':7 'measur':312 'most':27,37 'motiv':218 'next':115 'obstacl':303 'often':117 'oh':161 'one':198 'other':167 'outdat':398 'overestim':216 'packet':280 'paid':88 'part':112 'peopl':147 'per':202 'physic':375 'plenti':342 'point':269,314 'pre':337 'pre-map':336 'probabl':327 'proceed':107 'program':133 'pursu':189 'puzzl':143 'python':29,357 'quit':169 'real':210 'realiti':177 'realli':397 'recent':101 'relat':59 'resourc':14 'resource-constrain':13 'ridicul':199 'risk':211 'robot':262,376 'run':184 'sad':175 'school':395 'self':80 'self-taught':79 'sensor':378 'set':232 'simpl':291,310,353 'slam':330 'small':302 'softwar':126 'someth':238,272,290 'sort':366 'spare':139 'spring':164 'start':288,298 'still':194 'student':219 'studi':172 'stuff':86 'surfac':339 'system':17 'take':228 'taught':81 'teach':92 'thing':97,201 'think':223 'though':204 'time':34,140 'tool':110 'toward':323 'tri':195,403 'udp':279,354 'use':105,387 'want':151 'well':319 'whatev':96 'wifi':267 'work':25,277 'would':150 'write':28 'wrong':51 'year':203 'young':384"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://voltage.vn/comment/213919"
      +editedAt: null
      +createdAt: DateTimeImmutable @1693974973 {#4344
        date: 2023-09-06 06:36:13.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4101}
    +body: """
      Well, there’s also turtles to program in Python (i think) and there is [Scratch](https://en.wikipedia.org/wiki/Scratch_(programming_language)).\n
      \n
      > I guess there’s a real risk (…like 100%) that I overestimate the motivation students have\n
      \n
      Definitely sounds like it. But a motivated teacher is a very good thing. Maybe you’re able to get that spark across to some of the students.\n
      \n
      > API-like to abstract away the low-level components\n
      \n
      You can always have some extra assignments ready, just in case someone is curious and wants to do/know more. A room full of studens will have a mixed amount of knowledge, abilities and motivation anyways.\n
      \n
      > I’m most interested in resource-constrained embedded systems. I like the attiny10 a lot.\n
      \n
      I also ate a few books and datasheets on the Atmel chips in my lifetime. Their design is well-thought-out and probably an excellent subject to learn the concepts about microcontrollers.\n
      \n
      As of now I like the ESP32. It is ridiculously overpowered if you’re used to something like the ATtinies or old ATmegas. With (at least) 520kB of RAM, two cores that work at 240MHz (depending on variant) and very nice peripherals. Also WiFi connectivity is really useful. But it definitely adds to the fun if you programmed the more constrained (previous generation of) microcontrollers and know how spoiled you are and can feel like a supervillain wasting hundreds of kilobytes of memory deliberately. Or (ab)use some of the peripherals for things that wouldn’t be possible with the few timers available on the Atmel chips. Or do trigonometry at crazy frequencies for your robots, because you can handle 32bit floating point numbers. But I’d agree, that doesn’t teach you the same things if you can do floating point arithmetics for cheap and don’t know if calculating a square root is an easy or difficult thing to do. The STM chips also have nice peripherals. But I haven’t really fiddled around with those.\n
      \n
      Definitely hope you’ll have fun being involved in that STEM program.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1693999848 {#4363
      date: 2023-09-06 13:30:48.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Saigonauticon@voltage.vn"
      "@rufus@discuss.tchncs.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4360 …}
    +nested: Doctrine\ORM\PersistentCollection {#4357 …}
    +votes: Doctrine\ORM\PersistentCollection {#4355 …}
    +reports: Doctrine\ORM\PersistentCollection {#4369 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4371 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4373 …}
    -id: 28122
    -bodyTs: "'/wiki/scratch_(programming_language)).':18 '100':27 '240mhz':191 '32bit':277 '520kb':183 'ab':242 'abil':104 'abl':51 'abstract':66 'across':56 'add':208 'agre':284 'also':4,125,199,322 'alway':75 'amount':101 'anyway':107 'api':63 'api-lik':62 'arithmet':299 'around':332 'assign':79 'ate':126 'atmega':179 'atmel':134,262 'attini':176 'attiny10':121 'avail':259 'away':67 'book':129 'calcul':307 'case':83 'cheap':301 'chip':135,263,321 'compon':72 'concept':154 'connect':201 'constrain':115,217 'core':187 'crazi':268 'curious':86 'd':283 'datasheet':131 'definit':35,207,335 'deliber':240 'depend':192 'design':140 'difficult':315 'do/know':90 'doesn':286 'easi':313 'embed':116 'en.wikipedia.org':17 'en.wikipedia.org/wiki/scratch_(programming_language)).':16 'esp32':163 'excel':149 'extra':78 'feel':230 'fiddl':331 'float':278,297 'frequenc':269 'full':94 'fun':211,340 'generat':219 'get':53 'good':46 'guess':20 'handl':276 'haven':328 'hope':336 'hundr':235 'interest':111 'involv':342 'kilobyt':237 'know':223,305 'knowledg':103 'learn':152 'least':182 'level':71 'lifetim':138 'like':26,37,64,119,161,174,231 'll':338 'lot':123 'low':70 'low-level':69 'm':109 'mayb':48 'memori':239 'microcontrol':156,221 'mix':100 'motiv':32,41,106 'nice':197,324 'number':280 'old':178 'overestim':30 'overpow':167 'peripher':198,247,325 'point':279,298 'possibl':254 'previous':218 'probabl':147 'program':7,214,346 'python':9 'ram':185 're':50,170 'readi':80 'real':24 'realli':203,330 'resourc':114 'resource-constrain':113 'ridicul':166 'risk':25 'robot':272 'room':93 'root':310 'scratch':15 'someon':84 'someth':173 'sound':36 'spark':55 'spoil':225 'squar':309 'stem':345 'stm':320 'studen':96 'student':33,61 'subject':150 'supervillain':233 'system':117 'teach':288 'teacher':42 'thing':47,249,292,316 'think':11 'thought':144 'timer':258 'trigonometri':266 'turtl':5 'two':186 'use':171,204,243 'variant':194 'want':88 'wast':234 'well':1,143 'well-thought-out':142 'wifi':200 'work':189 'wouldn':251"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/comment/2715856"
    +editedAt: null
    +createdAt: DateTimeImmutable @1693999848 {#4366
      date: 2023-09-06 13:30:48.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4101}
  +body: """
    Good advice all around! Thanks!\n
    \n
    I’ve also messed around with the ESP8266 and various models of ESP32. Their WiFi time-of-flight stuff is *interesting*. I’ve quite a few projects with both actually! My main complaint is that the GPIO don’t behave nicely (also the esp8266 is a power hog and reboots if you screw up the network stack). They are much slower than I’d expect, and have weird states on boot. It’s not too bad to work around this stuff, but I chose the Pi Pico W so as not to have to explain it.\n
    \n
    It still blows me away that I can easily do public-private key encryption on the ESP32. And graphics. At the same time!
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1694071771 {#4385
    date: 2023-09-07 09:29:31.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Saigonauticon@voltage.vn"
    "@rufus@discuss.tchncs.de"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4382 …}
  +nested: Doctrine\ORM\PersistentCollection {#4379 …}
  +votes: Doctrine\ORM\PersistentCollection {#4377 …}
  +reports: Doctrine\ORM\PersistentCollection {#4391 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4393 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4395 …}
  -id: 28234
  -bodyTs: "'actual':36 'advic':2 'also':8,48 'around':4,10,85 'away':107 'bad':82 'behav':46 'blow':105 'boot':77 'chose':90 'complaint':39 'd':70 'easili':111 'encrypt':117 'esp32':18,120 'esp8266':13,50 'expect':71 'explain':101 'flight':24 'good':1 'gpio':43 'graphic':122 'hog':54 'interest':27 'key':116 'main':38 'mess':9 'model':16 'much':66 'network':62 'nice':47 'pi':92 'pico':93 'power':53 'privat':115 'project':33 'public':114 'public-priv':113 'quit':30 'reboot':56 'screw':59 'slower':67 'stack':63 'state':75 'still':104 'stuff':25,87 'thank':5 'time':22,126 'time-of-flight':21 'various':15 've':7,29 'w':94 'weird':74 'wifi':20 'work':84"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://voltage.vn/comment/216358"
  +editedAt: null
  +createdAt: DateTimeImmutable @1694071771 {#4388
    date: 2023-09-07 09:29:31.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
37 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
38 DENIED moderate
App\Entity\EntryComment {#4182
  +user: App\Entity\User {#4195 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Considering-positioning-strategies-for-autonomous-mechanum-wheeled-robots"
    +title: "Considering positioning strategies for autonomous mechanum-wheeled robots"
    +url: null
    +body: """
      Disclaimer: this is not *specifically* for a commercial product, but various things I design sometimes get commercialized. I mention this so that you may decide whether you want to weigh in. If it’s commercialized, I will probably make very little money but a bunch of university students may get a neat STEM program in the countryside :D\n
      \n
      That out of the way, I’ve designed some boards for a Wi-Fi controlled robot with mechanum wheels. So 4 independent motor drivers, one for each wheel, allow omnidirectional motion. It’s built around a Pi Pico W, 4 SOIC-8 9110S motor drivers, and some buck/boost converters to give the system a 5V and 12V line. It’s very basic, mostly made to be cheap. Here’s a photo:\n
      \n
      ![](https://voltage.vn/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)\n
      \n
      Right now it just receives UDP communications (a little app written in Godot) and activates the motors in different combinations – very “hello world”. I’m planning to add some autonomy to move around pre-generated maps, solve mazes, and so on.\n
      \n
      I have foolishly used 2-pin JST connectors for the motors, so using motors with rotary encoders would be a pain without ordering new boards. I’ll probably fix that in a later board revision or just hack it in. Also the routing is sloppy and there’s no ground plane. It works well enough for development and testing though :D\n
      \n
      What I’m thinking about right now, is how to let the robot position itself in a room effectively and cheaply. I was thinking of adding either a full LiDAR or building a limited LiDAR out of a servo motor and two cheap laser ToF sensors – e.g. one pointed forward, the other back, and I can sweep it 90 degrees. Since the LiDAR does not need to be fast or continuously sweep, I am leaning toward the latter approach.\n
      \n
      Then the processing is handled remotely – a server requests that the robot do a LiDAR sweep, the robot sends a minimal point cloud back to the server, which estimates the robot’s current location and sends back some instructions to move in a direction for some distance – probably this is where the lack of rotary encoders is going to hurt, but for now I’m planning on just pointing the forward laser ToF sensor towards a target and give the instruction “turn or move forward at static speed X until the sensor reads Y”, which should be pretty easy for the MCU To handle.\n
      \n
      I’m planning to control multiple robots from the same server. The robots don’t need to be super fast.\n
      \n
      What I’m currently wondering is whether my approach really needs rotary encoders in practice – I’ve heard that mechanum wheels have high enough mechanical slippage that they end up inaccurate, and designers often add another set of unpowered wheels for position tracking anyway. I don’t want to add more wheels in this way though.\n
      \n
      On the other hand, it would probably be easier to tell the MCU to “move forward X rotary encoder pulses at a velocity defined by Y pulses per second, and then check position and correct at a lower speed” than to use a pure LiDAR approach (e.g. even if rotary encoders don’t give me accurate position, on small time scales, they give me good feedback to control speed). I could possibly even send a fairly complex series of instructions in one go, making the communications efficient enough to eliminate a local server and control a ton of robots from a cloud VPS or whatever.\n
      \n
      Anyone have some experience with encoders + mechanum wheels that can offer a few tips my way? At this stage the project doesn’t have clear engineering goals and this is mostly an academic exercise. I’ve read that using a rigid chassis and minimizing the need for lateral motion can reduce slippage, reading through a few papers didn’t get me any numerical indication of what to expect.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 10
    +favouriteCount: 14
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1694071771 {#2410
      date: 2023-09-07 09:29:31.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 2057
    -titleTs: "'autonom':5 'consid':1 'mechanum':7 'mechanum-wheel':6 'posit':2 'robot':9 'strategi':3 'wheel':8"
    -bodyTs: "'-8':101 '/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)':133 '12v':116 '2':180 '4':80,99 '5v':114 '90':295 '9110s':102 'academ':633 'accur':551 'activ':148 'ad':262 'add':161,474,489 'allow':88 'also':216 'anoth':475 'anyon':601 'anyway':483 'app':143 'approach':315,448,541 'around':94,166 'autonomi':163 'back':289,339,352 'basic':121 'board':68,200,209 'buck/boost':107 'build':268 'built':93 'bunch':45 'chassi':642 'cheap':126,279 'cheapli':257 'check':527 'clear':625 'cloud':338,597 'combin':153 'commerci':8,17,35 'communic':140,581 'complex':572 'connector':183 'continu':307 'control':74,424,563,590 'convert':108 'correct':530 'could':566 'countrysid':57 'current':348,443 'd':58,236 'decid':25 'defin':519 'degre':296 'design':14,66,472 'develop':232 'didn':658 'differ':152 'direct':359 'disclaim':1 'distanc':362 'doesn':622 'driver':83,104 'e.g':283,542 'easi':414 'easier':504 'effect':255 'effici':582 'either':263 'elimin':585 'encod':192,371,452,514,546,606 'end':468 'engin':626 'enough':230,463,583 'estim':344 'even':543,568 'exercis':634 'expect':668 'experi':604 'fair':571 'fast':305,439 'feedback':561 'fi':73 'fix':204 'foolish':178 'forward':286,386,400,511 'full':265 'generat':169 'get':16,50,660 'give':110,394,549,558 'go':373,578 'goal':627 'godot':146 'good':560 'ground':225 'hack':213 'hand':499 'handl':320,419 'heard':457 'hello':155 'high':462 'hurt':375 'inaccur':470 'independ':81 'indic':664 'instruct':354,396,575 'jst':182 'lack':368 'laser':280,387 'later':208,648 'latter':314 'lean':311 'let':247 'lidar':266,271,299,330,540 'limit':270 'line':117 'littl':41,142 'll':202 'local':587 'locat':349 'lower':533 'm':158,239,380,421,442 'made':123 'make':39,579 'map':170 'may':24,49 'maze':172 'mcu':417,508 'mechan':464 'mechanum':77,459,607 'mention':19 'minim':336,644 'money':42 'most':122,631 'motion':90,649 'motor':82,103,150,186,189,276 'move':165,356,399,510 'multipl':425 'neat':52 'need':302,435,450,646 'new':199 'numer':663 'offer':611 'often':473 'omnidirect':89 'one':84,284,577 'order':198 'pain':196 'paper':657 'per':523 'photo':130 'pi':96 'pico':97 'pin':181 'plan':159,381,422 'plane':226 'point':285,337,384 'posit':250,481,528,552 'possibl':567 'practic':454 'pre':168 'pre-gener':167 'pretti':413 'probabl':38,203,363,502 'process':318 'product':9 'program':54 'project':621 'puls':515,522 'pure':539 'read':408,637,653 'realli':449 'receiv':138 'reduc':651 'remot':321 'request':324 'revis':210 'right':134,242 'rigid':641 'robot':75,249,327,333,346,426,432,594 'room':254 'rotari':191,370,451,513,545 'rout':218 'scale':556 'second':524 'send':334,351,569 'sensor':282,389,407 'seri':573 'server':323,342,430,588 'servo':275 'set':476 'sinc':297 'slippag':465,652 'sloppi':220 'small':554 'soic':100 'solv':171 'sometim':15 'specif':5 'speed':403,534,564 'stage':619 'static':402 'stem':53 'student':48 'super':438 'sweep':293,308,331 'system':112 'target':392 'tell':506 'test':234 'thing':12 'think':240,260 'though':235,495 'time':555 'tip':614 'tof':281,388 'ton':592 'toward':312,390 'track':482 'turn':397 'two':278 'udp':139 'univers':47 'unpow':478 'use':179,188,537,639 'various':11 've':65,456,636 'veloc':518 'voltage.vn':132 'voltage.vn/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)':131 'vps':598 'w':98 'want':28,487 'way':63,494,616 'weigh':30 'well':229 'whatev':600 'wheel':78,87,460,479,491,608 'whether':26,446 'wi':72 'wi-fi':71 'without':197 'wonder':444 'work':228 'world':156 'would':193,501 'written':144 'x':404,512 'y':409,521"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1693616717
    +visibility: "visible             "
    +apId: "https://voltage.vn/post/18974"
    +editedAt: DateTimeImmutable @1693550651 {#1850
      date: 2023-09-01 08:44:11.0 +02:00
    }
    +createdAt: DateTimeImmutable @1693550217 {#2420
      date: 2023-09-01 08:36:57.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: null
  +root: null
  +body: "Even though you add encoders on the wheels it’s still an open loop locomotion method, you need the room to have a feedback of the position on the plane/in the space"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1693906728 {#4177
    date: 2023-09-05 11:38:48.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Saigonauticon@voltage.vn"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4183 …}
  +nested: Doctrine\ORM\PersistentCollection {#4185 …}
  +votes: Doctrine\ORM\PersistentCollection {#4187 …}
  +reports: Doctrine\ORM\PersistentCollection {#4189 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4191 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4193 …}
  -id: 27587
  -bodyTs: "'add':4 'encod':5 'even':1 'feedback':24 'locomot':15 'loop':14 'method':16 'need':18 'open':13 'plane/in':30 'posit':27 'room':20 'space':32 'still':11 'though':2 'wheel':8"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/3015237"
  +editedAt: null
  +createdAt: DateTimeImmutable @1693561111 {#4178
    date: 2023-09-01 11:38:31.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
39 DENIED edit
App\Entity\EntryComment {#4182
  +user: App\Entity\User {#4195 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Considering-positioning-strategies-for-autonomous-mechanum-wheeled-robots"
    +title: "Considering positioning strategies for autonomous mechanum-wheeled robots"
    +url: null
    +body: """
      Disclaimer: this is not *specifically* for a commercial product, but various things I design sometimes get commercialized. I mention this so that you may decide whether you want to weigh in. If it’s commercialized, I will probably make very little money but a bunch of university students may get a neat STEM program in the countryside :D\n
      \n
      That out of the way, I’ve designed some boards for a Wi-Fi controlled robot with mechanum wheels. So 4 independent motor drivers, one for each wheel, allow omnidirectional motion. It’s built around a Pi Pico W, 4 SOIC-8 9110S motor drivers, and some buck/boost converters to give the system a 5V and 12V line. It’s very basic, mostly made to be cheap. Here’s a photo:\n
      \n
      ![](https://voltage.vn/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)\n
      \n
      Right now it just receives UDP communications (a little app written in Godot) and activates the motors in different combinations – very “hello world”. I’m planning to add some autonomy to move around pre-generated maps, solve mazes, and so on.\n
      \n
      I have foolishly used 2-pin JST connectors for the motors, so using motors with rotary encoders would be a pain without ordering new boards. I’ll probably fix that in a later board revision or just hack it in. Also the routing is sloppy and there’s no ground plane. It works well enough for development and testing though :D\n
      \n
      What I’m thinking about right now, is how to let the robot position itself in a room effectively and cheaply. I was thinking of adding either a full LiDAR or building a limited LiDAR out of a servo motor and two cheap laser ToF sensors – e.g. one pointed forward, the other back, and I can sweep it 90 degrees. Since the LiDAR does not need to be fast or continuously sweep, I am leaning toward the latter approach.\n
      \n
      Then the processing is handled remotely – a server requests that the robot do a LiDAR sweep, the robot sends a minimal point cloud back to the server, which estimates the robot’s current location and sends back some instructions to move in a direction for some distance – probably this is where the lack of rotary encoders is going to hurt, but for now I’m planning on just pointing the forward laser ToF sensor towards a target and give the instruction “turn or move forward at static speed X until the sensor reads Y”, which should be pretty easy for the MCU To handle.\n
      \n
      I’m planning to control multiple robots from the same server. The robots don’t need to be super fast.\n
      \n
      What I’m currently wondering is whether my approach really needs rotary encoders in practice – I’ve heard that mechanum wheels have high enough mechanical slippage that they end up inaccurate, and designers often add another set of unpowered wheels for position tracking anyway. I don’t want to add more wheels in this way though.\n
      \n
      On the other hand, it would probably be easier to tell the MCU to “move forward X rotary encoder pulses at a velocity defined by Y pulses per second, and then check position and correct at a lower speed” than to use a pure LiDAR approach (e.g. even if rotary encoders don’t give me accurate position, on small time scales, they give me good feedback to control speed). I could possibly even send a fairly complex series of instructions in one go, making the communications efficient enough to eliminate a local server and control a ton of robots from a cloud VPS or whatever.\n
      \n
      Anyone have some experience with encoders + mechanum wheels that can offer a few tips my way? At this stage the project doesn’t have clear engineering goals and this is mostly an academic exercise. I’ve read that using a rigid chassis and minimizing the need for lateral motion can reduce slippage, reading through a few papers didn’t get me any numerical indication of what to expect.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 10
    +favouriteCount: 14
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1694071771 {#2410
      date: 2023-09-07 09:29:31.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 2057
    -titleTs: "'autonom':5 'consid':1 'mechanum':7 'mechanum-wheel':6 'posit':2 'robot':9 'strategi':3 'wheel':8"
    -bodyTs: "'-8':101 '/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)':133 '12v':116 '2':180 '4':80,99 '5v':114 '90':295 '9110s':102 'academ':633 'accur':551 'activ':148 'ad':262 'add':161,474,489 'allow':88 'also':216 'anoth':475 'anyon':601 'anyway':483 'app':143 'approach':315,448,541 'around':94,166 'autonomi':163 'back':289,339,352 'basic':121 'board':68,200,209 'buck/boost':107 'build':268 'built':93 'bunch':45 'chassi':642 'cheap':126,279 'cheapli':257 'check':527 'clear':625 'cloud':338,597 'combin':153 'commerci':8,17,35 'communic':140,581 'complex':572 'connector':183 'continu':307 'control':74,424,563,590 'convert':108 'correct':530 'could':566 'countrysid':57 'current':348,443 'd':58,236 'decid':25 'defin':519 'degre':296 'design':14,66,472 'develop':232 'didn':658 'differ':152 'direct':359 'disclaim':1 'distanc':362 'doesn':622 'driver':83,104 'e.g':283,542 'easi':414 'easier':504 'effect':255 'effici':582 'either':263 'elimin':585 'encod':192,371,452,514,546,606 'end':468 'engin':626 'enough':230,463,583 'estim':344 'even':543,568 'exercis':634 'expect':668 'experi':604 'fair':571 'fast':305,439 'feedback':561 'fi':73 'fix':204 'foolish':178 'forward':286,386,400,511 'full':265 'generat':169 'get':16,50,660 'give':110,394,549,558 'go':373,578 'goal':627 'godot':146 'good':560 'ground':225 'hack':213 'hand':499 'handl':320,419 'heard':457 'hello':155 'high':462 'hurt':375 'inaccur':470 'independ':81 'indic':664 'instruct':354,396,575 'jst':182 'lack':368 'laser':280,387 'later':208,648 'latter':314 'lean':311 'let':247 'lidar':266,271,299,330,540 'limit':270 'line':117 'littl':41,142 'll':202 'local':587 'locat':349 'lower':533 'm':158,239,380,421,442 'made':123 'make':39,579 'map':170 'may':24,49 'maze':172 'mcu':417,508 'mechan':464 'mechanum':77,459,607 'mention':19 'minim':336,644 'money':42 'most':122,631 'motion':90,649 'motor':82,103,150,186,189,276 'move':165,356,399,510 'multipl':425 'neat':52 'need':302,435,450,646 'new':199 'numer':663 'offer':611 'often':473 'omnidirect':89 'one':84,284,577 'order':198 'pain':196 'paper':657 'per':523 'photo':130 'pi':96 'pico':97 'pin':181 'plan':159,381,422 'plane':226 'point':285,337,384 'posit':250,481,528,552 'possibl':567 'practic':454 'pre':168 'pre-gener':167 'pretti':413 'probabl':38,203,363,502 'process':318 'product':9 'program':54 'project':621 'puls':515,522 'pure':539 'read':408,637,653 'realli':449 'receiv':138 'reduc':651 'remot':321 'request':324 'revis':210 'right':134,242 'rigid':641 'robot':75,249,327,333,346,426,432,594 'room':254 'rotari':191,370,451,513,545 'rout':218 'scale':556 'second':524 'send':334,351,569 'sensor':282,389,407 'seri':573 'server':323,342,430,588 'servo':275 'set':476 'sinc':297 'slippag':465,652 'sloppi':220 'small':554 'soic':100 'solv':171 'sometim':15 'specif':5 'speed':403,534,564 'stage':619 'static':402 'stem':53 'student':48 'super':438 'sweep':293,308,331 'system':112 'target':392 'tell':506 'test':234 'thing':12 'think':240,260 'though':235,495 'time':555 'tip':614 'tof':281,388 'ton':592 'toward':312,390 'track':482 'turn':397 'two':278 'udp':139 'univers':47 'unpow':478 'use':179,188,537,639 'various':11 've':65,456,636 'veloc':518 'voltage.vn':132 'voltage.vn/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)':131 'vps':598 'w':98 'want':28,487 'way':63,494,616 'weigh':30 'well':229 'whatev':600 'wheel':78,87,460,479,491,608 'whether':26,446 'wi':72 'wi-fi':71 'without':197 'wonder':444 'work':228 'world':156 'would':193,501 'written':144 'x':404,512 'y':409,521"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1693616717
    +visibility: "visible             "
    +apId: "https://voltage.vn/post/18974"
    +editedAt: DateTimeImmutable @1693550651 {#1850
      date: 2023-09-01 08:44:11.0 +02:00
    }
    +createdAt: DateTimeImmutable @1693550217 {#2420
      date: 2023-09-01 08:36:57.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: null
  +root: null
  +body: "Even though you add encoders on the wheels it’s still an open loop locomotion method, you need the room to have a feedback of the position on the plane/in the space"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1693906728 {#4177
    date: 2023-09-05 11:38:48.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Saigonauticon@voltage.vn"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4183 …}
  +nested: Doctrine\ORM\PersistentCollection {#4185 …}
  +votes: Doctrine\ORM\PersistentCollection {#4187 …}
  +reports: Doctrine\ORM\PersistentCollection {#4189 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4191 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4193 …}
  -id: 27587
  -bodyTs: "'add':4 'encod':5 'even':1 'feedback':24 'locomot':15 'loop':14 'method':16 'need':18 'open':13 'plane/in':30 'posit':27 'room':20 'space':32 'still':11 'though':2 'wheel':8"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/3015237"
  +editedAt: null
  +createdAt: DateTimeImmutable @1693561111 {#4178
    date: 2023-09-01 11:38:31.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
40 DENIED moderate
App\Entity\EntryComment {#4182
  +user: App\Entity\User {#4195 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Considering-positioning-strategies-for-autonomous-mechanum-wheeled-robots"
    +title: "Considering positioning strategies for autonomous mechanum-wheeled robots"
    +url: null
    +body: """
      Disclaimer: this is not *specifically* for a commercial product, but various things I design sometimes get commercialized. I mention this so that you may decide whether you want to weigh in. If it’s commercialized, I will probably make very little money but a bunch of university students may get a neat STEM program in the countryside :D\n
      \n
      That out of the way, I’ve designed some boards for a Wi-Fi controlled robot with mechanum wheels. So 4 independent motor drivers, one for each wheel, allow omnidirectional motion. It’s built around a Pi Pico W, 4 SOIC-8 9110S motor drivers, and some buck/boost converters to give the system a 5V and 12V line. It’s very basic, mostly made to be cheap. Here’s a photo:\n
      \n
      ![](https://voltage.vn/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)\n
      \n
      Right now it just receives UDP communications (a little app written in Godot) and activates the motors in different combinations – very “hello world”. I’m planning to add some autonomy to move around pre-generated maps, solve mazes, and so on.\n
      \n
      I have foolishly used 2-pin JST connectors for the motors, so using motors with rotary encoders would be a pain without ordering new boards. I’ll probably fix that in a later board revision or just hack it in. Also the routing is sloppy and there’s no ground plane. It works well enough for development and testing though :D\n
      \n
      What I’m thinking about right now, is how to let the robot position itself in a room effectively and cheaply. I was thinking of adding either a full LiDAR or building a limited LiDAR out of a servo motor and two cheap laser ToF sensors – e.g. one pointed forward, the other back, and I can sweep it 90 degrees. Since the LiDAR does not need to be fast or continuously sweep, I am leaning toward the latter approach.\n
      \n
      Then the processing is handled remotely – a server requests that the robot do a LiDAR sweep, the robot sends a minimal point cloud back to the server, which estimates the robot’s current location and sends back some instructions to move in a direction for some distance – probably this is where the lack of rotary encoders is going to hurt, but for now I’m planning on just pointing the forward laser ToF sensor towards a target and give the instruction “turn or move forward at static speed X until the sensor reads Y”, which should be pretty easy for the MCU To handle.\n
      \n
      I’m planning to control multiple robots from the same server. The robots don’t need to be super fast.\n
      \n
      What I’m currently wondering is whether my approach really needs rotary encoders in practice – I’ve heard that mechanum wheels have high enough mechanical slippage that they end up inaccurate, and designers often add another set of unpowered wheels for position tracking anyway. I don’t want to add more wheels in this way though.\n
      \n
      On the other hand, it would probably be easier to tell the MCU to “move forward X rotary encoder pulses at a velocity defined by Y pulses per second, and then check position and correct at a lower speed” than to use a pure LiDAR approach (e.g. even if rotary encoders don’t give me accurate position, on small time scales, they give me good feedback to control speed). I could possibly even send a fairly complex series of instructions in one go, making the communications efficient enough to eliminate a local server and control a ton of robots from a cloud VPS or whatever.\n
      \n
      Anyone have some experience with encoders + mechanum wheels that can offer a few tips my way? At this stage the project doesn’t have clear engineering goals and this is mostly an academic exercise. I’ve read that using a rigid chassis and minimizing the need for lateral motion can reduce slippage, reading through a few papers didn’t get me any numerical indication of what to expect.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 10
    +favouriteCount: 14
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1694071771 {#2410
      date: 2023-09-07 09:29:31.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 2057
    -titleTs: "'autonom':5 'consid':1 'mechanum':7 'mechanum-wheel':6 'posit':2 'robot':9 'strategi':3 'wheel':8"
    -bodyTs: "'-8':101 '/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)':133 '12v':116 '2':180 '4':80,99 '5v':114 '90':295 '9110s':102 'academ':633 'accur':551 'activ':148 'ad':262 'add':161,474,489 'allow':88 'also':216 'anoth':475 'anyon':601 'anyway':483 'app':143 'approach':315,448,541 'around':94,166 'autonomi':163 'back':289,339,352 'basic':121 'board':68,200,209 'buck/boost':107 'build':268 'built':93 'bunch':45 'chassi':642 'cheap':126,279 'cheapli':257 'check':527 'clear':625 'cloud':338,597 'combin':153 'commerci':8,17,35 'communic':140,581 'complex':572 'connector':183 'continu':307 'control':74,424,563,590 'convert':108 'correct':530 'could':566 'countrysid':57 'current':348,443 'd':58,236 'decid':25 'defin':519 'degre':296 'design':14,66,472 'develop':232 'didn':658 'differ':152 'direct':359 'disclaim':1 'distanc':362 'doesn':622 'driver':83,104 'e.g':283,542 'easi':414 'easier':504 'effect':255 'effici':582 'either':263 'elimin':585 'encod':192,371,452,514,546,606 'end':468 'engin':626 'enough':230,463,583 'estim':344 'even':543,568 'exercis':634 'expect':668 'experi':604 'fair':571 'fast':305,439 'feedback':561 'fi':73 'fix':204 'foolish':178 'forward':286,386,400,511 'full':265 'generat':169 'get':16,50,660 'give':110,394,549,558 'go':373,578 'goal':627 'godot':146 'good':560 'ground':225 'hack':213 'hand':499 'handl':320,419 'heard':457 'hello':155 'high':462 'hurt':375 'inaccur':470 'independ':81 'indic':664 'instruct':354,396,575 'jst':182 'lack':368 'laser':280,387 'later':208,648 'latter':314 'lean':311 'let':247 'lidar':266,271,299,330,540 'limit':270 'line':117 'littl':41,142 'll':202 'local':587 'locat':349 'lower':533 'm':158,239,380,421,442 'made':123 'make':39,579 'map':170 'may':24,49 'maze':172 'mcu':417,508 'mechan':464 'mechanum':77,459,607 'mention':19 'minim':336,644 'money':42 'most':122,631 'motion':90,649 'motor':82,103,150,186,189,276 'move':165,356,399,510 'multipl':425 'neat':52 'need':302,435,450,646 'new':199 'numer':663 'offer':611 'often':473 'omnidirect':89 'one':84,284,577 'order':198 'pain':196 'paper':657 'per':523 'photo':130 'pi':96 'pico':97 'pin':181 'plan':159,381,422 'plane':226 'point':285,337,384 'posit':250,481,528,552 'possibl':567 'practic':454 'pre':168 'pre-gener':167 'pretti':413 'probabl':38,203,363,502 'process':318 'product':9 'program':54 'project':621 'puls':515,522 'pure':539 'read':408,637,653 'realli':449 'receiv':138 'reduc':651 'remot':321 'request':324 'revis':210 'right':134,242 'rigid':641 'robot':75,249,327,333,346,426,432,594 'room':254 'rotari':191,370,451,513,545 'rout':218 'scale':556 'second':524 'send':334,351,569 'sensor':282,389,407 'seri':573 'server':323,342,430,588 'servo':275 'set':476 'sinc':297 'slippag':465,652 'sloppi':220 'small':554 'soic':100 'solv':171 'sometim':15 'specif':5 'speed':403,534,564 'stage':619 'static':402 'stem':53 'student':48 'super':438 'sweep':293,308,331 'system':112 'target':392 'tell':506 'test':234 'thing':12 'think':240,260 'though':235,495 'time':555 'tip':614 'tof':281,388 'ton':592 'toward':312,390 'track':482 'turn':397 'two':278 'udp':139 'univers':47 'unpow':478 'use':179,188,537,639 'various':11 've':65,456,636 'veloc':518 'voltage.vn':132 'voltage.vn/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)':131 'vps':598 'w':98 'want':28,487 'way':63,494,616 'weigh':30 'well':229 'whatev':600 'wheel':78,87,460,479,491,608 'whether':26,446 'wi':72 'wi-fi':71 'without':197 'wonder':444 'work':228 'world':156 'would':193,501 'written':144 'x':404,512 'y':409,521"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1693616717
    +visibility: "visible             "
    +apId: "https://voltage.vn/post/18974"
    +editedAt: DateTimeImmutable @1693550651 {#1850
      date: 2023-09-01 08:44:11.0 +02:00
    }
    +createdAt: DateTimeImmutable @1693550217 {#2420
      date: 2023-09-01 08:36:57.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: null
  +root: null
  +body: "Even though you add encoders on the wheels it’s still an open loop locomotion method, you need the room to have a feedback of the position on the plane/in the space"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1693906728 {#4177
    date: 2023-09-05 11:38:48.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Saigonauticon@voltage.vn"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4183 …}
  +nested: Doctrine\ORM\PersistentCollection {#4185 …}
  +votes: Doctrine\ORM\PersistentCollection {#4187 …}
  +reports: Doctrine\ORM\PersistentCollection {#4189 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4191 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4193 …}
  -id: 27587
  -bodyTs: "'add':4 'encod':5 'even':1 'feedback':24 'locomot':15 'loop':14 'method':16 'need':18 'open':13 'plane/in':30 'posit':27 'room':20 'space':32 'still':11 'though':2 'wheel':8"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/3015237"
  +editedAt: null
  +createdAt: DateTimeImmutable @1693561111 {#4178
    date: 2023-09-01 11:38:31.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
41 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
42 DENIED moderate
App\Entity\EntryComment {#4266
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Considering-positioning-strategies-for-autonomous-mechanum-wheeled-robots"
    +title: "Considering positioning strategies for autonomous mechanum-wheeled robots"
    +url: null
    +body: """
      Disclaimer: this is not *specifically* for a commercial product, but various things I design sometimes get commercialized. I mention this so that you may decide whether you want to weigh in. If it’s commercialized, I will probably make very little money but a bunch of university students may get a neat STEM program in the countryside :D\n
      \n
      That out of the way, I’ve designed some boards for a Wi-Fi controlled robot with mechanum wheels. So 4 independent motor drivers, one for each wheel, allow omnidirectional motion. It’s built around a Pi Pico W, 4 SOIC-8 9110S motor drivers, and some buck/boost converters to give the system a 5V and 12V line. It’s very basic, mostly made to be cheap. Here’s a photo:\n
      \n
      ![](https://voltage.vn/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)\n
      \n
      Right now it just receives UDP communications (a little app written in Godot) and activates the motors in different combinations – very “hello world”. I’m planning to add some autonomy to move around pre-generated maps, solve mazes, and so on.\n
      \n
      I have foolishly used 2-pin JST connectors for the motors, so using motors with rotary encoders would be a pain without ordering new boards. I’ll probably fix that in a later board revision or just hack it in. Also the routing is sloppy and there’s no ground plane. It works well enough for development and testing though :D\n
      \n
      What I’m thinking about right now, is how to let the robot position itself in a room effectively and cheaply. I was thinking of adding either a full LiDAR or building a limited LiDAR out of a servo motor and two cheap laser ToF sensors – e.g. one pointed forward, the other back, and I can sweep it 90 degrees. Since the LiDAR does not need to be fast or continuously sweep, I am leaning toward the latter approach.\n
      \n
      Then the processing is handled remotely – a server requests that the robot do a LiDAR sweep, the robot sends a minimal point cloud back to the server, which estimates the robot’s current location and sends back some instructions to move in a direction for some distance – probably this is where the lack of rotary encoders is going to hurt, but for now I’m planning on just pointing the forward laser ToF sensor towards a target and give the instruction “turn or move forward at static speed X until the sensor reads Y”, which should be pretty easy for the MCU To handle.\n
      \n
      I’m planning to control multiple robots from the same server. The robots don’t need to be super fast.\n
      \n
      What I’m currently wondering is whether my approach really needs rotary encoders in practice – I’ve heard that mechanum wheels have high enough mechanical slippage that they end up inaccurate, and designers often add another set of unpowered wheels for position tracking anyway. I don’t want to add more wheels in this way though.\n
      \n
      On the other hand, it would probably be easier to tell the MCU to “move forward X rotary encoder pulses at a velocity defined by Y pulses per second, and then check position and correct at a lower speed” than to use a pure LiDAR approach (e.g. even if rotary encoders don’t give me accurate position, on small time scales, they give me good feedback to control speed). I could possibly even send a fairly complex series of instructions in one go, making the communications efficient enough to eliminate a local server and control a ton of robots from a cloud VPS or whatever.\n
      \n
      Anyone have some experience with encoders + mechanum wheels that can offer a few tips my way? At this stage the project doesn’t have clear engineering goals and this is mostly an academic exercise. I’ve read that using a rigid chassis and minimizing the need for lateral motion can reduce slippage, reading through a few papers didn’t get me any numerical indication of what to expect.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 10
    +favouriteCount: 14
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1694071771 {#2410
      date: 2023-09-07 09:29:31.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 2057
    -titleTs: "'autonom':5 'consid':1 'mechanum':7 'mechanum-wheel':6 'posit':2 'robot':9 'strategi':3 'wheel':8"
    -bodyTs: "'-8':101 '/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)':133 '12v':116 '2':180 '4':80,99 '5v':114 '90':295 '9110s':102 'academ':633 'accur':551 'activ':148 'ad':262 'add':161,474,489 'allow':88 'also':216 'anoth':475 'anyon':601 'anyway':483 'app':143 'approach':315,448,541 'around':94,166 'autonomi':163 'back':289,339,352 'basic':121 'board':68,200,209 'buck/boost':107 'build':268 'built':93 'bunch':45 'chassi':642 'cheap':126,279 'cheapli':257 'check':527 'clear':625 'cloud':338,597 'combin':153 'commerci':8,17,35 'communic':140,581 'complex':572 'connector':183 'continu':307 'control':74,424,563,590 'convert':108 'correct':530 'could':566 'countrysid':57 'current':348,443 'd':58,236 'decid':25 'defin':519 'degre':296 'design':14,66,472 'develop':232 'didn':658 'differ':152 'direct':359 'disclaim':1 'distanc':362 'doesn':622 'driver':83,104 'e.g':283,542 'easi':414 'easier':504 'effect':255 'effici':582 'either':263 'elimin':585 'encod':192,371,452,514,546,606 'end':468 'engin':626 'enough':230,463,583 'estim':344 'even':543,568 'exercis':634 'expect':668 'experi':604 'fair':571 'fast':305,439 'feedback':561 'fi':73 'fix':204 'foolish':178 'forward':286,386,400,511 'full':265 'generat':169 'get':16,50,660 'give':110,394,549,558 'go':373,578 'goal':627 'godot':146 'good':560 'ground':225 'hack':213 'hand':499 'handl':320,419 'heard':457 'hello':155 'high':462 'hurt':375 'inaccur':470 'independ':81 'indic':664 'instruct':354,396,575 'jst':182 'lack':368 'laser':280,387 'later':208,648 'latter':314 'lean':311 'let':247 'lidar':266,271,299,330,540 'limit':270 'line':117 'littl':41,142 'll':202 'local':587 'locat':349 'lower':533 'm':158,239,380,421,442 'made':123 'make':39,579 'map':170 'may':24,49 'maze':172 'mcu':417,508 'mechan':464 'mechanum':77,459,607 'mention':19 'minim':336,644 'money':42 'most':122,631 'motion':90,649 'motor':82,103,150,186,189,276 'move':165,356,399,510 'multipl':425 'neat':52 'need':302,435,450,646 'new':199 'numer':663 'offer':611 'often':473 'omnidirect':89 'one':84,284,577 'order':198 'pain':196 'paper':657 'per':523 'photo':130 'pi':96 'pico':97 'pin':181 'plan':159,381,422 'plane':226 'point':285,337,384 'posit':250,481,528,552 'possibl':567 'practic':454 'pre':168 'pre-gener':167 'pretti':413 'probabl':38,203,363,502 'process':318 'product':9 'program':54 'project':621 'puls':515,522 'pure':539 'read':408,637,653 'realli':449 'receiv':138 'reduc':651 'remot':321 'request':324 'revis':210 'right':134,242 'rigid':641 'robot':75,249,327,333,346,426,432,594 'room':254 'rotari':191,370,451,513,545 'rout':218 'scale':556 'second':524 'send':334,351,569 'sensor':282,389,407 'seri':573 'server':323,342,430,588 'servo':275 'set':476 'sinc':297 'slippag':465,652 'sloppi':220 'small':554 'soic':100 'solv':171 'sometim':15 'specif':5 'speed':403,534,564 'stage':619 'static':402 'stem':53 'student':48 'super':438 'sweep':293,308,331 'system':112 'target':392 'tell':506 'test':234 'thing':12 'think':240,260 'though':235,495 'time':555 'tip':614 'tof':281,388 'ton':592 'toward':312,390 'track':482 'turn':397 'two':278 'udp':139 'univers':47 'unpow':478 'use':179,188,537,639 'various':11 've':65,456,636 'veloc':518 'voltage.vn':132 'voltage.vn/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)':131 'vps':598 'w':98 'want':28,487 'way':63,494,616 'weigh':30 'well':229 'whatev':600 'wheel':78,87,460,479,491,608 'whether':26,446 'wi':72 'wi-fi':71 'without':197 'wonder':444 'work':228 'world':156 'would':193,501 'written':144 'x':404,512 'y':409,521"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1693616717
    +visibility: "visible             "
    +apId: "https://voltage.vn/post/18974"
    +editedAt: DateTimeImmutable @1693550651 {#1850
      date: 2023-09-01 08:44:11.0 +02:00
    }
    +createdAt: DateTimeImmutable @1693550217 {#2420
      date: 2023-09-01 08:36:57.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4182
    +user: App\Entity\User {#4195 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Even though you add encoders on the wheels it’s still an open loop locomotion method, you need the room to have a feedback of the position on the plane/in the space"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1693906728 {#4177
      date: 2023-09-05 11:38:48.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Saigonauticon@voltage.vn"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4183 …}
    +nested: Doctrine\ORM\PersistentCollection {#4185 …}
    +votes: Doctrine\ORM\PersistentCollection {#4187 …}
    +reports: Doctrine\ORM\PersistentCollection {#4189 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4191 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4193 …}
    -id: 27587
    -bodyTs: "'add':4 'encod':5 'even':1 'feedback':24 'locomot':15 'loop':14 'method':16 'need':18 'open':13 'plane/in':30 'posit':27 'room':20 'space':32 'still':11 'though':2 'wheel':8"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/3015237"
    +editedAt: null
    +createdAt: DateTimeImmutable @1693561111 {#4178
      date: 2023-09-01 11:38:31.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4182}
  +body: "Yup. Agree. Probably going to go with a LiDAR-first approach."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1693906726 {#4267
    date: 2023-09-05 11:38:46.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Saigonauticon@voltage.vn"
    "@Sieguito@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4263 …}
  +nested: Doctrine\ORM\PersistentCollection {#4259 …}
  +votes: Doctrine\ORM\PersistentCollection {#4257 …}
  +reports: Doctrine\ORM\PersistentCollection {#4272 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4274 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4276 …}
  -id: 28064
  -bodyTs: "'agre':2 'approach':12 'first':11 'go':4,6 'lidar':10 'lidar-first':9 'probabl':3 'yup':1"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://voltage.vn/comment/212524"
  +editedAt: null
  +createdAt: DateTimeImmutable @1693906726 {#4270
    date: 2023-09-05 11:38:46.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
43 DENIED edit
App\Entity\EntryComment {#4266
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Considering-positioning-strategies-for-autonomous-mechanum-wheeled-robots"
    +title: "Considering positioning strategies for autonomous mechanum-wheeled robots"
    +url: null
    +body: """
      Disclaimer: this is not *specifically* for a commercial product, but various things I design sometimes get commercialized. I mention this so that you may decide whether you want to weigh in. If it’s commercialized, I will probably make very little money but a bunch of university students may get a neat STEM program in the countryside :D\n
      \n
      That out of the way, I’ve designed some boards for a Wi-Fi controlled robot with mechanum wheels. So 4 independent motor drivers, one for each wheel, allow omnidirectional motion. It’s built around a Pi Pico W, 4 SOIC-8 9110S motor drivers, and some buck/boost converters to give the system a 5V and 12V line. It’s very basic, mostly made to be cheap. Here’s a photo:\n
      \n
      ![](https://voltage.vn/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)\n
      \n
      Right now it just receives UDP communications (a little app written in Godot) and activates the motors in different combinations – very “hello world”. I’m planning to add some autonomy to move around pre-generated maps, solve mazes, and so on.\n
      \n
      I have foolishly used 2-pin JST connectors for the motors, so using motors with rotary encoders would be a pain without ordering new boards. I’ll probably fix that in a later board revision or just hack it in. Also the routing is sloppy and there’s no ground plane. It works well enough for development and testing though :D\n
      \n
      What I’m thinking about right now, is how to let the robot position itself in a room effectively and cheaply. I was thinking of adding either a full LiDAR or building a limited LiDAR out of a servo motor and two cheap laser ToF sensors – e.g. one pointed forward, the other back, and I can sweep it 90 degrees. Since the LiDAR does not need to be fast or continuously sweep, I am leaning toward the latter approach.\n
      \n
      Then the processing is handled remotely – a server requests that the robot do a LiDAR sweep, the robot sends a minimal point cloud back to the server, which estimates the robot’s current location and sends back some instructions to move in a direction for some distance – probably this is where the lack of rotary encoders is going to hurt, but for now I’m planning on just pointing the forward laser ToF sensor towards a target and give the instruction “turn or move forward at static speed X until the sensor reads Y”, which should be pretty easy for the MCU To handle.\n
      \n
      I’m planning to control multiple robots from the same server. The robots don’t need to be super fast.\n
      \n
      What I’m currently wondering is whether my approach really needs rotary encoders in practice – I’ve heard that mechanum wheels have high enough mechanical slippage that they end up inaccurate, and designers often add another set of unpowered wheels for position tracking anyway. I don’t want to add more wheels in this way though.\n
      \n
      On the other hand, it would probably be easier to tell the MCU to “move forward X rotary encoder pulses at a velocity defined by Y pulses per second, and then check position and correct at a lower speed” than to use a pure LiDAR approach (e.g. even if rotary encoders don’t give me accurate position, on small time scales, they give me good feedback to control speed). I could possibly even send a fairly complex series of instructions in one go, making the communications efficient enough to eliminate a local server and control a ton of robots from a cloud VPS or whatever.\n
      \n
      Anyone have some experience with encoders + mechanum wheels that can offer a few tips my way? At this stage the project doesn’t have clear engineering goals and this is mostly an academic exercise. I’ve read that using a rigid chassis and minimizing the need for lateral motion can reduce slippage, reading through a few papers didn’t get me any numerical indication of what to expect.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 10
    +favouriteCount: 14
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1694071771 {#2410
      date: 2023-09-07 09:29:31.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 2057
    -titleTs: "'autonom':5 'consid':1 'mechanum':7 'mechanum-wheel':6 'posit':2 'robot':9 'strategi':3 'wheel':8"
    -bodyTs: "'-8':101 '/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)':133 '12v':116 '2':180 '4':80,99 '5v':114 '90':295 '9110s':102 'academ':633 'accur':551 'activ':148 'ad':262 'add':161,474,489 'allow':88 'also':216 'anoth':475 'anyon':601 'anyway':483 'app':143 'approach':315,448,541 'around':94,166 'autonomi':163 'back':289,339,352 'basic':121 'board':68,200,209 'buck/boost':107 'build':268 'built':93 'bunch':45 'chassi':642 'cheap':126,279 'cheapli':257 'check':527 'clear':625 'cloud':338,597 'combin':153 'commerci':8,17,35 'communic':140,581 'complex':572 'connector':183 'continu':307 'control':74,424,563,590 'convert':108 'correct':530 'could':566 'countrysid':57 'current':348,443 'd':58,236 'decid':25 'defin':519 'degre':296 'design':14,66,472 'develop':232 'didn':658 'differ':152 'direct':359 'disclaim':1 'distanc':362 'doesn':622 'driver':83,104 'e.g':283,542 'easi':414 'easier':504 'effect':255 'effici':582 'either':263 'elimin':585 'encod':192,371,452,514,546,606 'end':468 'engin':626 'enough':230,463,583 'estim':344 'even':543,568 'exercis':634 'expect':668 'experi':604 'fair':571 'fast':305,439 'feedback':561 'fi':73 'fix':204 'foolish':178 'forward':286,386,400,511 'full':265 'generat':169 'get':16,50,660 'give':110,394,549,558 'go':373,578 'goal':627 'godot':146 'good':560 'ground':225 'hack':213 'hand':499 'handl':320,419 'heard':457 'hello':155 'high':462 'hurt':375 'inaccur':470 'independ':81 'indic':664 'instruct':354,396,575 'jst':182 'lack':368 'laser':280,387 'later':208,648 'latter':314 'lean':311 'let':247 'lidar':266,271,299,330,540 'limit':270 'line':117 'littl':41,142 'll':202 'local':587 'locat':349 'lower':533 'm':158,239,380,421,442 'made':123 'make':39,579 'map':170 'may':24,49 'maze':172 'mcu':417,508 'mechan':464 'mechanum':77,459,607 'mention':19 'minim':336,644 'money':42 'most':122,631 'motion':90,649 'motor':82,103,150,186,189,276 'move':165,356,399,510 'multipl':425 'neat':52 'need':302,435,450,646 'new':199 'numer':663 'offer':611 'often':473 'omnidirect':89 'one':84,284,577 'order':198 'pain':196 'paper':657 'per':523 'photo':130 'pi':96 'pico':97 'pin':181 'plan':159,381,422 'plane':226 'point':285,337,384 'posit':250,481,528,552 'possibl':567 'practic':454 'pre':168 'pre-gener':167 'pretti':413 'probabl':38,203,363,502 'process':318 'product':9 'program':54 'project':621 'puls':515,522 'pure':539 'read':408,637,653 'realli':449 'receiv':138 'reduc':651 'remot':321 'request':324 'revis':210 'right':134,242 'rigid':641 'robot':75,249,327,333,346,426,432,594 'room':254 'rotari':191,370,451,513,545 'rout':218 'scale':556 'second':524 'send':334,351,569 'sensor':282,389,407 'seri':573 'server':323,342,430,588 'servo':275 'set':476 'sinc':297 'slippag':465,652 'sloppi':220 'small':554 'soic':100 'solv':171 'sometim':15 'specif':5 'speed':403,534,564 'stage':619 'static':402 'stem':53 'student':48 'super':438 'sweep':293,308,331 'system':112 'target':392 'tell':506 'test':234 'thing':12 'think':240,260 'though':235,495 'time':555 'tip':614 'tof':281,388 'ton':592 'toward':312,390 'track':482 'turn':397 'two':278 'udp':139 'univers':47 'unpow':478 'use':179,188,537,639 'various':11 've':65,456,636 'veloc':518 'voltage.vn':132 'voltage.vn/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)':131 'vps':598 'w':98 'want':28,487 'way':63,494,616 'weigh':30 'well':229 'whatev':600 'wheel':78,87,460,479,491,608 'whether':26,446 'wi':72 'wi-fi':71 'without':197 'wonder':444 'work':228 'world':156 'would':193,501 'written':144 'x':404,512 'y':409,521"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1693616717
    +visibility: "visible             "
    +apId: "https://voltage.vn/post/18974"
    +editedAt: DateTimeImmutable @1693550651 {#1850
      date: 2023-09-01 08:44:11.0 +02:00
    }
    +createdAt: DateTimeImmutable @1693550217 {#2420
      date: 2023-09-01 08:36:57.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4182
    +user: App\Entity\User {#4195 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Even though you add encoders on the wheels it’s still an open loop locomotion method, you need the room to have a feedback of the position on the plane/in the space"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1693906728 {#4177
      date: 2023-09-05 11:38:48.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Saigonauticon@voltage.vn"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4183 …}
    +nested: Doctrine\ORM\PersistentCollection {#4185 …}
    +votes: Doctrine\ORM\PersistentCollection {#4187 …}
    +reports: Doctrine\ORM\PersistentCollection {#4189 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4191 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4193 …}
    -id: 27587
    -bodyTs: "'add':4 'encod':5 'even':1 'feedback':24 'locomot':15 'loop':14 'method':16 'need':18 'open':13 'plane/in':30 'posit':27 'room':20 'space':32 'still':11 'though':2 'wheel':8"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/3015237"
    +editedAt: null
    +createdAt: DateTimeImmutable @1693561111 {#4178
      date: 2023-09-01 11:38:31.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4182}
  +body: "Yup. Agree. Probably going to go with a LiDAR-first approach."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1693906726 {#4267
    date: 2023-09-05 11:38:46.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Saigonauticon@voltage.vn"
    "@Sieguito@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4263 …}
  +nested: Doctrine\ORM\PersistentCollection {#4259 …}
  +votes: Doctrine\ORM\PersistentCollection {#4257 …}
  +reports: Doctrine\ORM\PersistentCollection {#4272 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4274 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4276 …}
  -id: 28064
  -bodyTs: "'agre':2 'approach':12 'first':11 'go':4,6 'lidar':10 'lidar-first':9 'probabl':3 'yup':1"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://voltage.vn/comment/212524"
  +editedAt: null
  +createdAt: DateTimeImmutable @1693906726 {#4270
    date: 2023-09-05 11:38:46.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
44 DENIED moderate
App\Entity\EntryComment {#4266
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Considering-positioning-strategies-for-autonomous-mechanum-wheeled-robots"
    +title: "Considering positioning strategies for autonomous mechanum-wheeled robots"
    +url: null
    +body: """
      Disclaimer: this is not *specifically* for a commercial product, but various things I design sometimes get commercialized. I mention this so that you may decide whether you want to weigh in. If it’s commercialized, I will probably make very little money but a bunch of university students may get a neat STEM program in the countryside :D\n
      \n
      That out of the way, I’ve designed some boards for a Wi-Fi controlled robot with mechanum wheels. So 4 independent motor drivers, one for each wheel, allow omnidirectional motion. It’s built around a Pi Pico W, 4 SOIC-8 9110S motor drivers, and some buck/boost converters to give the system a 5V and 12V line. It’s very basic, mostly made to be cheap. Here’s a photo:\n
      \n
      ![](https://voltage.vn/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)\n
      \n
      Right now it just receives UDP communications (a little app written in Godot) and activates the motors in different combinations – very “hello world”. I’m planning to add some autonomy to move around pre-generated maps, solve mazes, and so on.\n
      \n
      I have foolishly used 2-pin JST connectors for the motors, so using motors with rotary encoders would be a pain without ordering new boards. I’ll probably fix that in a later board revision or just hack it in. Also the routing is sloppy and there’s no ground plane. It works well enough for development and testing though :D\n
      \n
      What I’m thinking about right now, is how to let the robot position itself in a room effectively and cheaply. I was thinking of adding either a full LiDAR or building a limited LiDAR out of a servo motor and two cheap laser ToF sensors – e.g. one pointed forward, the other back, and I can sweep it 90 degrees. Since the LiDAR does not need to be fast or continuously sweep, I am leaning toward the latter approach.\n
      \n
      Then the processing is handled remotely – a server requests that the robot do a LiDAR sweep, the robot sends a minimal point cloud back to the server, which estimates the robot’s current location and sends back some instructions to move in a direction for some distance – probably this is where the lack of rotary encoders is going to hurt, but for now I’m planning on just pointing the forward laser ToF sensor towards a target and give the instruction “turn or move forward at static speed X until the sensor reads Y”, which should be pretty easy for the MCU To handle.\n
      \n
      I’m planning to control multiple robots from the same server. The robots don’t need to be super fast.\n
      \n
      What I’m currently wondering is whether my approach really needs rotary encoders in practice – I’ve heard that mechanum wheels have high enough mechanical slippage that they end up inaccurate, and designers often add another set of unpowered wheels for position tracking anyway. I don’t want to add more wheels in this way though.\n
      \n
      On the other hand, it would probably be easier to tell the MCU to “move forward X rotary encoder pulses at a velocity defined by Y pulses per second, and then check position and correct at a lower speed” than to use a pure LiDAR approach (e.g. even if rotary encoders don’t give me accurate position, on small time scales, they give me good feedback to control speed). I could possibly even send a fairly complex series of instructions in one go, making the communications efficient enough to eliminate a local server and control a ton of robots from a cloud VPS or whatever.\n
      \n
      Anyone have some experience with encoders + mechanum wheels that can offer a few tips my way? At this stage the project doesn’t have clear engineering goals and this is mostly an academic exercise. I’ve read that using a rigid chassis and minimizing the need for lateral motion can reduce slippage, reading through a few papers didn’t get me any numerical indication of what to expect.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 10
    +favouriteCount: 14
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1694071771 {#2410
      date: 2023-09-07 09:29:31.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 2057
    -titleTs: "'autonom':5 'consid':1 'mechanum':7 'mechanum-wheel':6 'posit':2 'robot':9 'strategi':3 'wheel':8"
    -bodyTs: "'-8':101 '/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)':133 '12v':116 '2':180 '4':80,99 '5v':114 '90':295 '9110s':102 'academ':633 'accur':551 'activ':148 'ad':262 'add':161,474,489 'allow':88 'also':216 'anoth':475 'anyon':601 'anyway':483 'app':143 'approach':315,448,541 'around':94,166 'autonomi':163 'back':289,339,352 'basic':121 'board':68,200,209 'buck/boost':107 'build':268 'built':93 'bunch':45 'chassi':642 'cheap':126,279 'cheapli':257 'check':527 'clear':625 'cloud':338,597 'combin':153 'commerci':8,17,35 'communic':140,581 'complex':572 'connector':183 'continu':307 'control':74,424,563,590 'convert':108 'correct':530 'could':566 'countrysid':57 'current':348,443 'd':58,236 'decid':25 'defin':519 'degre':296 'design':14,66,472 'develop':232 'didn':658 'differ':152 'direct':359 'disclaim':1 'distanc':362 'doesn':622 'driver':83,104 'e.g':283,542 'easi':414 'easier':504 'effect':255 'effici':582 'either':263 'elimin':585 'encod':192,371,452,514,546,606 'end':468 'engin':626 'enough':230,463,583 'estim':344 'even':543,568 'exercis':634 'expect':668 'experi':604 'fair':571 'fast':305,439 'feedback':561 'fi':73 'fix':204 'foolish':178 'forward':286,386,400,511 'full':265 'generat':169 'get':16,50,660 'give':110,394,549,558 'go':373,578 'goal':627 'godot':146 'good':560 'ground':225 'hack':213 'hand':499 'handl':320,419 'heard':457 'hello':155 'high':462 'hurt':375 'inaccur':470 'independ':81 'indic':664 'instruct':354,396,575 'jst':182 'lack':368 'laser':280,387 'later':208,648 'latter':314 'lean':311 'let':247 'lidar':266,271,299,330,540 'limit':270 'line':117 'littl':41,142 'll':202 'local':587 'locat':349 'lower':533 'm':158,239,380,421,442 'made':123 'make':39,579 'map':170 'may':24,49 'maze':172 'mcu':417,508 'mechan':464 'mechanum':77,459,607 'mention':19 'minim':336,644 'money':42 'most':122,631 'motion':90,649 'motor':82,103,150,186,189,276 'move':165,356,399,510 'multipl':425 'neat':52 'need':302,435,450,646 'new':199 'numer':663 'offer':611 'often':473 'omnidirect':89 'one':84,284,577 'order':198 'pain':196 'paper':657 'per':523 'photo':130 'pi':96 'pico':97 'pin':181 'plan':159,381,422 'plane':226 'point':285,337,384 'posit':250,481,528,552 'possibl':567 'practic':454 'pre':168 'pre-gener':167 'pretti':413 'probabl':38,203,363,502 'process':318 'product':9 'program':54 'project':621 'puls':515,522 'pure':539 'read':408,637,653 'realli':449 'receiv':138 'reduc':651 'remot':321 'request':324 'revis':210 'right':134,242 'rigid':641 'robot':75,249,327,333,346,426,432,594 'room':254 'rotari':191,370,451,513,545 'rout':218 'scale':556 'second':524 'send':334,351,569 'sensor':282,389,407 'seri':573 'server':323,342,430,588 'servo':275 'set':476 'sinc':297 'slippag':465,652 'sloppi':220 'small':554 'soic':100 'solv':171 'sometim':15 'specif':5 'speed':403,534,564 'stage':619 'static':402 'stem':53 'student':48 'super':438 'sweep':293,308,331 'system':112 'target':392 'tell':506 'test':234 'thing':12 'think':240,260 'though':235,495 'time':555 'tip':614 'tof':281,388 'ton':592 'toward':312,390 'track':482 'turn':397 'two':278 'udp':139 'univers':47 'unpow':478 'use':179,188,537,639 'various':11 've':65,456,636 'veloc':518 'voltage.vn':132 'voltage.vn/pictrs/image/bcdf7c0f-70f7-426d-9fef-d3d7191cf93e.jpeg)':131 'vps':598 'w':98 'want':28,487 'way':63,494,616 'weigh':30 'well':229 'whatev':600 'wheel':78,87,460,479,491,608 'whether':26,446 'wi':72 'wi-fi':71 'without':197 'wonder':444 'work':228 'world':156 'would':193,501 'written':144 'x':404,512 'y':409,521"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1693616717
    +visibility: "visible             "
    +apId: "https://voltage.vn/post/18974"
    +editedAt: DateTimeImmutable @1693550651 {#1850
      date: 2023-09-01 08:44:11.0 +02:00
    }
    +createdAt: DateTimeImmutable @1693550217 {#2420
      date: 2023-09-01 08:36:57.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4182
    +user: App\Entity\User {#4195 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Even though you add encoders on the wheels it’s still an open loop locomotion method, you need the room to have a feedback of the position on the plane/in the space"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1693906728 {#4177
      date: 2023-09-05 11:38:48.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Saigonauticon@voltage.vn"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4183 …}
    +nested: Doctrine\ORM\PersistentCollection {#4185 …}
    +votes: Doctrine\ORM\PersistentCollection {#4187 …}
    +reports: Doctrine\ORM\PersistentCollection {#4189 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4191 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4193 …}
    -id: 27587
    -bodyTs: "'add':4 'encod':5 'even':1 'feedback':24 'locomot':15 'loop':14 'method':16 'need':18 'open':13 'plane/in':30 'posit':27 'room':20 'space':32 'still':11 'though':2 'wheel':8"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/3015237"
    +editedAt: null
    +createdAt: DateTimeImmutable @1693561111 {#4178
      date: 2023-09-01 11:38:31.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4182}
  +body: "Yup. Agree. Probably going to go with a LiDAR-first approach."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1693906726 {#4267
    date: 2023-09-05 11:38:46.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Saigonauticon@voltage.vn"
    "@Sieguito@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4263 …}
  +nested: Doctrine\ORM\PersistentCollection {#4259 …}
  +votes: Doctrine\ORM\PersistentCollection {#4257 …}
  +reports: Doctrine\ORM\PersistentCollection {#4272 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4274 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4276 …}
  -id: 28064
  -bodyTs: "'agre':2 'approach':12 'first':11 'go':4,6 'lidar':10 'lidar-first':9 'probabl':3 'yup':1"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://voltage.vn/comment/212524"
  +editedAt: null
  +createdAt: DateTimeImmutable @1693906726 {#4270
    date: 2023-09-05 11:38:46.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
45 DENIED edit
App\Entity\Magazine {#266
  +icon: Proxies\__CG__\App\Entity\Image {#247 …}
  +name: "askelectronics@discuss.tchncs.de"
  +title: "askelectronics"
  +description: """
    **For questions about component-level electronic circuits, tools and equipment.**\n
    \n
    Rules\n
    -----\n
    \n
    1: Be nice.\n
    \n
    2: Be on-topic (eg: *Electronic*, not *electrical*).\n
    \n
    3: No commercial stuff, buying, selling or valuations.\n
    \n
    4: Be safe.\n
    \n
    ---
    """
  +rules: null
  +subscriptionsCount: 1
  +entryCount: 154
  +entryCommentCount: 1230
  +postCount: 1
  +postCommentCount: 4
  +isAdult: false
  +customCss: null
  +lastActive: DateTime @1729413608 {#276
    date: 2024-10-20 10:40:08.0 +02:00
  }
  +markedForDeletionAt: null
  +tags: null
  +moderators: Doctrine\ORM\PersistentCollection {#238 …}
  +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
  +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
  +entries: Doctrine\ORM\PersistentCollection {#181 …}
  +posts: Doctrine\ORM\PersistentCollection {#139 …}
  +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
  +bans: Doctrine\ORM\PersistentCollection {#118 …}
  +reports: Doctrine\ORM\PersistentCollection {#104 …}
  +badges: Doctrine\ORM\PersistentCollection {#82 …}
  +logs: Doctrine\ORM\PersistentCollection {#72 …}
  +awards: Doctrine\ORM\PersistentCollection {#61 …}
  +categories: Doctrine\ORM\PersistentCollection {#1820 …}
  -id: 11
  +apId: "askelectronics@discuss.tchncs.de"
  +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
  +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
  +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
  +apInboxUrl: "https://discuss.tchncs.de/inbox"
  +apDomain: "discuss.tchncs.de"
  +apPreferredUsername: "askelectronics"
  +apDiscoverable: true
  +apManuallyApprovesFollowers: null
  +privateKey: null
  +publicKey: null
  +apFetchedAt: DateTime @1727247714 {#270
    date: 2024-09-25 09:01:54.0 +02:00
  }
  +apDeletedAt: null
  +apTimeoutAt: null
  +visibility: "visible             "
  +createdAt: DateTimeImmutable @1687144409 {#272
    date: 2023-06-19 05:13:29.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS DENIED
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details