Operate MR-Buggy 3 using NavQPlus and FMURT6
07/2023
Last updated
07/2023
Last updated
This tutorial describes how to operate MR-Buggy 3 with Logitech Joystick using NavQPlus and FMURT6.
The synapse packages from CogniPilot are built on NavQPlus which will read input from the Joystick and send the appropriate commands to FMURT6 over ethernet.
The mrbuggy application in CogniPilot/cerebri running on FMURT6 takes commands from NavQPlus and sends operation signals to MR-Buggy 3 servo and motor controller.
S. No. | NAME | QUANTITY |
---|---|---|
Press "Power" Button.
Press "Output On/Off" Button.
Select "Voltage" from "Voltage/Current" Button.
Set the Voltage to 7.4 V from the "Tuning Nob."
Connect the output wires to XT60 M1 on buggy.
Unrestricted network connection
Ubuntu 22.04 on native machine
Setup ssh keys
Type "y" + "enter" when required.
Download and install Jlink from: https://www.segger.com/downloads/jlink/
If you get an error with "west flash," make sure J-Link EDU Mini is directly connected to your machine. If that doesn't work then unplug and re-plug the FMURT6 board.
Unrestricted network connection
Setup ssh keys
NavQ+ requires internet connection for the following setup. If an ethernet connection is not available, connect the board to the native ubuntu machine via ethernet and create a network bridge from wifi to ethernet on your machine.
username=user
password=user
Comment out both the interfaces listed in ~/CycloneDDSConfig.xml;
Since, ros2 commands block the shell, we will need two shells for the following.
If the TCP connection fails, reset FMURT6.
Set the Joystick to X-Input Mode (from the switch behind the controller).
Press the mode button such that the green light next to it is turned on.
Press green button A (0) to select manual mode.
Press start button (7) to arm in the selected mode.
Use vertical d-pad axis (1) for acceleration/reverse.
Use horizontal right-stick axis (3) for steering.
All controls: joy axes 1 is throttle, joy axes 3 is yaw/steering, button 7 is arm, button 6 is disarm, button 1 is mode manual, button 1 is mode auto, button 2 is mode cmd_vel.
1
1
2
1
3
1
4
1
5
4
6
1
7
1
8
1
9
1
10
1
11
1
12
1
13
USB-UART serial debugger
1
14
1
15
JST GH 1.25mm Pitch 2 Pin Cable (Female to Female)
1
16
JST GH 1.25mm Pitch 6 Pin Cable (Female to Female)
1