Skip to content

Commit

Permalink
[infra] drop kobuki_driver to the root dir
Browse files Browse the repository at this point in the history
Part of #31.
  • Loading branch information
stonier committed Aug 30, 2020
1 parent 2d97a0e commit 5d2b351
Show file tree
Hide file tree
Showing 81 changed files with 105 additions and 407 deletions.
98 changes: 44 additions & 54 deletions kobuki_driver/.cproject → .cproject
Original file line number Diff line number Diff line change
Expand Up @@ -3,61 +3,69 @@

<storageModule moduleId="org.eclipse.cdt.core.settings">

<cconfiguration id="cdt.managedbuild.toolchain.gnu.base.1908515577">
<cconfiguration id="cdt.managedbuild.toolchain.gnu.base.1582380859">

<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="cdt.managedbuild.toolchain.gnu.base.1908515577" moduleId="org.eclipse.cdt.core.settings" name="Default">
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="cdt.managedbuild.toolchain.gnu.base.1582380859" moduleId="org.eclipse.cdt.core.settings" name="Default">

<externalSettings/>

<extensions>

<extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>
<extension id="org.eclipse.cdt.core.GNU_ELF" point="org.eclipse.cdt.core.BinaryParser"/>

<extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>

<extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>

<extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>

<extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>

<extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>

<extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>

<extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>

</extensions>

</storageModule>

<storageModule moduleId="cdtBuildSystem" version="4.0.0">

<configuration artifactName="${ProjName}" buildProperties="" description="" id="cdt.managedbuild.toolchain.gnu.base.1908515577" name="Default" optionalBuildProperties="" parent="org.eclipse.cdt.build.core.emptycfg">
<configuration buildProperties="" description="" id="cdt.managedbuild.toolchain.gnu.base.1582380859" name="Default" optionalBuildProperties="" parent="org.eclipse.cdt.build.core.emptycfg">

<folderInfo id="cdt.managedbuild.toolchain.gnu.base.1908515577.2045963980" name="/" resourcePath="">
<folderInfo id="cdt.managedbuild.toolchain.gnu.base.1582380859.2094001291" name="/" resourcePath="">

<toolChain id="cdt.managedbuild.toolchain.gnu.base.516648825" name="cdt.managedbuild.toolchain.gnu.base" superClass="cdt.managedbuild.toolchain.gnu.base">
<toolChain id="cdt.managedbuild.toolchain.gnu.base.1431903806" name="Linux GCC" superClass="cdt.managedbuild.toolchain.gnu.base">

<targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.ELF" id="cdt.managedbuild.target.gnu.platform.base.2019461169" name="Debug Platform" osList="linux,hpux,aix,qnx" superClass="cdt.managedbuild.target.gnu.platform.base"/>
<targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.GNU_ELF" id="cdt.managedbuild.target.gnu.platform.base.2061193780" name="Debug Platform" osList="linux,hpux,aix,qnx" superClass="cdt.managedbuild.target.gnu.platform.base"/>

<builder arguments="-j8" buildPath="${workspace_loc:/kobuki_driver}/../../../build/${ProjName}" command="make" id="cdt.managedbuild.target.gnu.builder.base.218695358" keepEnvironmentInBuildfile="false" managedBuildOn="false" name="Gnu Make Builder" superClass="cdt.managedbuild.target.gnu.builder.base"/>
<builder autoBuildTarget="all" buildPath="${workspace_loc:/${ProjName}}/../../build/kobuki_driver" cleanBuildTarget="clean" enableAutoBuild="false" enableCleanBuild="true" enabledIncrementalBuild="true" id="cdt.managedbuild.target.gnu.builder.base.1391071744" incrementalBuildTarget="all" keepEnvironmentInBuildfile="false" managedBuildOn="false" name="Gnu Make Builder" parallelBuildOn="true" parallelizationNumber="optimal" superClass="cdt.managedbuild.target.gnu.builder.base">

<outputEntries>

<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="outputPath" name=""/>

</outputEntries>

</builder>

<tool id="cdt.managedbuild.tool.gnu.archiver.base.1646818625" name="GCC Archiver" superClass="cdt.managedbuild.tool.gnu.archiver.base"/>
<tool id="cdt.managedbuild.tool.gnu.archiver.base.111288362" name="GCC Archiver" superClass="cdt.managedbuild.tool.gnu.archiver.base"/>

<tool id="cdt.managedbuild.tool.gnu.cpp.compiler.base.1995178448" name="GCC C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.base">
<tool id="cdt.managedbuild.tool.gnu.cpp.compiler.base.1488217284" name="GCC C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.base">

<inputType id="cdt.managedbuild.tool.gnu.cpp.compiler.input.568460901" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.input"/>
<inputType id="cdt.managedbuild.tool.gnu.cpp.compiler.input.477069575" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.input"/>

</tool>

<tool id="cdt.managedbuild.tool.gnu.c.compiler.base.703884201" name="GCC C Compiler" superClass="cdt.managedbuild.tool.gnu.c.compiler.base">
<tool id="cdt.managedbuild.tool.gnu.c.compiler.base.1669580725" name="GCC C Compiler" superClass="cdt.managedbuild.tool.gnu.c.compiler.base">

<inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.1746620293" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/>
<inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.1242602457" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/>

</tool>

<tool id="cdt.managedbuild.tool.gnu.c.linker.base.333674676" name="GCC C Linker" superClass="cdt.managedbuild.tool.gnu.c.linker.base"/>
<tool id="cdt.managedbuild.tool.gnu.c.linker.base.1574707318" name="GCC C Linker" superClass="cdt.managedbuild.tool.gnu.c.linker.base"/>

<tool id="cdt.managedbuild.tool.gnu.cpp.linker.base.1212077630" name="GCC C++ Linker" superClass="cdt.managedbuild.tool.gnu.cpp.linker.base">
<tool id="cdt.managedbuild.tool.gnu.cpp.linker.base.775949111" name="GCC C++ Linker" superClass="cdt.managedbuild.tool.gnu.cpp.linker.base">

<inputType id="cdt.managedbuild.tool.gnu.cpp.linker.input.579530449" superClass="cdt.managedbuild.tool.gnu.cpp.linker.input">
<inputType id="cdt.managedbuild.tool.gnu.cpp.linker.input.470293571" superClass="cdt.managedbuild.tool.gnu.cpp.linker.input">

<additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>

Expand All @@ -67,9 +75,9 @@

</tool>

<tool id="cdt.managedbuild.tool.gnu.assembler.base.127078005" name="GCC Assembler" superClass="cdt.managedbuild.tool.gnu.assembler.base">
<tool id="cdt.managedbuild.tool.gnu.assembler.base.762610551" name="GCC Assembler" superClass="cdt.managedbuild.tool.gnu.assembler.base">

<inputType id="cdt.managedbuild.tool.gnu.assembler.input.986480899" superClass="cdt.managedbuild.tool.gnu.assembler.input"/>
<inputType id="cdt.managedbuild.tool.gnu.assembler.input.873014414" superClass="cdt.managedbuild.tool.gnu.assembler.input"/>

</tool>

Expand All @@ -79,13 +87,9 @@

<sourceEntries>

<entry flags="VALUE_WORKSPACE_PATH" kind="sourcePath" name="include/kobuki_driver"/>

<entry flags="VALUE_WORKSPACE_PATH" kind="sourcePath" name="src/demos"/>

<entry flags="VALUE_WORKSPACE_PATH" kind="sourcePath" name="src/driver"/>
<entry flags="VALUE_WORKSPACE_PATH" kind="sourcePath" name="include"/>

<entry flags="VALUE_WORKSPACE_PATH" kind="sourcePath" name="src/tools"/>
<entry flags="VALUE_WORKSPACE_PATH" kind="sourcePath" name="src"/>

</sourceEntries>

Expand All @@ -101,15 +105,17 @@

<storageModule moduleId="cdtBuildSystem" version="4.0.0">

<project id="kobuki_driver.null.1166863124" name="kobuki_driver"/>
<project id="kobuki_core.null.734110798" name="kobuki_core"/>

</storageModule>

<storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/>

<storageModule moduleId="refreshScope" versionNumber="2">

<configuration configurationName="Default">

<resource resourceType="PROJECT" workspacePath="/kobuki_driver"/>
<resource resourceType="PROJECT" workspacePath="/kobuki_core"/>

</configuration>

Expand All @@ -119,47 +125,31 @@

<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>

<scannerConfigBuildInfo instanceId="cdt.managedbuild.toolchain.gnu.base.1908515577;cdt.managedbuild.toolchain.gnu.base.1908515577.2045963980;cdt.managedbuild.tool.gnu.cpp.compiler.base.1995178448;cdt.managedbuild.tool.gnu.cpp.compiler.input.568460901">
<scannerConfigBuildInfo instanceId="cdt.managedbuild.toolchain.gnu.base.1582380859;cdt.managedbuild.toolchain.gnu.base.1582380859.2094001291;cdt.managedbuild.tool.gnu.c.compiler.base.1669580725;cdt.managedbuild.tool.gnu.c.compiler.input.1242602457">

<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP"/>
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>

</scannerConfigBuildInfo>

<scannerConfigBuildInfo instanceId="cdt.managedbuild.toolchain.gnu.base.1767310456;cdt.managedbuild.toolchain.gnu.base.1767310456.1937711160;cdt.managedbuild.tool.gnu.cpp.compiler.base.1452674416;cdt.managedbuild.tool.gnu.cpp.compiler.input.229968824">
<scannerConfigBuildInfo instanceId="cdt.managedbuild.toolchain.gnu.base.1582380859;cdt.managedbuild.toolchain.gnu.base.1582380859.2094001291;cdt.managedbuild.tool.gnu.cpp.compiler.base.1488217284;cdt.managedbuild.tool.gnu.cpp.compiler.input.477069575">

<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP"/>

</scannerConfigBuildInfo>

<scannerConfigBuildInfo instanceId="cdt.managedbuild.toolchain.gnu.base.1767310456;cdt.managedbuild.toolchain.gnu.base.1767310456.1937711160;cdt.managedbuild.tool.gnu.c.compiler.base.1537405891;cdt.managedbuild.tool.gnu.c.compiler.input.1867078316">

<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC"/>

</scannerConfigBuildInfo>

<scannerConfigBuildInfo instanceId="cdt.managedbuild.toolchain.gnu.base.1908515577;cdt.managedbuild.toolchain.gnu.base.1908515577.2045963980;cdt.managedbuild.tool.gnu.c.compiler.base.703884201;cdt.managedbuild.tool.gnu.c.compiler.input.1746620293">

<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC"/>
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>

</scannerConfigBuildInfo>

</storageModule>

<storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/>

<storageModule moduleId="org.eclipse.cdt.internal.ui.text.commentOwnerProjectMappings"/>

<storageModule moduleId="org.eclipse.cdt.make.core.buildtargets">

<buildTargets>

<target name="clean" path="" targetID="org.eclipse.cdt.build.MakeTargetBuilder">
<target name="all" path="" targetID="org.eclipse.cdt.build.MakeTargetBuilder">

<buildCommand>make</buildCommand>

<buildArguments>-j8</buildArguments>

<buildTarget>clean</buildTarget>
<buildTarget>all</buildTarget>

<stopOnError>true</stopOnError>

Expand All @@ -169,13 +159,13 @@

</target>

<target name="all" path="" targetID="org.eclipse.cdt.build.MakeTargetBuilder">
<target name="clean" path="" targetID="org.eclipse.cdt.build.MakeTargetBuilder">

<buildCommand>make</buildCommand>

<buildArguments>-j8</buildArguments>

<buildTarget>all</buildTarget>
<buildTarget>clean</buildTarget>

<stopOnError>true</stopOnError>

Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/doc/generated
.settings
build/
bin/
Expand Down
27 changes: 27 additions & 0 deletions .project
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>kobuki_core</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
<triggers>clean,full,incremental,</triggers>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name>
<triggers>full,incremental,</triggers>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.cdt.core.cnature</nature>
<nature>org.eclipse.cdt.core.ccnature</nature>
<nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
<nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
</natures>
</projectDescription>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
33 changes: 33 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,36 @@ The Kobuki Core stack consists of pure c++ libraries and utilities for working w
* For legacy kobuki core support (circa 2020), refer to [yujinrobot/kobuki_core/README.md](https://github.com/yujinrobot/kobuki_core/blob/melodic/README.markdown)


Kobuki Driver
=============

[[Preparing the Connection](#preparing-the-connection)]

This package provides pure c++ libraries for connecting to and building your own programs for the Kobuki.

## Preparing The Connection

Kobuki's connection is via an FTDI USB-Serial converter ([FT232R](http://www.ftdichip.com/Products/ICs/FT232R.htm)). For this to be functional:

1. The kernel must have loaded or built in the [ftdi_sio](http://ftdi-usb-sio.sourceforge.net/) module. On most linux systems, e.g. Ubuntu, this comes by default. In contrast, for most embedded systems, you'll need to flag this when building your kernel.
2. (Optional) Install the udev rule so that your Kobuki shows up on `/dev/kobuki`. If you have installed via deb, it will have installed this rule for you. Otherwise, download these sources and:

```
> sudo cp 60-kobuki.rules /etc/udev/rules.d
> sudo service udev reload
> sudo service udev restart
```

3. Ensure you are in the correct group. You can discover this by tracing back from `/dev/kobuki`:

```
> ls -l /dev/kobuki
lrwxrwxrwx 1 root root 7 Jan 14 22:17 /dev/kobuki -> ttyUSB0
> ls - l /dev/ttyUSB0
crw-rw-rw- 1 root dialout 188, 0 Jan 14 22:17 /dev/ttyUSB0
> sudo addgroup $(USER) dialout
```

To troubleshoot further, refer to [kobuki_ftdi/README.md](https://github.com/kobuki-base/kobuki_ftdi/blob/devel/README.md).


File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
5 changes: 0 additions & 5 deletions kobuki_driver/.gitignore

This file was deleted.

Loading

0 comments on commit 5d2b351

Please sign in to comment.