File tree Expand file tree Collapse file tree 4 files changed +14
-10
lines changed Expand file tree Collapse file tree 4 files changed +14
-10
lines changed Original file line number Diff line number Diff line change @@ -72,9 +72,9 @@ const int ENCODER_PIN = 2;
7272/* *
7373 * @brief Pins used to control the Motor
7474 */
75- const int FORWARD_PWM_PIN = 5 ;
76- const int REVERSE_PWM_PIN = 6 ;
77- const int ENABLE_PIN = A3 ;
75+ const int FORWARD_PWM_PIN = 9 ;
76+ const int REVERSE_PWM_PIN = 10 ;
77+ const int ENABLE_PIN = 7 ;
7878
7979/* *
8080 * @brief Float used to scale the Speed to
Original file line number Diff line number Diff line change 22 <!-- Define arguments and defaults -->
33 <arg name =" robot_addr" default =" localhost" />
44 <arg name =" robot_launch" default =" igvc.launch" />
5- <arg name =" controller_type" default =" 360 .yaml" />
5+ <arg name =" controller_type" default =" moga .yaml" />
66 <include file =" $(find control)/launch/$(arg robot_launch)" />
77
88 <!-- Connect to the specified master -->
2424 <node pkg =" control" type =" motor_controller_node" name =" motor_controller_node" />
2525
2626 <!-- Arduino Stuff -->
27- <node name =" arduino_right" pkg =" rosserial_python" type =" serial_node.py" args =" /dev/ttyACM0 " />
28- <node name =" arduino_left" pkg =" rosserial_python" type =" serial_node.py" args =" /dev/ttyACM1 " />
29- <node name =" arduino_conv" pkg =" rosserial_python" type =" serial_node.py" args =" /dev/ttyACM3 " />
30- <node name =" arduino_dump" pkg =" rosserial_python" type =" serial_node.py" args =" /dev/ttyACM4 " />
27+ <node name =" arduino_right" pkg =" rosserial_python" type =" serial_node.py" args =" /dev/ttyUSB1 " />
28+ <node name =" arduino_left" pkg =" rosserial_python" type =" serial_node.py" args =" /dev/ttyUSB0 " />
29+ <node name =" arduino_conv" pkg =" rosserial_python" type =" serial_node.py" args =" /dev/ttyUSB2 " />
30+ <node name =" arduino_dump" pkg =" rosserial_python" type =" serial_node.py" args =" /dev/ttyUSB3 " />
3131
3232 <!-- Sensing and mapping files -->
3333 <include file =" $(find control)/launch/slam.launch" />
Original file line number Diff line number Diff line change 1313# POWER_BUTTON: 8
1414# UP_DPAD: 13
1515# DOWN_DPAD: 14
16- # RIGHT_DPAD: 12
16+ # RIGHT_DPAD: 12sd
1717# LEFT_DPAD: 11
1818
1919
Original file line number Diff line number Diff line change @@ -13,11 +13,15 @@ controller_type: moga
1313
1414lin_vel_axis : 1
1515ang_vel_axis : 2
16-
16+ conveyor_speed_forward : 4
17+ conveyor_speed_back : 5
1718teleop_btn : 0
1819standby_btn : 1
1920
2021autonomous_btn : 3
2122speed_inc_btn : 5
2223speed_dec_btn : 4
2324turbo_btn : 2
25+
26+ actuator_up : 13
27+ actuator_down : 14
You can’t perform that action at this time.
0 commit comments